Class DateUtils
java.lang.Object
io.github.projectunified.cronutils.utils.DateUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic intworkdaysCount(ZonedDateTime startDate, int days, List<ZonedDateTime> holidays, WeekendPolicy weekendPolicy) static intworkdaysCount(ZonedDateTime startDate, ZonedDateTime endDate, List<ZonedDateTime> holidays, WeekendPolicy weekendPolicy)
-
Method Details
-
workdaysCount
public static int workdaysCount(ZonedDateTime startDate, int days, List<ZonedDateTime> holidays, WeekendPolicy weekendPolicy) -
workdaysCount
public static int workdaysCount(ZonedDateTime startDate, ZonedDateTime endDate, List<ZonedDateTime> holidays, WeekendPolicy weekendPolicy)
-