org.metasyntactic.utilities.timer
Class WeeklyTrigger

java.lang.Object
  |
  +--org.metasyntactic.utilities.timer.Trigger
        |
        +--org.metasyntactic.utilities.timer.IntervalTrigger
              |
              +--org.metasyntactic.utilities.timer.WeeklyTrigger

public class WeeklyTrigger
extends IntervalTrigger


Field Summary
static int EACH_DAY
           
static int FRIDAY
           
static int MONDAY
           
static int SATURDAY
           
static int SUNDAY
           
static int THURSDAY
           
static int TUESDAY
           
static int WEDNESDAY
           
 
Fields inherited from class org.metasyntactic.utilities.timer.IntervalTrigger
repetition
 
Fields inherited from class org.metasyntactic.utilities.timer.Trigger
startTime
 
Constructor Summary
WeeklyTrigger(int days)
          Creates new WeeklyTrigger
 
Method Summary
protected  long getNextStartTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUNDAY

public static final int SUNDAY
See Also:
Constant Field Values

MONDAY

public static final int MONDAY
See Also:
Constant Field Values

TUESDAY

public static final int TUESDAY
See Also:
Constant Field Values

WEDNESDAY

public static final int WEDNESDAY
See Also:
Constant Field Values

THURSDAY

public static final int THURSDAY
See Also:
Constant Field Values

FRIDAY

public static final int FRIDAY
See Also:
Constant Field Values

SATURDAY

public static final int SATURDAY
See Also:
Constant Field Values

EACH_DAY

public static final int EACH_DAY
See Also:
Constant Field Values
Constructor Detail

WeeklyTrigger

public WeeklyTrigger(int days)
Creates new WeeklyTrigger

Method Detail

getNextStartTime

protected long getNextStartTime()
Specified by:
getNextStartTime in class Trigger