Class DateUtils


  • public class DateUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String format​(java.util.Date input)
      Use the simple date formatter to convert the Date into a String
      static java.lang.String getDateFormatMask()
      Check for the system property override, if it exists
      static java.util.Date getRightDate​(java.lang.Object object2)
      Converts the right hand side date as appropriate
      static java.util.Date parseDate​(java.lang.String input)
      Use the simple date formatter to read the date from a string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseDate

        public static java.util.Date parseDate​(java.lang.String input)
        Use the simple date formatter to read the date from a string
      • format

        public static java.lang.String format​(java.util.Date input)
        Use the simple date formatter to convert the Date into a String
      • getRightDate

        public static java.util.Date getRightDate​(java.lang.Object object2)
        Converts the right hand side date as appropriate
      • getDateFormatMask

        public static java.lang.String getDateFormatMask()
        Check for the system property override, if it exists