11 lines
362 B
TypeScript
11 lines
362 B
TypeScript
|
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;
|