/**
* Constants for time conversions like those done by {@link JulianDate}.
*
* @namespace TimeConstants
*
* @see JulianDate
*
* @private
*/
const TimeConstants = {
/**
* The number of seconds in one millisecond: 0.001
* @type {Number}
* @constant
*/
SECONDS_PER_MILLISECOND: 0.001,
/**
* The number of seconds in one minute: 60
.
* @type {Number}
* @constant
*/
SECONDS_PER_MINUTE: 60.0,
/**
* The number of minutes in one hour: 60
.
* @type {Number}
* @constant
*/
MINUTES_PER_HOUR: 60.0,
/**
* The number of hours in one day: 24
.
* @type {Number}
* @constant
*/
HOURS_PER_DAY: 24.0,
/**
* The number of seconds in one hour: 3600
.
* @type {Number}
* @constant
*/
SECONDS_PER_HOUR: 3600.0,
/**
* The number of minutes in one day: 1440
.
* @type {Number}
* @constant
*/
MINUTES_PER_DAY: 1440.0,
/**
* The number of seconds in one day, ignoring leap seconds: 86400
.
* @type {Number}
* @constant
*/
SECONDS_PER_DAY: 86400.0,
/**
* The number of days in one Julian century: 36525
.
* @type {Number}
* @constant
*/
DAYS_PER_JULIAN_CENTURY: 36525.0,
/**
* One trillionth of a second.
* @type {Number}
* @constant
*/
PICOSECOND: 0.000000001,
/**
* The number of days to subtract from a Julian date to determine the
* modified Julian date, which gives the number of days since midnight
* on November 17, 1858.
* @type {Number}
* @constant
*/
MODIFIED_JULIAN_DATE_DIFFERENCE: 2400000.5,
};
export default Object.freeze(TimeConstants);