public static class SUTime.TimeWithRange extends SUTime.Time
approx, mod, timeLabel, uncertaintyGranularityCONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR| Constructor and Description |
|---|
TimeWithRange(SUTime.Range range) |
TimeWithRange(SUTime.TimeWithRange t,
SUTime.Range range) |
| Modifier and Type | Method and Description |
|---|---|
SUTime.Time |
add(SUTime.Duration offset) |
SUTime.Duration |
getDuration() |
SUTime.Range |
getRange(int flags,
SUTime.Duration granularity) |
SUTime.Time |
intersect(SUTime.Time t) |
SUTime.Time |
resolve(SUTime.Time refTime,
int flags) |
SUTime.TimeWithRange |
setTimeZone(DateTimeZone tz) |
java.lang.String |
toFormattedString(int flags) |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getJodaTimeInstant, getJodaTimePartial, getTime, getTimexType, hasTime, intersect, intersect, isComparable, isGrounded, makeComposite, max, min, offset, reduceGranularityTo, subtractaddMod, addModApprox, getMod, getPeriod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, getUncertaintyGranularity, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, toISOString, toStringpublic TimeWithRange(SUTime.TimeWithRange t, SUTime.Range range)
public TimeWithRange(SUTime.Range range)
public SUTime.TimeWithRange setTimeZone(DateTimeZone tz)
setTimeZone in class SUTime.Temporalpublic SUTime.Duration getDuration()
getDuration in class SUTime.Timepublic SUTime.Range getRange(int flags, SUTime.Duration granularity)
getRange in class SUTime.Timepublic SUTime.Time add(SUTime.Duration offset)
add in class SUTime.Timepublic SUTime.Time intersect(SUTime.Time t)
intersect in class SUTime.Timepublic SUTime.Time resolve(SUTime.Time refTime, int flags)
resolve in class SUTime.Timepublic java.lang.String toFormattedString(int flags)
toFormattedString in class SUTime.Temporal