@Immutable public abstract class CoordinateTimeAbstract extends Object implements Coordinate
Coordinate.Type| Modifier and Type | Field and Description |
|---|---|
protected int |
code |
static String |
MIXED_INTERVALS |
protected String |
name |
protected String |
periodName |
protected CalendarDate |
refDate |
protected int[] |
time2runtime |
protected CalendarPeriod |
timeUnit |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
int |
getMasterRuntimeIndex(int timeIdx) |
String |
getName() |
CalendarPeriod |
getPeriod() |
CalendarDate |
getRefDate() |
int[] |
getTime2runtime() |
CalendarPeriod |
getTimeUnit() |
double |
getTimeUnitScale() |
String |
getUnit() |
CoordinateTimeAbstract |
makeBestFromComplete()
Implements coverting a "complete best" to a "monotonic best".
|
protected abstract CoordinateTimeAbstract |
makeBestFromComplete(int[] best,
int n) |
abstract CalendarDateRange |
makeCalendarDateRange(Calendar cal) |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitestMemorySize, getIndex, getSize, getType, getValue, getValues, showCoords, showInfopublic static final String MIXED_INTERVALS
protected final int code
protected final CalendarPeriod timeUnit
protected final String periodName
protected final CalendarDate refDate
protected final int[] time2runtime
protected String name
public int getCode()
getCode in interface Coordinatepublic CalendarPeriod getPeriod()
public String getUnit()
getUnit in interface Coordinatepublic String getName()
getName in interface Coordinatepublic void setName(String name)
public CalendarDate getRefDate()
public double getTimeUnitScale()
public CalendarPeriod getTimeUnit()
public int[] getTime2runtime()
public int getMasterRuntimeIndex(int timeIdx)
public CoordinateTimeAbstract makeBestFromComplete()
protected abstract CoordinateTimeAbstract makeBestFromComplete(int[] best, int n)
public abstract CalendarDateRange makeCalendarDateRange(Calendar cal)
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.