Files
dpu-shared/dist/timehelper.d.ts
2025-11-24 01:36:55 +01:00

15 lines
543 B
TypeScript

export declare class TimeSpan {
private start;
private end;
private timeZone;
constructor(timeSpanStr: string, timeZone: 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