firstWeekOfYear

Type: Integer

The firstWeekOfYear property of the DateFormat class contains the week that is considered the first week of the year in the locale. The firstWeekOfYear property values are listed in the following table.

Value Class Constant Description
0 WeekOfJan1 Week containing the first day of the first month
1 FirstWeekAfterJan1 First full week following the first day of the first month
2 FirstWeekWith4Days First week containing at least four days