以比 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 这一次是不是在跳跃的第二. |
- JulianDate#toGregorianDate
See:
Members
获得或设定月日为整数,从1开始.
获取或设定时数为整数,范围为[0,23].
确定这次是跳跃时间还是跳跃时间.
Gets or sets the millisecond of the second as a floating point number with range [0.0, 1000.0).
获取或设定小时的分钟为整数,范围为[0,59].
获取或设定月数为整数,范围为[1,12].
获得或设定分钟的第二位为整数,射程为[0,60],60代表跳跃的第二位.
获得或设定全年数字.