public static class SUTime.IsoDate extends SUTime.PartialTime
Modifier and Type | Field and Description |
---|---|
int |
day
Day of Month
|
int |
era
Era: BC is era 0, AD is era 1, Unknown is -1
|
int |
month
Month of Year
|
int |
year
Year of Era
|
approx, mod, timeLabel, uncertaintyGranularity
CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
Constructor and Description |
---|
IsoDate(int y,
int m,
int d) |
IsoDate(Number y,
Number m,
Number d) |
IsoDate(Number y,
Number m,
Number d,
Number era,
Boolean yearEraAdjustNeeded) |
IsoDate(String y,
String m,
String d) |
IsoDate(SUTime.StandardTemporalType temporalType,
int y,
int m,
int d) |
Modifier and Type | Method and Description |
---|---|
int |
getDay() |
int |
getMonth() |
int |
getYear() |
void |
setDate(int y,
int m,
int d) |
void |
setDay(int d) |
void |
setMonth(int m) |
void |
setYear(int y) |
String |
toString() |
add, addSupported, addUnsupported, appendDateFormats, appendTimeFormats, getCompatible, getDuration, getFormatter, getJodaTimeInstant, getJodaTimePartial, getPeriod, getRange, getTimexType, hasTime, intersect, isCompatible, isGrounded, padMoreSpecificFields, reduceGranularityTo, resolve, setTimeZone, toFormattedString, toList, withStandardFields
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getTime, intersect, intersect, isComparable, makeComposite, max, min, offset, subtract
addMod, addModApprox, getMod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, getUncertaintyGranularity, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, toISOString
public int era
public int year
public int month
public int day
public IsoDate(int y, int m, int d)
public IsoDate(SUTime.StandardTemporalType temporalType, int y, int m, int d)
public String toString()
toString
in class SUTime.Temporal
public int getYear()
public void setYear(int y)
public int getMonth()
public void setMonth(int m)
public int getDay()
public void setDay(int d)
public void setDate(int y, int m, int d)