utils.d.ts 362B

1234567891011
  1. export declare type TimeData = {
  2. days: number;
  3. hours: number;
  4. minutes: number;
  5. seconds: number;
  6. milliseconds: number;
  7. };
  8. export declare function parseTimeData(time: number): TimeData;
  9. export declare function parseFormat(format: string, timeData: TimeData): string;
  10. export declare function isSameSecond(time1: number, time2: number): boolean;