/** * Constructor. Date or Date-Time format is determined based on the presence of a VALUE parameter. * * @param aList a list of parameters for this component * @param aDate a date representation of a date or date-time */ public RecurrenceId(final ParameterList aList, final Date aDate) { super(RECURRENCE_ID, aList, new Factory()); setDate(aDate); }
/** * Creates a new DTEND property initialised with the specified timezone and value. * * @param value a string representation of a DTEND value * @param timezone initial timezone * @throws ParseException where the specified value is not a valid string * representation */ public DtEnd(String value, TimeZone timezone) throws ParseException { super(DTEND, timezone, new Factory()); setValue(value); }
/** * @param duration a duration in milliseconds */ public Trigger(final TemporalAmount duration) { super(TRIGGER, new Factory()); setDuration(duration); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component * @throws ParseException when the specified string is not a valid list of periods */ public FreeBusy(final ParameterList aList, final String aValue) throws ParseException { super(FREEBUSY, aList, new Factory()); setValue(aValue); }