public class CalendarBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<Slot> |
buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static List<Slot> |
buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate,
int nNbPlaces,
boolean isAllOpenSlot)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
public static List<Slot> buildListSlot(int nIdForm, Map<WeekDefinition,ReservationRule> mapReservationRule, LocalDate startingDate, LocalDate endingDate)
nIdForm - the form IdmapReservationRule - the map of the rule week definitionstartingDate - the starting date of the periodendingDate - the ending date of the periodepublic static List<Slot> buildListSlot(int nIdForm, Map<WeekDefinition,ReservationRule> mapReservationRule, LocalDate startingDate, LocalDate endingDate, int nNbPlaces, boolean isAllOpenSlot)
nIdForm - the form IdmapReservationRule - the map of the rule week definitionstartingDate - the starting date of the periodendingDate - the ending date of the periodenNbPlaces - the number of place to takeisAllOpenSlot - build slots with the all open slotCopyright © 2022 City of Paris. All rights reserved.