org.enhydra.shark.client.utilities
Class LimitStruct
java.lang.Object
org.enhydra.shark.client.utilities.LimitStruct
- public class LimitStruct
- extends java.lang.Object
Structure that holds relevant information for limit/deadline checking.
- Author:
- Sasa Bojanic
Field Summary |
protected static long |
hrs24
|
protected static long |
mininms
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
hrs24
protected static long hrs24
mininms
protected static long mininms
LimitStruct
public LimitStruct(int h,
int m,
int aom)
throws java.lang.Exception
- Parameters:
h
- the value between 0 and 23 which specifies the hourm
- the value between 0 and 59 which specifies the minuteaom
- the value between 1 and 720 which specifies the offset in minute
- Throws:
java.lang.Exception
getHour
public int getHour()
setHour
public void setHour(int h)
getMinute
public int getMinute()
setMinute
public void setMinute(int m)
getAllowableOffsetInMinutes
public int getAllowableOffsetInMinutes()
setAllowableOffsetInMinutes
public void setAllowableOffsetInMinutes(int aom)
getLastCheckedTime
public long getLastCheckedTime()
setLastCheckedTime
public void setLastCheckedTime(long lct)
checkForLimit
public boolean checkForLimit()
toString
public java.lang.String toString()