123456789101112131415161718192021222324252627282930 |
- /**
- * Provides the type of time standards which JulianDate can take as input.
- *
- * @enum {number}
- *
- * @see JulianDate
- */
- const 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);
|