public static class SUTime.GroundedTime extends SUTime.Time
approx, mod, timeLabel, uncertaintyGranularityCONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR| Constructor and Description |
|---|
GroundedTime(ReadableInstant base) |
GroundedTime(SUTime.Time p,
ReadableInstant base) |
| Modifier and Type | Method and Description |
|---|---|
SUTime.Time |
add(SUTime.Duration offset) |
SUTime.Duration |
getDuration() |
Instant |
getJodaTimeInstant() |
Partial |
getJodaTimePartial() |
SUTime.Range |
getRange(int flags,
SUTime.Duration granularity) |
boolean |
hasTime() |
SUTime.Temporal |
intersect(SUTime.Temporal other) |
SUTime.Time |
intersect(SUTime.Time t) |
boolean |
isGrounded() |
SUTime.Time |
resolve(SUTime.Time refTime,
int flags) |
SUTime.GroundedTime |
setTimeZone(DateTimeZone tz) |
java.lang.String |
toFormattedString(int flags) |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getTime, getTimexType, intersect, isComparable, 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 GroundedTime(SUTime.Time p, ReadableInstant base)
public GroundedTime(ReadableInstant base)
public SUTime.GroundedTime setTimeZone(DateTimeZone tz)
setTimeZone in class SUTime.Temporalpublic boolean hasTime()
hasTime in class SUTime.Timepublic boolean isGrounded()
isGrounded in class SUTime.Timepublic SUTime.Duration getDuration()
getDuration in class SUTime.Timepublic SUTime.Range getRange(int flags, SUTime.Duration granularity)
getRange in class SUTime.Timepublic java.lang.String toFormattedString(int flags)
toFormattedString in class SUTime.Temporalpublic SUTime.Time resolve(SUTime.Time refTime, int flags)
resolve 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.Temporal intersect(SUTime.Temporal other)
intersect in class SUTime.Timepublic Instant getJodaTimeInstant()
getJodaTimeInstant in class SUTime.Timepublic Partial getJodaTimePartial()
getJodaTimePartial in class SUTime.Time