org.das2.datum.NumberUnits

NumberUnits( String id )

NumberUnits( String id, String description )


add

add( Number a, Number b, Units bUnits ) → Datum

Parameters

a - a Number
b - a Number
bUnits - an Units

Returns:

org.das2.datum.Datum

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


createDatum

createDatum( double value ) → Datum

Parameters

value - a double

Returns:

org.das2.datum.Datum

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

createDatum( double value, double resolution ) → Datum
createDatum( int value ) → Datum
createDatum( long value ) → Datum
createDatum( Number value ) → Datum
createDatum( Datum value ) → Datum

divide

divide( Number a, Number b, Units bUnits ) → Datum

Parameters

a - a Number
b - a Number
bUnits - an Units

Returns:

org.das2.datum.Datum

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


getDatumFormatterFactory

getDatumFormatterFactory( ) → org.das2.datum.format.DatumFormatterFactory

Returns:

org.das2.datum.format.DatumFormatterFactory

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


multiply

multiply( Number a, Number b, Units bUnits ) → Datum

Parameters

a - a Number
b - a Number
bUnits - an Units

Returns:

org.das2.datum.Datum

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


parse

parse( String s ) → Datum

Parameters

s - a String

Returns:

org.das2.datum.Datum

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


subtract

subtract( Number a, Number b, Units bUnits ) → Datum

Parameters

a - a Number
b - a Number
bUnits - an Units

Returns:

org.das2.datum.Datum

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