From 56cb0636d0c2e5cee4e1e4e38762dff772c80ac5 Mon Sep 17 00:00:00 2001 From: Ttt <13798405957@163.com> Date: Sat, 26 Sep 2020 23:33:36 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9B=B4=E6=96=B0=20CalendarUtils=20?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: caa3d705d53437c20549b0ea62d824709ce0a8b0 Former-commit-id: 18f7c420347e6e282c8c6560566bc30b6cfb7398 --- .../main/java/dev/utils/common/CalendarUtils.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/DevApp/src/main/java/dev/utils/common/CalendarUtils.java b/lib/DevApp/src/main/java/dev/utils/common/CalendarUtils.java index 0da0bfd761..23866329f6 100644 --- a/lib/DevApp/src/main/java/dev/utils/common/CalendarUtils.java +++ b/lib/DevApp/src/main/java/dev/utils/common/CalendarUtils.java @@ -306,7 +306,7 @@ public static boolean isFestival(final Festival festival, final int year, final * @param year 年份 * @param month 月份 * @param day 天数 - * @param festivalHook 节日 Hook 处理接口 + * @param festivalHook 节日 Hook 接口 * @return {@code true} yes, {@code false} no */ public static boolean isFestival(final Festival festival, final int year, final int month, @@ -339,7 +339,7 @@ public static Festival getFestival(final List list, final int year, fi * @param year 年份 * @param month 月份 * @param day 天数 - * @param festivalHook 节日 Hook 处理接口 + * @param festivalHook 节日 Hook 接口 * @return {@link Festival} */ public static Festival getFestival(final List list, final int year, final int month, @@ -858,7 +858,7 @@ public String toString() { // = 接口 = // ======== - // 节日 Hook 处理接口 + // 节日 Hook 接口 private static FestivalHook sFestivalHook = new FestivalHook() { @Override public Festival hook(Festival festival, int year, int month, int day) { @@ -921,7 +921,7 @@ public Festival hook(Festival festival, int year, int month, int day) { }; /** - * detail: 节日 Hook + * detail: 节日 Hook 接口 * @author Ttt *
      *     主要用于特殊节日判断, 如 除夕 非确定天数无法直接进行添加
@@ -930,7 +930,7 @@ public Festival hook(Festival festival, int year, int month, int day) {
     public interface FestivalHook {
 
         /**
-         * 节日判断 hook 处理
+         * 节日 hook 判断
          * @param festival 节日信息
          * @param year     年份
          * @param month    月份
@@ -941,7 +941,7 @@ public interface FestivalHook {
     }
 
     /**
-     * 获取节日 Hook 处理接口
+     * 获取节日 Hook 接口
      * @return {@link FestivalHook}
      */
     public static FestivalHook getFestivalHook() {
@@ -949,7 +949,7 @@ public static FestivalHook getFestivalHook() {
     }
 
     /**
-     * 设置节日 Hook 处理
+     * 设置节日 Hook 接口
      * @param festivalHook {@link FestivalHook}
      */
     public static void setFestivalHook(final FestivalHook festivalHook) {