public class DateUtilForWorkDay extends Object
| 构造器和说明 |
|---|
DateUtilForWorkDay() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Date |
getNextWorkDay(Date date,
int num,
List<String> holidayList,
List<String> workdayList) |
static Date |
getTomorrow(Date date) |
static boolean |
isExtraWorkday(String calendar,
List<String> workdayList) |
static boolean |
isHoliday(String calendar,
List<String> holidayList,
List<String> workdayList) |
static boolean |
isLawHoliday(String calendar,
List<String> holidayList) |
static boolean |
isWeekends(String calendar) |
public static boolean isLawHoliday(String calendar, List<String> holidayList) throws Exception
calendar - 打印数据传参Exceptionpublic static boolean isWeekends(String calendar) throws Exception
calendar - 打印数据传参Exceptionpublic static boolean isExtraWorkday(String calendar, List<String> workdayList) throws Exception
calendar - 打印数据传参Exceptionpublic static boolean isHoliday(String calendar, List<String> holidayList, List<String> workdayList) throws Exception
calendar - 打印数据传参Exceptionpublic static Date getNextWorkDay(Date date, int num, List<String> holidayList, List<String> workdayList) throws Exception
ExceptionCopyright © 2020 GTMAP. All rights reserved.