|
xmlgraphics-commons 2.3 | |||||||||
| 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 java.lang.String |
formatISO8601(java.util.Date date,
java.util.TimeZone timeZone)
Formats the date according to ISO 8601 standard. |
static java.lang.String |
formatPDFDate(java.util.Date date,
java.util.TimeZone timeZone)
Formats the date according to PDF format. |
static java.util.Date |
parseISO8601Date(java.lang.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 java.lang.String formatPDFDate(java.util.Date date,
java.util.TimeZone timeZone)
date - The date time to formattimeZone - The time zone used to format the date
public static java.lang.String formatISO8601(java.util.Date date,
java.util.TimeZone timeZone)
date - The date time to formattimeZone - The time zone used to format the date
public static java.util.Date parseISO8601Date(java.lang.String date)
date - the date and time value as an ISO 8601 string
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||