Annotation Interface AdditionalBusinessDay
@Target(METHOD)
@Retention(RUNTIME)
@Repeatable(AdditionalBusinessDayContainer.class)
public @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