DateUtil.DateToISO8601CalendarFactory
public static final class DateUtil.TrivialDateToISO8601CalendarFactory extends java.lang.Object implements DateUtil.DateToISO8601CalendarFactory
Constructor | Description |
---|---|
TrivialDateToISO8601CalendarFactory() |
Modifier and Type | Method | Description |
---|---|---|
java.util.GregorianCalendar |
get(java.util.TimeZone tz,
java.util.Date date) |
Returns a
GregorianCalendar with the desired time zone and
time and US locale. |
public TrivialDateToISO8601CalendarFactory()
public java.util.GregorianCalendar get(java.util.TimeZone tz, java.util.Date date)
DateUtil.DateToISO8601CalendarFactory
GregorianCalendar
with the desired time zone and
time and US locale. The returned calendar is used as read-only.
It must be guaranteed that within a thread the instance returned last time
is not in use anymore when this method is called again.get
in interface DateUtil.DateToISO8601CalendarFactory