@Immutable public class CoordinateTime extends CoordinateTimeAbstract implements Coordinate
Modifier and Type | Class and Description |
---|---|
static class |
CoordinateTime.Builder1 |
static class |
CoordinateTime.Builder2 |
Coordinate.Type
cdf, code, MIXED_INTERVALS, name, periodName, refDate, time2runtime, timeUnit
Constructor and Description |
---|
CoordinateTime(int code,
CalendarPeriod timeUnit,
CalendarDate refDate,
java.util.List<java.lang.Integer> offsetSorted,
int[] time2runtime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
estMemorySize() |
int |
getIndex(java.lang.Object val) |
java.util.List<java.lang.Integer> |
getOffsetSorted() |
int |
getSize() |
Coordinate.Type |
getType() |
java.lang.Object |
getValue(int idx) |
java.util.List<? extends java.lang.Object> |
getValues() |
int |
hashCode() |
protected CoordinateTimeAbstract |
makeBestFromComplete(int[] best,
int n) |
CalendarDateRange |
makeCalendarDateRange(Calendar cal) |
void |
showCoords(java.util.Formatter info) |
void |
showInfo(java.util.Formatter info,
Indent indent) |
getCode, getMasterRuntimeIndex, getName, getPeriod, getRefDate, getTime2runtime, getTimeUnit, getTimeUnitScale, getUnit, makeBestFromComplete, setName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCode, getName, getUnit
public CoordinateTime(int code, CalendarPeriod timeUnit, CalendarDate refDate, java.util.List<java.lang.Integer> offsetSorted, int[] time2runtime)
public java.util.List<java.lang.Integer> getOffsetSorted()
public java.util.List<? extends java.lang.Object> getValues()
getValues
in interface Coordinate
public int getIndex(java.lang.Object val)
getIndex
in interface Coordinate
public java.lang.Object getValue(int idx)
getValue
in interface Coordinate
public int getSize()
getSize
in interface Coordinate
public Coordinate.Type getType()
getType
in interface Coordinate
public int estMemorySize()
estMemorySize
in interface Coordinate
public CalendarDateRange makeCalendarDateRange(Calendar cal)
makeCalendarDateRange
in class CoordinateTimeAbstract
public void showInfo(java.util.Formatter info, Indent indent)
showInfo
in interface Coordinate
public void showCoords(java.util.Formatter info)
showCoords
in interface Coordinate
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
protected CoordinateTimeAbstract makeBestFromComplete(int[] best, int n)
makeBestFromComplete
in class CoordinateTimeAbstract