Class BesselianEpoch
java.lang.Object
CoordinateEpoch
BesselianEpoch
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<CoordinateEpoch>
public class BesselianEpoch
- extends CoordinateEpoch
|
Field Summary |
static double |
MJD1900
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
MJD1900
public static final double MJD1900
- See Also:
- Constant Field Values
BesselianEpoch
public BesselianEpoch()
BesselianEpoch
public BesselianEpoch(double epoch)
getBesselianYear
public double getBesselianYear()
- Specified by:
getBesselianYear in class CoordinateEpoch
getJulianYear
public double getJulianYear()
- Specified by:
getJulianYear in class CoordinateEpoch
getJulianEpoch
public JulianEpoch getJulianEpoch()
setMJD
public void setMJD(double MJD)
- Specified by:
setMJD in class CoordinateEpoch
getMJD
public double getMJD()
- Specified by:
getMJD in class CoordinateEpoch
getYearForMJD
public static double getYearForMJD(double MJD)
getMJDForYear
public static double getMJDForYear(double year)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.String toString(java.text.NumberFormat nf)
parse
public void parse(java.lang.String text)
throws java.lang.NumberFormatException,
java.lang.IllegalArgumentException
- Throws:
java.lang.NumberFormatException
java.lang.IllegalArgumentException