public class TimeLocationUnits extends LocationUnits
ampRatio, bytes, bytesPerSecond, cdfEpoch, cdfTT2000, celciusDegrees, centigrade, centimeters, cm_2s_1keV_1, cm_2s_1MeV_1, cmps, days, dB, decimalYear, deg, degrees, degrees2, dimensionless, dollars, euros, ev, eV, fahrenheitDegrees, fahrenheitScale, gigaHertz, hertz, hours, hours2, inches, julianDay, kelvin, keV, kiloBytes, kiloBytesPerSecond, kiloHertz, kiloMeters, log10Ratio, logERatio, megaHertz, meters, MeV, microseconds, microseconds2, microseconds3, millimeters, milliseconds, milliseconds2, minutes, mj1958, mjd, mps, ms1970, nanoseconds, ns, nT, pcm3, percent, percentIncrease, picoseconds, radians, rgbColor, rupee, seconds, seconds2, t1970, t2000, t2010, typographicPoints, us1970, us1980, us2000, us2020, v2pm2Hz, wpm2, years, yen
Constructor and Description |
---|
TimeLocationUnits(java.lang.String id,
java.lang.String description,
Units offsetUnits,
Basis basis) |
Modifier and Type | Method and Description |
---|---|
DatumFormatterFactory |
getDatumFormatterFactory()
return the formatter factor for this Datum.
|
Datum |
getFillDatum() |
double |
getFillDouble() |
java.lang.String |
getTimeZone() |
boolean |
isFill(double value) |
boolean |
isValid(double value)
test if the double represents a valid datum in the context of this unit.
|
Datum |
parse(java.lang.String s)
parse the string in the context of these units.
|
double |
validMax()
return the maximum valid value.
|
double |
validMin()
return the minimum valid value.
|
add, divide, getBasis, getOffsetUnits, multiply, subtract
add, createDatum, createDatum, createDatum, createDatum, createDatum, createDatum, divide, multiply, subtract
convertDoubleTo, format, getAllUnits, getByName, getCanonicalUnit, getConverter, getConverter, getConvertibleUnits, getId, grannyFormat, isConvertibleTo, isFill, lookupTimeLengthUnit, lookupTimeUnits, lookupTimeUnits, lookupUnits, main, nominal, nominal, registerConverter, toString
public DatumFormatterFactory getDatumFormatterFactory()
Units
getDatumFormatterFactory
in class NumberUnits
public Datum parse(java.lang.String s) throws java.text.ParseException
Units
parse
in class NumberUnits
java.text.ParseException
public Datum getFillDatum()
getFillDatum
in class Units
public double getFillDouble()
getFillDouble
in class Units
public java.lang.String getTimeZone()
public boolean isValid(double value)
public double validMin()
public double validMax()