code: public static WeekFields of(Locale locale) {
          Jdk8Methods.requireNonNull(locale, "locale");
          locale = new Locale(locale.getLanguage(), locale.getCountry());  // elminate variants
  
          // obtain these from GregorianCalendar for now
          GregorianCalendar gcal = new GregorianCalendar(locale);
          int calDow = gcal.getFirstDayOfWeek();
          DayOfWeek dow = DayOfWeek.SUNDAY.plus(calDow - 1);
          int minDays = gcal.getMinimalDaysInFirstWeek();
          return WeekFields.of(dow, minDays);
      }
docs: Obtains an instance of {@code WeekFields} appropriate for a locale.
  <p>
  This will look up appropriate values from the provider of localization data.
  
  @param locale  the locale to use, not null
  @return the week-definition, not null