程序包 dev.utils.common

接口 CalendarUtils.FestivalHook

  • 封闭类:
    CalendarUtils

    public static interface CalendarUtils.FestivalHook
    detail: 节日 Hook 接口
    作者:
    Ttt
         主要用于特殊节日判断, 如 除夕 非确定天数无法直接进行添加
     
    • 方法详细资料

      • hook

        CalendarUtils.Festival hook​(CalendarUtils.Festival festival,
                                    int year,
                                    int month,
                                    int day)
        节日 hook 判断
        参数:
        festival - 节日信息
        year - 年份
        month - 月份
        day - 天数
        返回:
        如果特殊判断成功则返回节日