Package com.walkfares.calendar.holiday
Class HolidayRuleOptions
java.lang.Object
com.walkfares.calendar.holiday.HolidayRuleOptions
public class HolidayRuleOptions extends Object
-
Constructor Summary
Constructors Constructor Description HolidayRuleOptions()
-
Method Summary
Modifier and Type Method Description LocalDate
applyTo(LocalDate date)
int
getRepeats()
int
getRepeatStartYear()
int
getShiftOnFriday()
int
getShiftOnMonday()
int
getShiftOnSaturday()
int
getShiftOnSunday()
int
getShiftOnThursday()
int
getShiftOnTuesday()
int
getShiftOnWednesday()
int
getValidFromYear()
int
getValidToYear()
HolidayRuleOptions
setRepeats(int repeats)
HolidayRuleOptions
setRepeatStartYear(int repeatStartYear)
HolidayRuleOptions
setShiftOnFriday(int shiftOnFriday)
HolidayRuleOptions
setShiftOnMonday(int shiftOnMonday)
HolidayRuleOptions
setShiftOnSaturday(int shiftOnSaturday)
HolidayRuleOptions
setShiftOnSunday(int shiftOnSunday)
HolidayRuleOptions
setShiftOnThursday(int shiftOnThursday)
HolidayRuleOptions
setShiftOnTuesday(int shiftOnTuesday)
HolidayRuleOptions
setShiftOnWednesday(int shiftOnWednesday)
HolidayRuleOptions
setValidFromYear(int validFromYear)
HolidayRuleOptions
setValidToYear(int validToYear)
-
Constructor Details
-
HolidayRuleOptions
public HolidayRuleOptions()
-
-
Method Details
-
applyTo
-
getShiftOnSaturday
public int getShiftOnSaturday() -
setShiftOnSaturday
-
getShiftOnSunday
public int getShiftOnSunday() -
setShiftOnSunday
-
getShiftOnMonday
public int getShiftOnMonday() -
setShiftOnMonday
-
getShiftOnTuesday
public int getShiftOnTuesday() -
setShiftOnTuesday
-
getShiftOnWednesday
public int getShiftOnWednesday() -
setShiftOnWednesday
-
getShiftOnThursday
public int getShiftOnThursday() -
setShiftOnThursday
-
getShiftOnFriday
public int getShiftOnFriday() -
setShiftOnFriday
-
getValidFromYear
public int getValidFromYear() -
setValidFromYear
-
getValidToYear
public int getValidToYear() -
setValidToYear
-
getRepeats
public int getRepeats() -
setRepeats
-
getRepeatStartYear
public int getRepeatStartYear() -
setRepeatStartYear
-