Package ucar.nc2.time
Class CalendarDateRange
java.lang.Object
ucar.nc2.time.CalendarDateRange
A range of CalendarDates.
- Since:
- 3/21/11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanextend(CalendarDateRange other) longgetEnd()getStart()inthashCode()booleanincludes(CalendarDate cd) intersect(CalendarDateRange clip) booleanbooleanintersects(CalendarDate start, CalendarDate end) booleanisPoint()static CalendarDateRangestatic CalendarDateRangeof(CalendarDate start, CalendarDate end) static CalendarDateRangeDeprecated.voidDeprecated.toString()
-
Constructor Details
-
CalendarDateRange
-
-
Method Details
-
of
-
of
-
getStart
-
getEnd
-
getDurationInSecs
public long getDurationInSecs() -
getDuration
-
getResolution
-
setResolution
public void setResolution() -
intersects
-
intersects
-
includes
-
intersect
-
extend
-
isPoint
public boolean isPoint() -
toString
-
of
Deprecated.Does not handle non-standard calendars -
toDateRange
Deprecated.Does not handle non-standard calendars -
equals
-
hashCode
public int hashCode()
-