/** * Core **time constants** used across the temporal utilities. * * ## Conventions * - **Base units**: seconds and milliseconds. * - **SI day**: exactly `86 400 s`. * - **Julian year** (astronomy): exactly `365.25 d = 31 557 600 s`. * * @see https://www.bipm.org/en/publications/si-brochure (SI Brochure - second & day) * @see https://en.wikipedia.org/wiki/Julian_year_(astronomy) (Julian year definition) * * @example * ```ts * const hoursPerDay = SECONDS_PER_DAY / 3600; // 24 * const msInTwoDays = 2 * MILLISECONDS_PER_DAY; // 172_800_000 * const secondsInHalfJulianYear = JULIAN_YEAR_SECONDS / 2; // 15_778_800 * ``` */ /** * Length of the **SI day** in seconds (exact). * @group Temporal */ export declare const SECONDS_PER_DAY: 86400; /** * Milliseconds in one second (exact). * @group Temporal */ export declare const MILLISECONDS_PER_SECOND: 1000; /** * Milliseconds in one **SI day**. * * ::: info * * Computed from {@link SECONDS_PER_DAY} × {@link MILLISECONDS_PER_SECOND}. * * ::: * * @group Temporal */ export declare const MILLISECONDS_PER_DAY: number; /** * Length of the **Julian year** in SI days (exactly 365.25). * @group Temporal */ export declare const JULIAN_YEAR_DAYS: 365.25; /** * Length of the **Julian year** in seconds. * * ::: info * * Computed as {@link SECONDS_PER_DAY} × {@link JULIAN_YEAR_DAYS} = **31 557 600 s**. * * ::: * * @group Temporal */ export declare const JULIAN_YEAR_SECONDS: number; //# sourceMappingURL=temporal.d.ts.map