2019-12-23 14:13:27 +08:00
|
|
|
export declare type TimeData = {
|
|
|
|
days: number;
|
|
|
|
hours: number;
|
|
|
|
minutes: number;
|
|
|
|
seconds: number;
|
|
|
|
milliseconds: number;
|
|
|
|
};
|
|
|
|
export declare function parseTimeData(time: number): TimeData;
|
|
|
|
export declare function parseFormat(format: string, timeData: TimeData): string;
|
|
|
|
export declare function isSameSecond(time1: number, time2: number): boolean;
|