You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/timescale/mod.rs
+37-6Lines changed: 37 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,9 @@ use serde_derive::{Deserialize, Serialize};
19
19
20
20
mod fmt;
21
21
22
+
/// EXPERIMENTAL Temps Lunaire Coordonnee / Lunar Coordinated Time
23
+
pub(crate)mod tcl;
24
+
22
25
usecrate::{Duration,Epoch,Unit,SECONDS_PER_DAY};
23
26
24
27
/// The J1900 reference epoch (1900-01-01 at noon) TAI.
@@ -95,7 +98,8 @@ pub enum TimeScale {
95
98
TDB,
96
99
/// Universal Coordinated Time
97
100
UTC,
98
-
/// GPS Time scale whose reference epoch is UTC midnight between 05 January and 06 January 1980; cf. <https://gssc.esa.int/navipedia/index.php/Time_References_in_GNSS#GPS_Time_.28GPST.29>. |UTC - TAI| = 19 Leap Seconds on that day.
101
+
/// GPS Time scale whose reference epoch is UTC midnight between 05 January and 06 January 1980;
102
+
/// cf. <https://gssc.esa.int/navipedia/index.php/Time_References_in_GNSS#GPS_Time_.28GPST.29>. |UTC - TAI| = 19 Leap Seconds on that day.
99
103
GPST,
100
104
/// Galileo Time scale
101
105
GST,
@@ -107,6 +111,22 @@ pub enum TimeScale {
107
111
TCG,
108
112
/// Barycentric Coordinate Time
109
113
TCB,
114
+
/// Experimental Lunar Time, option (iii) from the Lunar Reference Timescale paper, A Bourgoin*, P Defraigne and F Meynadier
115
+
///
116
+
/// TL is defined as a linear scaling of TCL such that TL has no secular drift
117
+
/// with respect to TT. Since this implementation omits the bounded periodic
118
+
/// TCL-TT terms, TL is equivalent to TT after the common 1977 reference epoch.
119
+
TL,
120
+
/// Experimental mean Lunar Coordinate Time of Lunar reference timescale, A Bourgoin*, P Defraigne and F Meynadier
121
+
///
122
+
/// This is not a full IAU-quality TCL realization. It models only the
123
+
/// conventional secular mean rate between TCL and TT:
124
+
/// ```text
125
+
/// d(TCL - TT) / dTT ≈ 6.8e-10
126
+
/// ```
127
+
/// The bounded periodic TCL-TT terms and ephemeris-dependent relativistic
0 commit comments