|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfreemarker.template.utility.DateUtil.TrivialDateToISO8601CalendarFactory
public static final class DateUtil.TrivialDateToISO8601CalendarFactory
Non-thread-safe factory that hard-references a calendar internally.
| Constructor Summary | |
|---|---|
DateUtil.TrivialDateToISO8601CalendarFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateUtil.TrivialDateToISO8601CalendarFactory()
| Method Detail |
|---|
public java.util.GregorianCalendar get(java.util.TimeZone tz,
java.util.Date date)
DateUtil.DateToISO8601CalendarFactoryGregorianCalendar with the desired time zone and
time and US locale. The returned calendar is used as read-only.
It's 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||