|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.time.AbstractIntervalSpecifier
com.timeindexing.time.IntervalTemplate
An IntervalSpecifier that instantiates to a MidPointInterval.
Field Summary | |
static IntervalTemplate |
THIS_DAY
A IntervalTemplate for today. |
static IntervalTemplate |
THIS_HOUR
A IntervalTemplate for this hour |
static IntervalTemplate |
THIS_MINUTE
A IntervalTemplate for this minute |
static IntervalTemplate |
THIS_MONTH
A IntervalTemplate for this month. |
static IntervalTemplate |
THIS_SECOND
A IntervalTemplate for this second |
static IntervalTemplate |
THIS_WEEK
A IntervalTemplate for this week. |
static IntervalTemplate |
THIS_YEAR
A IntervalTemplate for this year. |
Constructor Summary | |
IntervalTemplate(TimeSpecifier start,
TimeSpecifier end)
Construct a IntervalTemplate. |
Method Summary | |
Interval |
instantiate(AbsoluteTimestamp t)
Instantiate the IntervalTemplate w.r.t. |
java.lang.String |
toString()
To String |
Methods inherited from class com.timeindexing.time.AbstractIntervalSpecifier |
clone, getEndSpecifier, getStartSpecifier |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.timeindexing.time.IntervalSpecifier |
getEndSpecifier, getStartSpecifier |
Field Detail |
public static final IntervalTemplate THIS_YEAR
public static final IntervalTemplate THIS_MONTH
public static final IntervalTemplate THIS_WEEK
public static final IntervalTemplate THIS_DAY
public static final IntervalTemplate THIS_HOUR
public static final IntervalTemplate THIS_MINUTE
public static final IntervalTemplate THIS_SECOND
Constructor Detail |
public IntervalTemplate(TimeSpecifier start, TimeSpecifier end)
Method Detail |
public Interval instantiate(AbsoluteTimestamp t)
instantiate
in interface IntervalSpecifier
instantiate
in class AbstractIntervalSpecifier
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |