Package eu.europa.esig.dss.policy
Class DateUtils
- java.lang.Object
-
- eu.europa.esig.dss.policy.DateUtils
-
public final class DateUtils extends Object
-
-
Field Detail
-
DEFAULT_DATE_FORMAT
public static final String DEFAULT_DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseDate
public static Date parseDate(String format, String dateString)
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 theDSSExceptionis thrown.
-
-