|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.pba.rbac.Time issrg.pba.rbac.Clock issrg.policytester.EnvironmentClock
public class EnvironmentClock
Field Summary |
---|
Fields inherited from class issrg.pba.rbac.Time |
---|
log, s_defaultTimeZone, TIME_TYPE |
Constructor Summary | |
---|---|
EnvironmentClock(java.lang.String timeString)
|
Method Summary | |
---|---|
java.util.Date |
getTime()
This method returns the time returned by the last call to latch, so all calculations will be consistent. |
java.util.Date |
latch()
This method gets the actual time and keeps it for later reference. |
Methods inherited from class issrg.pba.rbac.Clock |
---|
getEvaluationTime |
Methods inherited from class issrg.pba.rbac.Time |
---|
calendarToTime, calendarToTime, compareTo, equals, getDefaultTimeZone, parse, register, setDefaultTimeZone, setDefaultTimeZone, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnvironmentClock(java.lang.String timeString)
Method Detail |
---|
public java.util.Date latch()
Clock
latch
in class Clock
public java.util.Date getTime()
Clock
getTime
in class Clock
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |