## org.das2.datum.format.DateTimeDatumFormatter

## DateTimeDatumFormatter( int opts )

create a formatter with the given options. Options should be or'd together a|b.

## DateTimeDatumFormatter( )

## OPT_DOY

## axisFormat

axisFormat( org.das2.datum.DatumVector datums, DatumRange context ) → String[]

format the datums for axis, automatically picking the resolution needed to correctly indicate tick values.

### Parameters

datums - a DatumVector
context - a DatumRange

### Returns:

a String[]

### See Also:

TimeDatumFormatter#guessFormatter(org.das2.datum.DatumVector, org.das2.datum.DatumRange)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## format

format( Datum datum ) → String

### Parameters

datum - a Datum

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## grannyFormat

grannyFormat( Datum datum ) → String

### Parameters

datum - a Datum

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## isDayOfYear

isDayOfYear( ) → boolean

### Returns:

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

## setDayOfYear

setDayOfYear( boolean dayOfYear ) → void

### Parameters

dayOfYear - a boolean

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]