/** * 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); }
/** * Constructor. Date or Date-Time format is determined based on the presence of a VALUE parameter. * * @param aDate a date representation of a date or date-time */ public RecurrenceId(final Date aDate) { super(RECURRENCE_ID, new Factory()); setDate(aDate); }
/** * Creates a new RECURRENCE_ID property initialised with the specified timezone and value. * * @param value a string representation of a RECURRENCE_ID value * @param timezone initial timezone * @throws ParseException where the specified value is not a valid string * representation */ public RecurrenceId(String value, TimeZone timezone) throws ParseException { super(RECURRENCE_ID, timezone, new Factory()); setValue(value); }
/** * Default constructor. */ public RecurrenceId() { super(RECURRENCE_ID, new Factory()); setDate(new DateTime()); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component * @throws ParseException where the specified value string is not a valid date-time/date representation */ public RecurrenceId(final ParameterList aList, final String aValue) throws ParseException { super(RECURRENCE_ID, aList, new Factory()); setValue(aValue); }
/** * Creates a new RECURRENCE_ID property initialised with the specified timezone. * * @param timezone initial timezone */ public RecurrenceId(TimeZone timezone) { super(RECURRENCE_ID, timezone, new Factory()); }
/** * 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 instance initialised with the parsed value. * * @param value the RECURRENCE_ID value string to parse * @throws ParseException where the specified string is not a valid RECURRENCE_ID value representation */ public RecurrenceId(final String value) throws ParseException { super(RECURRENCE_ID, new Factory()); setValue(value); }
/** * Constructor. Date or Date-Time format is determined based on the presence of a VALUE parameter. * * @param aDate a date representation of a date or date-time */ public RecurrenceId(final Date aDate) { super(RECURRENCE_ID, new Factory()); setDate(aDate); }
/** * @param aList a list of parameters for this component * @param aValue a value string for this component * @throws ParseException where the specified value string is not a valid date-time/date representation */ public RecurrenceId(final ParameterList aList, final String aValue) throws ParseException { super(RECURRENCE_ID, aList, new Factory()); setValue(aValue); }
/** * Creates a new RECURRENCE_ID property initialised with the specified timezone and value. * * @param value a string representation of a RECURRENCE_ID value * @param timezone initial timezone * @throws ParseException where the specified value is not a valid string * representation */ public RecurrenceId(String value, TimeZone timezone) throws ParseException { super(RECURRENCE_ID, timezone, new Factory()); setValue(value); }
/** * Default constructor. */ public RecurrenceId() { super(RECURRENCE_ID, new Factory()); setDate(new DateTime()); }
/** * Creates a new RECURRENCE_ID property initialised with the specified timezone. * * @param timezone initial timezone */ public RecurrenceId(TimeZone timezone) { super(RECURRENCE_ID, timezone, new Factory()); }
/** * Creates a new instance initialised with the parsed value. * * @param value the RECURRENCE_ID value string to parse * @throws ParseException where the specified string is not a valid RECURRENCE_ID value representation */ public RecurrenceId(final String value) throws ParseException { super(RECURRENCE_ID, new Factory()); setValue(value); }