Package com.kheops.util
Class DateUtil
java.lang.Object
com.kheops.util.DateUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFormattedDate
(Calendar cal) static long
This method parses a date and returns the corresponding value in ms.
-
Constructor Details
-
DateUtil
public DateUtil()
-
-
Method Details
-
getFormattedDate
-
parseDate
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.
-