public static class SUTime.RefTime extends SUTime.Time
approx, mod, timeLabel, uncertaintyGranularity
CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, LENGTH_GT_COMPARATOR, LENGTH_LT_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
Constructor and Description |
---|
RefTime(java.lang.String label) |
RefTime(SUTime.StandardTemporalType timeType,
java.lang.String timeLabel,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
SUTime.Time |
add(SUTime.Duration offset) |
boolean |
isRef() |
SUTime.Time |
offset(SUTime.Duration offset,
int offsetFlags) |
SUTime.Time |
resolve(SUTime.Time refTime,
int flags) |
java.lang.String |
toFormattedString(int flags) |
closest, compareTo, contains, difference, distance, getDuration, getGranularity, getInterval, getJodaTimeInstant, getJodaTimePartial, getRange, getTime, getTimexType, hasTime, intersect, intersect, intersect, isComparable, isGrounded, makeComposite, max, min, reduceGranularityTo, subtract
addMod, addModApprox, getMod, getPeriod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, getUncertaintyGranularity, includeTimexAltValue, isApprox, next, prev, resolve, setTimeZone, setTimeZone, setTimeZone, toISOString, toString
public RefTime(java.lang.String label)
public RefTime(SUTime.StandardTemporalType timeType, java.lang.String timeLabel, java.lang.String label)
public boolean isRef()
isRef
in class SUTime.Temporal
public java.lang.String toFormattedString(int flags)
toFormattedString
in class SUTime.Temporal
public SUTime.Time add(SUTime.Duration offset)
add
in class SUTime.Time
public SUTime.Time offset(SUTime.Duration offset, int offsetFlags)
offset
in class SUTime.Time
public SUTime.Time resolve(SUTime.Time refTime, int flags)
resolve
in class SUTime.Time