/*****************************************************************************************************************/ /*****************************************************************************************************************/ /** * * getJulianDate() * * * @param datetime - The date for which to calculate the Julian Date (JD). * @returns Julian Date as number - the Julian Date (JD) of the given date normalised to UTC. * */ export declare function getJulianDate(datetime: Date): number; /*****************************************************************************************************************/ /** * * getModifiedJulianDate() * * * @param datetime - The date for which to calculate the Modified Julian Date (MJD). * @returns Modified Julian Date as number - the Modified Julian Date (MJD) of the given date normalised to UTC. * */ export declare function getModifiedJulianDate(datetime: Date): number; /*****************************************************************************************************************/ /** * * getNumberOfCenturiesSinceJ2000() * * @param datetime - The date for which to calculate the number of centuries since J2000.0. * @returns number - the number of centuries since J2000.0. * */ export declare function getNumberOfCenturiesSinceJ2000(datetime: Date): number; /*****************************************************************************************************************/ /** * * getNumberOfMillenniaSinceJ2000() * * @param datetime - The date for which to calculate the number of millennia since J2000.0. * @returns number - the number of millennia since J2000.0. * */ export declare function getNumberOfMillenniaSinceJ2000(datetime: Date): number; /*****************************************************************************************************************/ /** * * getInternationalAtomicTime() * * The International Atomic Time (TAI) is the continuous time scale of the highly precise atomic * clocks worldwide, e.g., the civil time of the given date displaced by the leap seconds that * have been added to the UTC time scale to keep it within 0.9 seconds of the rotation of the * Earth. The difference between the two, e.g., DTAI, is drawn from the leap seconds published * by the International Earth Rotation and Reference Systems Service (IERS). * * N.B. The leap seconds are defined from the 1st January 1972, and so a date before the first * of them is returned as it is. * * @param datetime - The date to resolve the International Atomic Time (TAI) for. * @returns The International Atomic Time (TAI) of the given date. * */ export declare function getInternationalAtomicTime(datetime: Date): Date; /*****************************************************************************************************************/ /** * * getTerrestrialTime() * * The Terrestrial Time (TT) is the uniform time scale the ephemerides of the Sun, the Moon and * the planets are referred to, e.g., the International Atomic Time (TAI) of the given date * displaced by the constant 32.184 seconds that carries the atomic time scale onto the older * ephemeris time scale it succeeded. * * @param datetime - The date to resolve the Terrestrial Time (TT) for. * @returns The Terrestrial Time (TT) of the given date. * */ export declare function getTerrestrialTime(datetime: Date): Date; /*****************************************************************************************************************/