Class DateUtil

java.lang.Object
com.kheops.util.DateUtil

public class DateUtil extends Object
  • Constructor Details

    • DateUtil

      public DateUtil()
  • Method Details

    • getFormattedDate

      public static String getFormattedDate(Calendar cal)
    • parseDate

      public static long parseDate(String date) throws Exception
      This method parses a date and returns the corresponding value in ms.
      Parameters:
      date - the String representation of a Date
      Returns:
      a date in ms.
      Throws:
      Exception - if an error occurs while parsing the specified date.