|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Duration
edu.stanford.nlp.time.SUTime.DurationWithFields
edu.stanford.nlp.time.SUTime.InexactDuration
public static class SUTime.InexactDuration
Duration that is inexact. Use for durations such as "several days" in which case, we know the field is DAY, but we don't know the exact number of days
| Field Summary |
|---|
| Fields inherited from class edu.stanford.nlp.time.SUTime.Temporal |
|---|
approx, mod, timeLabel |
| Constructor Summary | |
|---|---|
SUTime.InexactDuration(org.joda.time.ReadablePeriod period)
|
|
SUTime.InexactDuration(SUTime.Duration d)
|
|
SUTime.InexactDuration(SUTime.Duration d,
org.joda.time.ReadablePeriod period)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toFormattedString(int flags)
|
| Methods inherited from class edu.stanford.nlp.time.SUTime.DurationWithFields |
|---|
add, divideBy, getJodaTimeDuration, getJodaTimePeriod, multiplyBy, resolve |
| Methods inherited from class edu.stanford.nlp.time.SUTime.Duration |
|---|
compareTo, getDateTimeFields, getDuration, getDuration, getDuration, getInexactDuration, getInexactDuration, getPeriod, getRange, getTime, getTimexType, intersect, intersect, isComparable, isGrounded, makeInexact, max, min, subtract, toTime, toTime |
| Methods inherited from class edu.stanford.nlp.time.SUTime.Temporal |
|---|
addMod, addModApprox, getGranularity, getMod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, toISOString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SUTime.InexactDuration(org.joda.time.ReadablePeriod period)
public SUTime.InexactDuration(SUTime.Duration d)
public SUTime.InexactDuration(SUTime.Duration d,
org.joda.time.ReadablePeriod period)
| Method Detail |
|---|
public java.lang.String toFormattedString(int flags)
toFormattedString in class SUTime.Duration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||