Annotation Interface AdditionalBusinessDay


Defines additional business day in annotated business calendar (see BusinessCalendar). Multiple AdditionalBusinessDay annotations may be placed on a single method. AdditionalBusinessDay 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 {

     @AdditionalBusinessDay(fixedDate = "2021-05-06", startTime = "10:00", endTime = "16:30")
     @AdditionalBusinessDay(fixedDate = "2021-05-07", startTime = "10:00", endTime = "16:30")
     void additionalBusinessDays();
 }
 
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    End time of business day in format HH:MM, like "18:00".
    Date in ISO-8601 format, "2021-05-06" e.g.
    Start time of business day in format HH:MM, like "09:00".
  • Element Details

    • fixedDate

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

      String startTime
      Start time of business day in format HH:MM, like "09:00".
    • endTime

      String endTime
      End time of business day in format HH:MM, like "18:00".