public static final class DateUtil.TrivialDateToISO8601CalendarFactory extends Object implements DateUtil.DateToISO8601CalendarFactory
Constructor and Description |
---|
TrivialDateToISO8601CalendarFactory() |
Modifier and Type | Method and Description |
---|---|
GregorianCalendar |
get(TimeZone tz,
Date date)
Returns a
GregorianCalendar with the desired time zone and
time and US locale. |
public GregorianCalendar get(TimeZone tz, 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