@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,
List<Integer> offsetSorted,
int[] time2runtime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
estMemorySize() |
int |
getIndex(Object val) |
List<Integer> |
getOffsetSorted() |
int |
getSize() |
Coordinate.Type |
getType() |
Object |
getValue(int idx) |
List<? extends Object> |
getValues() |
int |
hashCode() |
protected CoordinateTimeAbstract |
makeBestFromComplete(int[] best,
int n) |
CalendarDateRange |
makeCalendarDateRange(Calendar cal) |
void |
showCoords(Formatter info) |
void |
showInfo(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, List<Integer> offsetSorted, int[] time2runtime)
public List<? extends Object> getValues()
getValues
in interface Coordinate
public int getIndex(Object val)
getIndex
in interface Coordinate
public 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(Formatter info, Indent indent)
showInfo
in interface Coordinate
public void showCoords(Formatter info)
showCoords
in interface Coordinate
protected CoordinateTimeAbstract makeBestFromComplete(int[] best, int n)
makeBestFromComplete
in class CoordinateTimeAbstract
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.