org.xspace.mx.physics.immutable
Class SiderealDay

java.lang.Object
  extended byorg.xspace.mx.physics.immutable.BaseUnit
      extended byorg.xspace.mx.physics.immutable.Time
          extended byorg.xspace.mx.physics.immutable.SiderealDay
All Implemented Interfaces:
Measurement, java.io.Serializable, Time

public class SiderealDay
extends Time

A Measurement representing a sidereal day

Since:
0.5.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xspace.mx.physics.immutable.BaseUnit
DIM_ANGLE, DIM_LENGTH, DIM_MASS, DIM_TIME, dims, systemValue, TOL
 
Constructor Summary
SiderealDay()
          Creates a Measurement equal to one sidereal day
SiderealDay(double value)
          Creates a Measurement as a multiple of sidereal days
SiderealDay(Measurement mx)
          Creates a Measurement that is equivalent to the input
 
Method Summary
 java.lang.String getAbbr()
          An abbreviated description of the units of a sidereal day
 java.lang.String getDescription()
          A description of the units of a sidereal day
 
Methods inherited from class org.xspace.mx.physics.immutable.BaseUnit
copy, copyBaseUnit, div, div, divInternal, divInternal, getSystem, getSystemDimensions, getSystemValue, getValue, isSameMeasurementType, minus, minusInternal, mult, mult, multInternal, multInternal, plus, plusInternal, pow, powInternal, root, rootInternal, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xspace.mx.Measurement
copy, div, div, getSystem, getSystemDimensions, getSystemValue, getValue, minus, mult, mult, plus, pow, root
 

Constructor Detail

SiderealDay

public SiderealDay()
Creates a Measurement equal to one sidereal day


SiderealDay

public SiderealDay(double value)
Creates a Measurement as a multiple of sidereal days

Parameters:
value - The number of Days

SiderealDay

public SiderealDay(Measurement mx)
Creates a Measurement that is equivalent to the input

Method Detail

getAbbr

public java.lang.String getAbbr()
An abbreviated description of the units of a sidereal day

Specified by:
getAbbr in interface Measurement
Overrides:
getAbbr in class BaseUnit
Returns:
The string "sday"

getDescription

public java.lang.String getDescription()
A description of the units of a sidereal day

Specified by:
getDescription in interface Measurement
Overrides:
getDescription in class BaseUnit
Returns:
The string "sidereal days"