mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix firstday
This commit is contained in:
@@ -1040,6 +1040,9 @@ public class DateTime extends Date {
|
|||||||
if (null == calendar) {
|
if (null == calendar) {
|
||||||
throw new DateException("Parse [{}] with format [{}] error!", dateStr, parser.getPattern());
|
throw new DateException("Parse [{}] with format [{}] error!", dateStr, parser.getPattern());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//noinspection MagicConstant
|
||||||
|
calendar.setFirstDayOfWeek(Week.MONDAY.getValue());
|
||||||
return calendar;
|
return calendar;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user