Class BesselianEpoch

java.lang.Object
  extended by CoordinateEpoch
      extended by BesselianEpoch
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<CoordinateEpoch>

public class BesselianEpoch
extends CoordinateEpoch


Field Summary
static double MJD1900
           
 
Fields inherited from class CoordinateEpoch
precision, year
 
Constructor Summary
BesselianEpoch()
           
BesselianEpoch(double epoch)
           
 
Method Summary
 double getBesselianYear()
           
 JulianEpoch getJulianEpoch()
           
 double getJulianYear()
           
 double getMJD()
           
static double getMJDForYear(double year)
           
static double getYearForMJD(double MJD)
           
 void parse(java.lang.String text)
           
 void setMJD(double MJD)
           
 java.lang.String toString()
           
 java.lang.String toString(java.text.NumberFormat nf)
           
 
Methods inherited from class CoordinateEpoch
clone, compareTo, edit, edit, equals, forJulianDate, forString, getJulianDate, parse, parse
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MJD1900

public static final double MJD1900
See Also:
Constant Field Values
Constructor Detail

BesselianEpoch

public BesselianEpoch()

BesselianEpoch

public BesselianEpoch(double epoch)
Method Detail

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