new Cesium.GregorianDate(year, month, day, hour, minute, second, millisecond, isLeapSecond)

以比 JavaScript Date 对象更精确的格式代表一个Gregorian 日期. 除了次米秒精度外,这个对象还可以代表跳跃秒.
Name Type Description
year number optional 年全数.
month number optional 月为整数,范围为[1,12].
day number optional 月全日数字从1开始.
hour number optional 小时为整数,范围为[0,23].
minute number optional 小时的分钟为整数,射程为[0,59].
second number optional 第二分钟为整数,射程[0,60],60代表跳跃第二.
millisecond number optional The millisecond of the second as a floating point number with range [0.0, 1000.0).
isLeapSecond boolean optional 这一次是不是在跳跃的第二.
See:
  • JulianDate#toGregorianDate

Members

day : number

获得或设定月日为整数,从1开始.

hour : number

获取或设定时数为整数,范围为[0,23].

isLeapSecond : boolean

确定这次是跳跃时间还是跳跃时间.

millisecond : number

Gets or sets the millisecond of the second as a floating point number with range [0.0, 1000.0).

minute : number

获取或设定小时的分钟为整数,范围为[0,59].

month : number

获取或设定月数为整数,范围为[1,12].

second : number

获得或设定分钟的第二位为整数,射程为[0,60],60代表跳跃的第二位.

year : number

获得或设定全年数字.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.