mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix firstday
This commit is contained in:
parent
0ff44155c7
commit
aaaf2b7f03
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user