This commit is contained in:
Looly
2020-12-07 19:13:46 +08:00
parent ea070bf83e
commit 04a3250708
2 changed files with 4 additions and 4 deletions

View File

@@ -1339,8 +1339,8 @@ public class DateUtil extends CalendarUtil {
* <pre>
* 有时候我们计算相差天数的时候需要忽略时分秒。
* 比如2016-02-01 23:59:59和2016-02-02 00:00:00相差一秒
* 如果isReset为<code>false</code>相差天数为0。
* 如果isReset为<code>true</code>相差天数将被计算为1
* 如果isReset为{@code false}相差天数为0。
* 如果isReset为{@code true}相差天数将被计算为1
* </pre>
*
* @param beginDate 起始日期