Package ucar.nc2.grib.coord
Class TimeCoordIntvValue
- java.lang.Object
-
- ucar.nc2.grib.coord.TimeCoordIntvValue
-
- All Implemented Interfaces:
Comparable<TimeCoordIntvValue>
@Immutable public class TimeCoordIntvValue extends Object implements Comparable<TimeCoordIntvValue>
-
-
Constructor Summary
Constructors Constructor Description TimeCoordIntvValue(int b1, int b2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(TimeCoordIntvValue o)
TimeCoordIntvValue
convertReferenceDate(CalendarDate fromDate, CalendarPeriod fromUnit, CalendarDate toDate, CalendarPeriod toUnit)
boolean
equals(Object o)
int
getBounds1()
int
getBounds2()
double
getCoordValue()
int
getIntervalSize()
int
hashCode()
TimeCoordIntvValue
offset(double offset)
String
toString()
-
-
-
Method Detail
-
getBounds1
public int getBounds1()
-
getBounds2
public int getBounds2()
-
getIntervalSize
public int getIntervalSize()
-
getCoordValue
public double getCoordValue()
-
convertReferenceDate
public TimeCoordIntvValue convertReferenceDate(CalendarDate fromDate, CalendarPeriod fromUnit, CalendarDate toDate, CalendarPeriod toUnit)
-
compareTo
public int compareTo(@Nonnull TimeCoordIntvValue o)
- Specified by:
compareTo
in interfaceComparable<TimeCoordIntvValue>
-
offset
public TimeCoordIntvValue offset(double offset)
-
-