Added OffSchedule java class