add timezone to timespan

This commit is contained in:
Darius
2025-11-24 01:36:55 +01:00
parent 3dfa3007bf
commit 36f2535cf8
4 changed files with 24 additions and 9 deletions

View File

@@ -1,7 +1,8 @@
export declare class TimeSpan {
private start;
private end;
constructor(timeSpanStr: string);
private timeZone;
constructor(timeSpanStr: string, timeZone: string);
private parseTime;
contains(timestamp?: number): boolean;
}