|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.util.DateFormatUtil
public final class DateFormatUtil
Method Summary | |
---|---|
static String |
formatISO8601(Date date,
TimeZone timeZone)
Formats the date according to ISO 8601 standard. |
static String |
formatPDFDate(Date date,
TimeZone timeZone)
Formats the date according to PDF format. |
static Date |
parseISO8601Date(String date)
Parses an ISO 8601 date and time value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String formatPDFDate(Date date, TimeZone timeZone)
date
- The date time to formattimeZone
- The time zone used to format the date
public static String formatISO8601(Date date, TimeZone timeZone)
date
- The date time to formattimeZone
- The time zone used to format the date
public static Date parseISO8601Date(String date)
date
- the date and time value as an ISO 8601 string
|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |