Newer
Older
casic-smartcity-well-front / static / Cesium / Core / TimeStandard.js
[wangxitong] on 8 Jul 2021 751 bytes mars3d总览
/**
 * 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);