diff --git a/src/pim-types.ts b/src/pim-types.ts index e84a0cf..bac872a 100644 --- a/src/pim-types.ts +++ b/src/pim-types.ts @@ -25,6 +25,14 @@ export class EventType extends ICAL.Event implements PimType { return this.endDate.toJSDate(); } + get allDay() { + return this.startDate.isDate; + } + + get desc() { + return this.description; + } + toIcal() { let comp = new ICAL.Component(['vcalendar', [], []]); comp.updatePropertyWithValue('prodid', '-//iCal.js EteSync Web');