org.das2.datum
Class MonthDatumRange

java.lang.Object
  extended by org.das2.datum.DatumRange
      extended by org.das2.datum.MonthDatumRange
All Implemented Interfaces:
java.lang.Comparable

public class MonthDatumRange
extends DatumRange


Constructor Summary
MonthDatumRange(int[] start, int[] end)
           
 
Method Summary
 DatumRange next()
          returns the next DatumRange covering the space defined by Units.
 DatumRange previous()
          returns the previous DatumRange covering the space defined by Units.
 
Methods inherited from class org.das2.datum.DatumRange
compareTo, contains, contains, equals, getUnits, include, intersection, intersects, max, min, newDatumRange, normalize, rescale, toString, union, width, zoomOut
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MonthDatumRange

public MonthDatumRange(int[] start,
                       int[] end)
Method Detail

next

public DatumRange next()
Description copied from class: DatumRange
returns the next DatumRange covering the space defined by Units. Typically, this will be a range with a min equal to this datum's max, and the same width. Some implementations of DatumRange may return a range with a different width than this DatumRange's width, for example, when advancing month-by-month with a MonthDatumRange.

Overrides:
next in class DatumRange
Returns:
the next DatumRange covering the space defined by Units.

previous

public DatumRange previous()
Description copied from class: DatumRange
returns the previous DatumRange covering the space defined by Units. See next().

Overrides:
previous in class DatumRange
Returns:
the previous DatumRange covering the space defined by Units