The example Java source files in examples/schedule_api show how to use the Schedule-related classes of the Configuration Object API.
This schedule definition uses both inclusion and exclusion period even though the same schedule could be created without using the exclusion period but using a more specific inclusion period.
This sample extends ScheduleUsingExclusion to demonstrate the use of PeriodGroup and PeriodGroupReference.
The exclusion period in ScheduleWithPeriodGroup.java is replaced by a period group that specifies the same time period. The resulting schedule contains an exclusion period equivalent to the one in
ScheduleUsingExclusion.
This sample demonstrates how an application can get and set schedules dynamically on a repository using the Configuration Object API and Console API.