| Package | Description | 
|---|---|
| java.time.temporal | 
 Access to date and time using fields and units, and date time adjusters. | 
| Modifier and Type | Field and Description | 
|---|---|
| static WeekFields | WeekFields. ISOThe ISO-8601 definition, where a week starts on Monday and the first week
 has a minimum of 4 days. | 
| static WeekFields | WeekFields. SUNDAY_STARTThe common definition of a week that starts on Sunday and the first week
 has a minimum of 1 day. | 
| Modifier and Type | Method and Description | 
|---|---|
| static WeekFields | WeekFields. of(DayOfWeek firstDayOfWeek,
  int minimalDaysInFirstWeek)Obtains an instance of  WeekFieldsfrom the first day-of-week and minimal days. | 
| static WeekFields | WeekFields. of(Locale locale)Obtains an instance of  WeekFieldsappropriate for a locale. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.