Package org.nuxeo.ecm.core.schema.utils
Class DateParser
java.lang.Object
org.nuxeo.ecm.core.schema.utils.DateParser
Parse / format ISO 8601 dates.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatW3CDateTime
(Calendar calendar) 2011-10-23T12:00:00.000Zstatic String
formatW3CDateTime
(Date date) 2011-10-23T12:00:00.000Zstatic Calendar
static Date
parseW3CDateTime
(String str)
-
Field Details
-
W3C_DATE_FORMAT
- Since:
- 8.2
- See Also:
-
-
Constructor Details
-
DateParser
public DateParser()
-
-
Method Details
-
parse
- Throws:
ParseException
-
parseW3CDateTime
-
formatW3CDateTime
2011-10-23T12:00:00.000Z -
formatW3CDateTime
2011-10-23T12:00:00.000Z- Since:
- 7.3
-