Annotation Interface FixedDayHoliday


Defines holiday for specific date in annotated business calendar (see BusinessCalendar). Multiple FixedDayHoliday annotations may be placed on a single method. FixedDayHoliday annotation may be present on multiple methods of the same class, annotated method can have any name and return value.

Example:

 @BusinessCalendar(name = "calendarName", code = "uniqueCalendarCode")
 public interface AnnotatedBusinessCalendarExample {

     @FixedDayHoliday(fixedDate = "2021-05-08")
     @FixedDayHoliday(fixedDate = "2021-12-30")
     void fixedHolidays();
 }
 
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Date in ISO-8601 format, "2021-05-08" e.g.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Describes why given day is a holiday.
  • Element Details

    • fixedDate

      String fixedDate
      Date in ISO-8601 format, "2021-05-08" e.g.
    • description

      String description
      Describes why given day is a holiday.
      Default:
      ""