Files
dpu-shared/dist/timehelper.d.ts

14 lines
503 B
TypeScript

export declare class TimeSpan {
private start;
private end;
constructor(timeSpanStr: string);
private parseTime;
contains(timestamp?: number): boolean;
}
export interface TimeBetween {
seconds: number;
toReadable: (roundToMinutes?: boolean) => string;
}
export declare function calculateSecondsBetween(start: number, end: number): TimeBetween;
export declare function secondsToReadable(secs: number, roundToMinutes?: boolean): string;
//# sourceMappingURL=timehelper.d.ts.map