public class CoordinateTimeIntv extends CoordinateTimeAbstract implements Coordinate
| Modifier and Type | Class and Description |
|---|---|
static class |
CoordinateTimeIntv.Builder1 |
static class |
CoordinateTimeIntv.Builder2 |
Coordinate.Typecode, MIXED_INTERVALS, name, periodName, refDate, timeUnit| Constructor and Description |
|---|
CoordinateTimeIntv(int code,
CalendarPeriod timeUnit,
CalendarDate refDate,
List<TimeCoord.Tinv> timeIntervals) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getIndex(Object val) |
int |
getSize() |
String |
getTimeIntervalName()
Check if we all time intervals have the same length.
|
List<TimeCoord.Tinv> |
getTimeIntervals() |
Coordinate.Type |
getType() |
Object |
getValue(int idx) |
List<? extends Object> |
getValues() |
int |
hashCode() |
CoordinateTimeIntv |
makeBestTimeCoordinate(List<Double> runOffsets) |
CalendarDateRange |
makeCalendarDateRange(Calendar cal)
Make calendar date range, using the first and last ending bounds
|
int[] |
makeTime2RuntimeMap(List<Double> runOffsets,
CoordinateTimeIntv coordBest,
TwoDTimeInventory twot) |
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 CoordinateTimeIntv(int code,
CalendarPeriod timeUnit,
CalendarDate refDate,
List<TimeCoord.Tinv> timeIntervals)
public List<TimeCoord.Tinv> getTimeIntervals()
public List<? extends Object> getValues()
getValues in interface Coordinatepublic Object getValue(int idx)
getValue in interface Coordinatepublic int getIndex(Object val)
getIndex in interface Coordinatepublic int getSize()
getSize in interface Coordinatepublic Coordinate.Type getType()
getType in interface Coordinatepublic String getTimeIntervalName()
public CalendarDateRange makeCalendarDateRange(Calendar cal)
makeCalendarDateRange in class CoordinateTimeAbstractcal - optional calendar, may be nullpublic void showInfo(Formatter info, Indent indent)
showInfo in interface Coordinatepublic void showCoords(Formatter info)
showCoords in interface Coordinatepublic CoordinateTimeIntv makeBestTimeCoordinate(List<Double> runOffsets)
makeBestTimeCoordinate in class CoordinateTimeAbstractpublic int[] makeTime2RuntimeMap(List<Double> runOffsets, CoordinateTimeIntv coordBest, TwoDTimeInventory twot)
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.