|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferenceTimeProvider
Strategy for dealing with the reference time.
You can override the default ReferenceTimeProvider
implementation TimeUtils
works with by calling the
setReferenceProvider
method.
TimeUtils
Method Summary | |
---|---|
void |
clearReference()
Clears the reference time. |
org.joda.time.DateTime |
getReference()
Returns the reference time, possibly null. |
void |
setReference(org.joda.time.DateTime dateTime)
Sets the reference time to the specified value. |
Method Detail |
---|
org.joda.time.DateTime getReference()
void setReference(org.joda.time.DateTime dateTime)
void clearReference()
getReference
should return null to indicate the reference
time is no longer being set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |