Skip to content

Commit

Permalink
Change methods
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyu committed Feb 4, 2025
1 parent 26ee66d commit 00016a9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5529,7 +5529,6 @@ public static String dayNameWithDate(int date, Locale locale) {
*/
public static @Nullable Integer weekOfYear(String date) {
GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC"), Locale.ROOT);
calendar.setGregorianChange(new Date(Long.MIN_VALUE));
calendar.setFirstDayOfWeek(Calendar.MONDAY);
calendar.setMinimalDaysInFirstWeek(4);
try {
Expand Down

0 comments on commit 00016a9

Please sign in to comment.