Uses of Interface
org.holiday.calendar.function.DateRoll
Packages that use DateRoll
Package
Description
Base classes and interfaces of Holiday Calendar API.
Functional interfaces to support construction of filters and date
calculation algorithms as lambda expressions.
Implementations of
Observance
for holidays observed exclusively in the United Kingdom.-
Uses of DateRoll in org.holiday.calendar
Fields in org.holiday.calendar declared as DateRollModifier and TypeFieldDescriptionstatic final DateRollHolidayCalendar.NO_ROLLDefault 'empty'date rollingbehavior.Methods in org.holiday.calendar that return DateRollMethods in org.holiday.calendar with parameters of type DateRollModifier and TypeMethodDescriptionConstructors in org.holiday.calendar with parameters of type DateRoll -
Uses of DateRoll in org.holiday.calendar.function
Methods in org.holiday.calendar.function that return DateRollModifier and TypeMethodDescriptiondefault DateRollReturns a composedDateRollthat first applies this roll, then appliesafter.static DateRollCompose two rolls: applyfirst, then applysecond.static DateRollDateRolls.followingMonday()Saturday and Sunday both roll forward to Monday.static DateRollDateRolls.noRoll()No adjustment — returns the date unchanged.static DateRollDateRolls.previousFridayOrFollowingMonday()Saturday rolls back to Friday; Sunday rolls forward to Monday.static DateRollDateRolls.sundayToMonday()Only Sunday rolls forward to the following Monday; Saturday is returned unchanged (no substitute observance).Methods in org.holiday.calendar.function with parameters of type DateRoll -
Uses of DateRoll in org.holiday.calendar.observance.uk
Methods in org.holiday.calendar.observance.uk that return DateRollModifier and TypeMethodDescriptionstatic DateRollUKDateRolls.fixedHolidayRoll(Holiday newYearsDay, Holiday christmasDay, Holiday boxingDay) Returns the standard UK date roll strategy for New Year's Day, Christmas Day, and Boxing Day.