## org.das2.datum.MonthDatumRange

DatumRange implementation that preserves month and year boundaries in the next() and previous() implementations. For example,

>        dr= MonthDatumRange( [ 1999, 01, 01, 00, 00, 00, 0 ], [ 1999, 02, 01, 00, 00, 00, 0 ] )
>        dr.toString() → "Jan 1999"
>        dr= dr.next()
>        dr.toString() → "Feb 1999"  ; a normal datumRange would simply advance 31 days.

## MonthDatumRange( int[] start, int[] end, Units u )

create the MonthDatumRange with the decomposed times.

## MonthDatumRange( int[] start, int[] end )

create the MonthDatumRange with the decomposed times.

## convertTo

convertTo( Units u ) → DatumRange

### Parameters

u - an Units

### Returns:

org.das2.datum.DatumRange
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## equals

equals( Object o ) → boolean

### Parameters

o - an Object

### Returns:

boolean
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## hashCode

hashCode( ) → int

### Returns:

int
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## next

next( ) → DatumRange

### Returns:

org.das2.datum.DatumRange
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## previous

previous( ) → DatumRange

### Returns:

org.das2.datum.DatumRange
[search for examples] [view on GitHub] [view on old javadoc] [view source]