public class TimeCoordUnion extends TimeCoord
Modifier and Type | Class and Description |
---|---|
static class |
TimeCoordUnion.Val |
TimeCoord.Tinv, TimeCoord.TinvDate
Constructor and Description |
---|
TimeCoordUnion(int code,
java.util.List<TimeCoord> timeCoords,
TimeCoord canon) |
TimeCoordUnion(int code,
java.lang.String units,
java.util.List coords,
int[] partition,
int[] index) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsData(TimeCoord tother)
Instances that have the same runtime, timeUnit and coordinates are equal
|
static int |
findUnique(java.util.List<TimeCoordUnion> timeIndexList,
TimeCoordUnion want) |
TimeCoordUnion.Val |
getVal(int idx) |
java.util.List<TimeCoordUnion.Val> |
getValues() |
findCoord, findIdx, findInterval, getCalendarRange, getCode, getCoords, getIntervals, getName, getOffset, getRunDate, getSize, getTimeIntervalName, getTimeUnit, getTimeUnitScale, getType, getUnits, isInterval, toString
public TimeCoordUnion(int code, java.util.List<TimeCoord> timeCoords, TimeCoord canon)
public TimeCoordUnion(int code, java.lang.String units, java.util.List coords, int[] partition, int[] index)
public TimeCoordUnion.Val getVal(int idx)
public java.util.List<TimeCoordUnion.Val> getValues()
public boolean equalsData(TimeCoord tother)
TimeCoord
equalsData
in class TimeCoord
tother
- compare this TimeCoord's datapublic static int findUnique(java.util.List<TimeCoordUnion> timeIndexList, TimeCoordUnion want)