|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.util.ISO8601DateFormat
public class ISO8601DateFormat
Formatting support for ISO 8601 dates
sYYYY-MM-DDThh:mm:ss.sssTZD
where:
| Constructor Summary | |
|---|---|
ISO8601DateFormat()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
format(java.util.Date isoDate)
Format date into ISO format |
static java.util.Date |
parse(java.lang.String isoDate)
Parse date from ISO formatted string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISO8601DateFormat()
| Method Detail |
|---|
public static java.lang.String format(java.util.Date isoDate)
isoDate - the date to format
public static java.util.Date parse(java.lang.String isoDate)
isoDate - ISO string to parse
AlfrescoRuntimeException - if the parse failed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||