org.opengts.extra.util
Class Cron.When
java.lang.Object
org.opengts.extra.util.Cron.When
- Enclosing class:
- Cron
public static class Cron.When
- extends java.lang.Object
This class determines when a cronjob should be triggered
Constructor Summary |
Cron.When(java.lang.String wh)
|
Cron.When(java.lang.String minute,
java.lang.String hour,
java.lang.String monthDay,
java.lang.String month,
java.lang.String weekDay)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Cron.When
public Cron.When(java.lang.String minute,
java.lang.String hour,
java.lang.String monthDay,
java.lang.String month,
java.lang.String weekDay)
Cron.When
public Cron.When(java.lang.String wh)
getMinute
public java.lang.String getMinute()
getHour
public java.lang.String getHour()
getMonthDay
public java.lang.String getMonthDay()
getMonth
public java.lang.String getMonth()
getWeekDay
public java.lang.String getWeekDay()
testNow
public boolean testNow(long timeSec,
java.util.TimeZone tz)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object