You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
751 B
JavaScript
31 lines
751 B
JavaScript
/**
|
|
* Provides the type of time standards which JulianDate can take as input.
|
|
*
|
|
* @enum {Number}
|
|
*
|
|
* @see JulianDate
|
|
*/
|
|
var TimeStandard = {
|
|
/**
|
|
* Represents the coordinated Universal Time (UTC) time standard.
|
|
*
|
|
* UTC is related to TAI according to the relationship
|
|
* <code>UTC = TAI - deltaT</code> where <code>deltaT</code> is the number of leap
|
|
* seconds which have been introduced as of the time in TAI.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
UTC: 0,
|
|
|
|
/**
|
|
* Represents the International Atomic Time (TAI) time standard.
|
|
* TAI is the principal time standard to which the other time standards are related.
|
|
*
|
|
* @type {Number}
|
|
* @constant
|
|
*/
|
|
TAI: 1,
|
|
};
|
|
export default Object.freeze(TimeStandard);
|