|
|
@ -37,6 +37,9 @@ declare module 'ical.js' {
|
|
|
|
|
|
|
|
|
|
|
|
component: Component;
|
|
|
|
component: Component;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isRecurring(): boolean;
|
|
|
|
|
|
|
|
iterator(startTime?: Time): RecurExpansion;
|
|
|
|
|
|
|
|
|
|
|
|
constructor(component?: Component | null,
|
|
|
|
constructor(component?: Component | null,
|
|
|
|
options?: {strictExceptions: boolean, exepctions: Array<Component|Event>});
|
|
|
|
options?: {strictExceptions: boolean, exepctions: Array<Component|Event>});
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -83,7 +86,20 @@ declare module 'ical.js' {
|
|
|
|
adjust(
|
|
|
|
adjust(
|
|
|
|
aExtraDays: number, aExtraHours: number, aExtraMinutes: number, aExtraSeconds: number, aTimeopt?: Time): void;
|
|
|
|
aExtraDays: number, aExtraHours: number, aExtraMinutes: number, aExtraSeconds: number, aTimeopt?: Time): void;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addDuration(aDuration: Duration): void;
|
|
|
|
|
|
|
|
subtractDateTz(aDate: Time): Duration;
|
|
|
|
|
|
|
|
|
|
|
|
toJSDate(): Date;
|
|
|
|
toJSDate(): Date;
|
|
|
|
toJSON(): TimeJsonData;
|
|
|
|
toJSON(): TimeJsonData;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Duration {
|
|
|
|
|
|
|
|
days: number;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RecurExpansion {
|
|
|
|
|
|
|
|
complete: boolean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
next(): Time;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|