DateUtil.DateToISO8601CalendarFactory (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.template.utility, class: DateUtil, interface: DateToISO8601CalendarFactory

Package freemarker.template.utility

# Interface DateUtil.DateToISO8601CalendarFactory

All Known Implementing Classes:
  `DateUtil.TrivialDateToISO8601CalendarFactory`

Enclosing class:
  DateUtil

public static interface DateUtil.DateToISO8601CalendarFactory
Used internally by `DateUtil`; don't use its implementations for anything else.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GregorianCalendar`
  `get​(TimeZone tz, Date date)`
  Returns a `GregorianCalendar` with the desired time zone and time and US locale.

- ## Method Details

  - ### get

    GregorianCalendar get​(TimeZone tz, Date date)
    Returns a `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.