public class WorkdayUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkdayUtil.FrenchPublicHoliday |
| Constructor and Description |
|---|
WorkdayUtil() |
| Modifier and Type | Method and Description |
|---|---|
static LocalDate |
computeAscensionDay(LocalDate easter) |
static LocalDate |
computeEaster(Year year)
Calcul fait par la méthode de Butcher-Meeus (valide si année ≥ 1583)
|
static LocalDate |
computeEasterMonday(LocalDate easter) |
static LocalDate |
computeWhitMonday(LocalDate easter) |
static long |
computeWorday(LocalDate start,
LocalDate end,
Set<DayOfWeek> weekWorkday,
Function<Year,List<LocalDate>> publicHoliday) |
public static long computeWorday(LocalDate start, LocalDate end, Set<DayOfWeek> weekWorkday, Function<Year,List<LocalDate>> publicHoliday)
public static LocalDate computeEaster(Year year)
year - l'année pour lequel on souhaite calculer le dimanche de paquesCopyright © 2004–2020 CodeLutin. All rights reserved.