WeekFields.of

Obtains an instance of {@code WeekFields} appropriate for a locale. !(p) This will look up appropriate values from the provider of localization data. If the locale contains "fw" (First day of week) and/or "rg" (Region Override) <a href="../../util/Locale.html#def_locale_extension"> Unicode extensions</a>, returned instance will reflect the values specified with those extensions. If both "fw" and "rg" are specified, the value from the "fw" extension supersedes the implicit one from the "rg" extension.

@param locale the locale to use, not null @return the week-definition, not null

  1. WeekFields of(Locale locale)
    class WeekFields
    static
    of
    (
    Locale locale
    )
  2. WeekFields of(DayOfWeek firstDayOfWeek, int minimalDaysInFirstWeek)

Meta