Package eu.europa.esig.dss.policy
Class DateUtils
java.lang.Object
eu.europa.esig.dss.policy.DateUtils
Contains utils to parse a date
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_DATE_FORMAT
The default date format- See Also:
-
-
Method Details
-
parseDate
Converts the given string representation of the date using the format pattern.- Parameters:
format
- the format to usedateString
- the date string representation- Returns:
- the
Date
- Throws:
IllegalArgumentException
- if the conversion is not possible theDSSException
is thrown.
-