From 31e1c4fc5b605581fc97f713826f5c749a0d787a Mon Sep 17 00:00:00 2001 From: luozukai Date: Sat, 22 Jun 2019 00:43:08 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E4=B8=9A=E5=90=88=E5=90=8C]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mallinkService/src/main/java/com/iformall/utils/DateUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/utils/DateUtils.java b/mallinkService/src/main/java/com/iformall/utils/DateUtils.java index a88002166..1cb074406 100755 --- a/mallinkService/src/main/java/com/iformall/utils/DateUtils.java +++ b/mallinkService/src/main/java/com/iformall/utils/DateUtils.java @@ -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);