Class FixedYearlyHoliday

java.lang.Object
io.jmix.businesscalendar.model.Holiday
io.jmix.businesscalendar.model.FixedYearlyHoliday

public class FixedYearlyHoliday extends Holiday
Presents holiday that occurs every year in the same date.
  • Constructor Details

    • FixedYearlyHoliday

      public FixedYearlyHoliday(int month, int dayOfMonth)
    • FixedYearlyHoliday

      public FixedYearlyHoliday(Month month, int dayOfMonth)
  • Method Details

    • isHoliday

      public boolean isHoliday(LocalDate date)
      Specified by:
      isHoliday in class Holiday
    • getMonth

      public Month getMonth()
    • getDayOfMonth

      public int getDayOfMonth()
    • getType

      public String getType()
      Specified by:
      getType in class Holiday