java.lang.Object
com.aoapps.cron.MultiSchedule
- All Implemented Interfaces:
Schedule
A job is scheduled by matching any of a provided set of schedules.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isScheduled
(int minute, int hour, int dayOfMonth, int month, int dayOfWeek, int year) Determine if the job should run right now.toString()
-
Constructor Details
-
MultiSchedule
-
-
Method Details
-
toString
-
isScheduled
public boolean isScheduled(int minute, int hour, int dayOfMonth, int month, int dayOfWeek, int year) Description copied from interface:Schedule
Determine if the job should run right now.- Specified by:
isScheduled
in interfaceSchedule
- Parameters:
minute
- 0-59hour
- 0-23dayOfMonth
- 1-31month
- 0-11dayOfWeek
- 1-7,Calendar.SUNDAY
throughCalendar.SATURDAY
-