diff --git a/src/ical.js.d.ts b/src/ical.js.d.ts index 3b2e4f6..c392add 100644 --- a/src/ical.js.d.ts +++ b/src/ical.js.d.ts @@ -38,6 +38,20 @@ declare module 'ical.js' { class Time { isDate: boolean; + static fromString(str: string): Time; + + constructor(data?: { + year?: number, + month?: number, + day?: number, + hour?: number, + minute?: number, + second?: number, + isDate?: boolean + }); + + fromJSDate(aDate: Date | null, useUTC: boolean): void; + toJSDate(): Date; } }