Files
dpu-shared/dist/timehelper.d.ts
2026-02-08 10:16:38 +01:00

16 lines
607 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 formatSecondsToDHMS(secs: number, roundToMinutes?: boolean): string;
export declare function formatSecondsToMS(s: number): string;
//# sourceMappingURL=timehelper.d.ts.map