|
|
|
@@ -1105,7 +1105,7 @@ public class DateUtils { |
|
|
|
LocalDate end = localDateTime.toLocalDate(); |
|
|
|
|
|
|
|
if (!start.isBefore(end)) { |
|
|
|
throw new IllegalArgumentException("Start must not be before end."); |
|
|
|
throw new IllegalArgumentException("日期不正确,请检查。"); |
|
|
|
} |
|
|
|
|
|
|
|
Period period = Period.between(start, end); |
|
|
|
|