返回 {
millisecond: 1;
second: number;
minute: number;
season: number;
month: number;
hour: number;
week: number;
year: number;
day: number;
}
return {
millisecond: 1,
second: 1000,
minute: 60 * 1000,
hour: 60 * 60 * 1000,
day: 24 * 60 * 60 * 1000,
week: 7 * 24 * 60 * 60 * 1000,
month: 30 * 24 * 60 * 60 * 1000,
season: (365 / 4) * 24 * 60 * 60 * 1000,
year: 365 * 24 * 60 * 60 * 1000,
}
millisecond: 1
second: number
minute: number
season: number
month: number
hour: number
week: number
year: number
day: number
获取时间段常数