@Immutable public class CoordinateTime extends CoordinateTimeAbstract implements Coordinate
| Modifier and Type | Class and Description |
|---|---|
static class |
CoordinateTime.Builder1 |
static class |
CoordinateTime.Builder2 |
Coordinate.Typecode, MIXED_INTERVALS, name, periodName, refDate, timeUnit| Constructor and Description |
|---|
CoordinateTime(int code,
CalendarPeriod timeUnit,
CalendarDate refDate,
List<Integer> offsetSorted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getIndex(Object val) |
List<Integer> |
getOffsetSorted() |
int |
getSize() |
Coordinate.Type |
getType() |
Object |
getValue(int idx) |
List<? extends Object> |
getValues() |
int |
hashCode() |
CoordinateTime |
makeBestTimeCoordinate(List<Double> runOffsets) |
CalendarDateRange |
makeCalendarDateRange(Calendar cal) |
int[] |
makeTime2RuntimeMap(List<Double> runOffsets,
CoordinateTime coordBest,
TwoDTimeInventory twot)
calculate which runtime to use, based on missing
|
void |
showCoords(Formatter info) |
void |
showInfo(Formatter info,
Indent indent) |
getCode, getName, getPeriod, getRefDate, getTimeUnit, getTimeUnitScale, getUnit, setName, setRefDateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetCode, getName, getUnitpublic CoordinateTime(int code,
CalendarPeriod timeUnit,
CalendarDate refDate,
List<Integer> offsetSorted)
public List<? extends Object> getValues()
getValues in interface Coordinatepublic int getIndex(Object val)
getIndex in interface Coordinatepublic Object getValue(int idx)
getValue in interface Coordinatepublic int getSize()
getSize in interface Coordinatepublic Coordinate.Type getType()
getType in interface Coordinatepublic CalendarDateRange makeCalendarDateRange(Calendar cal)
makeCalendarDateRange in class CoordinateTimeAbstractpublic void showInfo(Formatter info, Indent indent)
showInfo in interface Coordinatepublic void showCoords(Formatter info)
showCoords in interface Coordinatepublic CoordinateTime makeBestTimeCoordinate(List<Double> runOffsets)
makeBestTimeCoordinate in class CoordinateTimeAbstractpublic int[] makeTime2RuntimeMap(List<Double> runOffsets, CoordinateTime coordBest, TwoDTimeInventory twot)
runOffsets - for each runtime, the offset from base timecoordBest - best time coordinate, from convertBestTimeCoordinatetwot - variable missing arrayCopyright © 1999–2014 UCAR/Unidata. All rights reserved.