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 intcompareTo(TimeCoordIntvValue o)TimeCoordIntvValueconvertReferenceDate(ucar.nc2.time.CalendarDate fromDate, ucar.nc2.time.CalendarPeriod fromUnit, ucar.nc2.time.CalendarDate toDate, ucar.nc2.time.CalendarPeriod toUnit)booleanequals(Object o)intgetBounds1()intgetBounds2()doublegetCoordValue()intgetIntervalSize()inthashCode()TimeCoordIntvValueoffset(double offset)StringtoString()
-
-
-
Method Detail
-
getBounds1
public int getBounds1()
-
getBounds2
public int getBounds2()
-
getIntervalSize
public int getIntervalSize()
-
getCoordValue
public double getCoordValue()
-
convertReferenceDate
public TimeCoordIntvValue convertReferenceDate(ucar.nc2.time.CalendarDate fromDate, ucar.nc2.time.CalendarPeriod fromUnit, ucar.nc2.time.CalendarDate toDate, ucar.nc2.time.CalendarPeriod toUnit)
-
compareTo
public int compareTo(@Nonnull TimeCoordIntvValue o)- Specified by:
compareToin interfaceComparable<TimeCoordIntvValue>
-
offset
public TimeCoordIntvValue offset(double offset)
-
-