/** * @return the optional priority property for an event */ public final Priority getPriority() { return getProperty(Property.PRIORITY); }
/** * @return the optional date-stamp property */ public final DtStamp getDateStamp() { return getProperty(Property.DTSTAMP); }
/** * @return the optional description property for an event */ public final Description getDescription() { return getProperty(Property.DESCRIPTION); }
/** * @return the optional location property for an event */ public final Location getLocation() { return getProperty(Property.LOCATION); }
/** * @return the optional organizer property for an event */ public final Organizer getOrganizer() { return getProperty(Property.ORGANIZER); }
/** * @return the optional status property for an event */ public final Status getStatus() { return getProperty(Property.STATUS); }
/** * @return the optional URL property for an event */ public final Url getUrl() { return getProperty(Property.URL); }
/** * @return the optional time transparency property for an event */ public final Transp getTransparency() { return getProperty(Property.TRANSP); }
/** * @return the optional priority property for an event */ public final Priority getPriority() { return (Priority) getProperty(Property.PRIORITY); }
/** * @return the optional recurrence identifier property for an event */ public final RecurrenceId getRecurrenceId() { return (RecurrenceId) getProperty(Property.RECURRENCE_ID); }
/** * @return the optional creation-time property for an event */ public final Created getCreated() { return (Created) getProperty(Property.CREATED); }
/** * @return the optional sequence number property for an event */ public final Sequence getSequence() { return (Sequence) getProperty(Property.SEQUENCE); }
/** * @return the optional time transparency property for an event */ public final Transp getTransparency() { return (Transp) getProperty(Property.TRANSP); }
/** * @return the optional location property for an event */ public final Location getLocation() { return (Location) getProperty(Property.LOCATION); }
/** * Returns the UID property of this component if available. * @return a Uid instance, or null if no UID property exists */ public final Uid getUid() { return (Uid) getProperty(Property.UID); }
/** * @return the optional sequence number property for an event */ public final Sequence getSequence() { return getProperty(Property.SEQUENCE); }
/** * 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 (DtStart) getProperty(Property.DTSTART); }
/** * @return the optional last-modified property for an event */ public final LastModified getLastModified() { return (LastModified) getProperty(Property.LAST_MODIFIED); }
/** * @return the optional date-stamp property */ public final DtStamp getDateStamp() { return (DtStamp) getProperty(Property.DTSTAMP); }
public final void test3() { java.util.Calendar cal = getCalendarInstance(); // tomorrow.. cal.add(java.util.Calendar.DAY_OF_MONTH, 1); cal.set(java.util.Calendar.HOUR_OF_DAY, 9); cal.set(java.util.Calendar.MINUTE, 30); VEvent meeting = new VEvent(new DateTime(cal.getTime().getTime()), java.time.Duration.ofHours(1), "Progress Meeting"); // add timezone information.. meeting.getProperty(Property.DTSTART).getParameters().add(tzParam); log.info(meeting.toString()); }