Package Summary  Overview Summary

method:getInstance() [CHANGED]

  • getInstance

    public static Calendar getInstance()
    Gets a calendar using the default time zone and locale. The Calendar returned is based on the current time in the default time zone with the default FORMAT locale.

    If the locale contains the time zone with "tz" Unicode extension , that time zone is used instead.

    Returns:
    a Calendar.
  • getInstance

    public static Calendar getInstance()
    Gets a calendar using the default time zone and locale. The Calendar returned is based on the current time in the default time zone with the default FORMAT locale.
    Returns:
    a Calendar.
  • getInstance

    public static Calendar getInstance()
    Gets a calendar using the default time zone and locale. The Calendar returned is based on the current time in the default time zone with the default FORMAT locale.

    If the locale contains the time zone with "tz" Unicode extension , that time zone is used instead.

    Returns:
    a Calendar.

method:getInstance(java.util.Locale) [CHANGED]

  • getInstance

    public static Calendar getInstance​(Locale aLocale)
    Gets a calendar using the default time zone and specified locale. The Calendar returned is based on the current time in the default time zone with the given locale.

    If the locale contains the time zone with "tz" Unicode extension , that time zone is used instead.

    Parameters:
    aLocale - the locale for the week data
    Returns:
    a Calendar.
  • getInstance

    public static Calendar getInstance​(Locale aLocale)
    Gets a calendar using the default time zone and specified locale. The Calendar returned is based on the current time in the default time zone with the given locale.
    Parameters:
    aLocale - the locale for the week data
    Returns:
    a Calendar.
  • getInstance

    public static Calendar getInstance​(Locale aLocale)
    Gets a calendar using the default time zone and specified locale. The Calendar returned is based on the current time in the default time zone with the given locale.

    If the locale contains the time zone with "tz" Unicode extension , that time zone is used instead.

    Parameters:
    aLocale - the locale for the week data
    Returns:
    a Calendar.