Package | Description |
---|---|
freemarker.template.utility |
Various classes used by core FreeMarker code but might be useful outside of it too.
|
Modifier and Type | Class and Description |
---|---|
static class |
DateUtil.TrivialDateToISO8601CalendarFactory
Non-thread-safe factory that hard-references a calendar internally.
|
Modifier and Type | Method and Description |
---|---|
static String |
DateUtil.dateToISO8601String(Date date,
boolean datePart,
boolean timePart,
boolean offsetPart,
int accuracy,
TimeZone timeZone,
DateUtil.DateToISO8601CalendarFactory calendarFactory)
Format a date, time or dateTime with one of the ISO 8601 extended
formats that is also compatible with the XML Schema format (as far as you
don't have dates in the BC era).
|
static String |
DateUtil.dateToXSString(Date date,
boolean datePart,
boolean timePart,
boolean offsetPart,
int accuracy,
TimeZone timeZone,
DateUtil.DateToISO8601CalendarFactory calendarFactory)
Same as
DateUtil.dateToISO8601String(java.util.Date, boolean, boolean, boolean, int, java.util.TimeZone, freemarker.template.utility.DateUtil.DateToISO8601CalendarFactory) , but gives XML Schema compliant format. |