VSOPTime Class
Definition
This class provide time convert and management for VSOP2013.
Constructors
Use Datetime to initialize VSOPTime.
Parameters
dt
Datetime
A Datetime struct.
sourceframe
TimeFrame
TimeFrame of dt. Usually UTC.
Properties
DateTime UTC
UTC Time frame.
DateTime TAI
International Atomic Time
DateTime TT
Terrestrial Time (aka. TDT)
DateTime TDB
Barycentric Dynamical Time. VSOP2013 use this time frame in calculation.
double J2000
Get J2000 from TDB.
Methods
ChangeFrame
Convert a Datetime to specific time frame.
Parameters
dt
DateTime
A Datetime of any frame.
SourceFrame
TimeFrame
Time frame of dt
TargetFrame
TimeFrame
Target time frame.
Return
DateTime
Datetime of target time Frame.
ToJ2000
Convert a Datetime to J2000.
Parameters
dt
DateTime
Datetime to convert
Return
double
Julian date.
FromJ2000
Convert a J2000 to Datetime.
Parameters
double
Julian date to analyze.
Return
dt
DateTime
Datetime Class.
Last updated