Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Ephemeris Time
 /// </summary>
 /// <param name="day">The Julian Day</param>
 /// <param name="deltaT">The DeltaT value</param>
 public EphemerisTime(JulianDay day, Double deltaT)
     : this()
 {
     this.JulianDay = day;
     this.DeltaT    = deltaT;
     this.Value     = this.JulianDay.Value + this.DeltaT;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get Date UT from Julian Day
 /// </summary>
 public DateUT DateUT(JulianDay jd)
 {
     return(SweDate.JulianDayToDate(jd.Value, jd.Calendar));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create an Ephemeris Time
 /// </summary>
 public EphemerisTime EphemerisTime(JulianDay day)
 {
     return(new EphemerisTime(day, Date.DeltaT(day)));
 }