Package rs.baselib.util
Class CronSchedule.NeverValue
java.lang.Object
rs.baselib.util.CronSchedule.AbstractTimeValue
rs.baselib.util.CronSchedule.NeverValue
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CronSchedule
public static class CronSchedule.NeverValue extends CronSchedule.AbstractTimeValue
Never matches any time.
- Since:
- 1.2.9
- Author:
- ralph
- See Also:
CronSchedule.NEVER,CronSchedule.NEVER_MARKER, Serialized Form
-
Constructor Summary
Constructors Constructor Description NeverValue() -
Method Summary
-
Constructor Details
-
NeverValue
public NeverValue()
-
-
Method Details
-
matches
public boolean matches(int timeValue)Returns true when given time value matches defined time.- Specified by:
matchesin classCronSchedule.AbstractTimeValue- Parameters:
timeValue- - time value to evaluate- Returns:
- true when time matches
-
toString
public java.lang.String toString()Returns cron-like string of this definition.- Overrides:
toStringin classjava.lang.Object
-