@Override public List<ComponentFactory> get() { List<ComponentFactory> rfc5545 = Arrays.asList(new Available.Factory(), new Daylight.Factory(), new Standard.Factory(), new VAlarm.Factory(), new VAvailability.Factory(), new VEvent.Factory(), new VFreeBusy.Factory(), new VJournal.Factory(), new VTimeZone.Factory(), new VToDo.Factory(), new VVenue.Factory()); return rfc5545; } }
@Override public VEvent createComponent(PropertyList properties, ComponentList subComponents) { return new VEvent(properties, subComponents); } }
/** * @return the optional access classification property for an event */ public final Clazz getClassification() { return getProperty(Property.CLASS); }
/** * Unit tests for {@link VEvent#getOccurrence(Date)}. */ public void testGetOccurrence() throws IOException, ParseException, URISyntaxException { VEvent occurrence = event.getOccurrence(date); assertNotNull(occurrence); assertEquals(event.getUid(), occurrence.getUid()); }
/** * Apply validation for METHOD=ADD. * @throws ValidationException where the component does not comply with RFC2446 * @deprecated */ public final void validateAdd() throws ValidationException { validate(Method.ADD); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return getProperty(Property.LAST_MODIFIED); }
/** * Returns the optional description property. * @return the DESCRIPTION property or null if not specified */ public final Description getDescription() { return getProperty(Property.DESCRIPTION); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return getProperty(Property.LAST_MODIFIED); }
/** * Returns the mandatory tzoffsetto property. * * @return the TZOFFSETTO property or null if not specified */ public final TzOffsetTo getOffsetTo() { return getProperty(Property.TZOFFSETTO); }
/** * Convenience method to pull the DTSTART out of the property list. * @return The DtStart object representation of the start Date */ public final DtStart getStartDate() { return getProperty(Property.DTSTART); }
@Override public List<ComponentFactory> get() { List<ComponentFactory> rfc5545 = Arrays.asList(new Available.Factory(), new Daylight.Factory(), new Standard.Factory(), new VAlarm.Factory(), new VAvailability.Factory(), new VEvent.Factory(), new VFreeBusy.Factory(), new VJournal.Factory(), new VTimeZone.Factory(), new VToDo.Factory(), new VVenue.Factory()); return rfc5545; } }
/** * @return the optional creation-time property for an event */ public final Created getCreated() { return getProperty(Property.CREATED); }
/** * Apply validation for METHOD=CANCEL. * @throws ValidationException where the component does not comply with RFC2446 * @deprecated */ public final void validateCancel() throws ValidationException { validate(Method.CANCEL); }
/** * @return the optional URL property */ public final Url getUrl() { return getProperty(Property.URL); }
/** * Returns the optional repeat property. * @return the REPEAT property or null if not specified */ public final Repeat getRepeat() { return getProperty(Property.REPEAT); }
/** * Convenience method to pull the DTSTART out of the property list. * @return The DtStart object representation of the start Date */ public final DtStart getStartDate() { return getProperty(Property.DTSTART); }
/** * Apply validation for METHOD=COUNTER. * @throws ValidationException where the component does not comply with RFC2446 * @deprecated */ public final void validateCounter() throws ValidationException { validate(Method.COUNTER); }
/** * @return the optional description property */ public final Description getDescription() { return getProperty(Property.DESCRIPTION); }
/** * @return the optional geographic position property for an event */ public final Geo getGeographicPos() { return getProperty(Property.GEO); }
/** * @return the optional Duration property */ public final Duration getDuration() { return getProperty(Property.DURATION); }