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

13 lines
462 B
TypeScript

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