- All Known Implementing Classes:
MatcherSchedule
,MultiSchedule
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a schedule for a job.
- Author:
- AO Industries, Inc.
-
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.
-
Method Details
-
isScheduled
boolean isScheduled(int minute, int hour, int dayOfMonth, int month, int dayOfWeek, int year) Determine if the job should run right now.- Parameters:
minute
- 0-59hour
- 0-23dayOfMonth
- 1-31month
- 0-11dayOfWeek
- 1-7,Calendar.SUNDAY
throughCalendar.SATURDAY
-