org.openeai.afa
Class TimeOfDay

java.lang.Object
  extended by org.openeai.OpenEaiObject
      extended by org.openeai.afa.TimeOfDay

public class TimeOfDay
extends OpenEaiObject

This class is used to determine when on a given day a Schedule should execute. By hour and minute. The ScheduleRuntime object contains a list of these objects that are used to determine time(s) of day in which the Schedule should run.

Version:
3.0 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
TimeOfDay()
          Constructor
 
Method Summary
 int getHour()
          Returns the hour of the day in which the Schedule should run.
 int getMinute()
          Returns the minute of the hour in which the Schedule should run.
 void setHour(int hour)
          Sets the hour of the day in which the Schedule should run.
 void setMinute(int minute)
          Sets the minute of the hour in which the Schedule should run.
 
Methods inherited from class org.openeai.OpenEaiObject
getAppName, getDebug, getFromAddr, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeOfDay

public TimeOfDay()
Constructor

Method Detail

setHour

public void setHour(int hour)
Sets the hour of the day in which the Schedule should run.

Parameters:
hour - int hour of the day (24 hour basis)

getHour

public int getHour()
Returns the hour of the day in which the Schedule should run.

Returns:
int hour of the day (24 hour basis)

setMinute

public void setMinute(int minute)
Sets the minute of the hour in which the Schedule should run.

Parameters:
minute - int minute of the hour (60 minute basis)

getMinute

public int getMinute()
Returns the minute of the hour in which the Schedule should run.

Returns:
int minute of the hour (60 minute basis)


Copyright © 2002,2003 OpenEAI Software Foundation