@repeatable annotation in Java

The \@Repeatable annotation, introduced in Java SE 8, indicates that the marked annotation can be applied more than once to the same declaration or type use. 
* Declare a Repeatable Annotation Type. The annotation type must be marked with the \@Repeatable meta-annotation. 
```
import java.lang.annotation.Repeatable;

@Repeatable(Schedules.class)
public @interface Schedule {
  String dayOfMonth() default "first";
  String dayOfWeek() default "Mon";
  int hour() default 12;
}
```
* Declare the Containing Annotation Type. The containing annotation type must have a value element with an array type. The component type of the array type must be the repeatable annotation type. 
```
public @interface Schedules {
    Schedule[] value();
}
```