org.opengts.extra.util
Class Cron.When

java.lang.Object
  extended by 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)
           
 
Method Summary
 java.lang.String getHour()
           
 java.lang.String getMinute()
           
 java.lang.String getMonth()
           
 java.lang.String getMonthDay()
           
 java.lang.String getWeekDay()
           
 boolean testNow(long timeSec, java.util.TimeZone tz)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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