/** * {@inheritDoc} */ public final void setValue(final String aValue) throws ParseException { periods = new PeriodList(aValue); }
/** * {@inheritDoc} */ public final void setValue(final String aValue) throws ParseException { periods = new PeriodList(aValue); }
/** * 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 dates a list of dates */ public RDate(final ParameterList aList, final DateList dates) { super(RDATE, aList, dates, new Factory()); periods = new PeriodList(false, true); }
/** * Constructor. Date or Date-Time format is determined based on the presence of a VALUE parameter. * * @param dates a list of dates */ public RDate(final DateList dates) { super(RDATE, dates, new Factory()); periods = new PeriodList(false, true); }
/** * Default constructor. */ public FreeBusy() { super(FREEBUSY, new Factory()); periods = new PeriodList(); }
/** * Default constructor. */ public RDate() { super(RDATE, PropertyFactoryImpl.getInstance()); periods = new PeriodList(false, true); }
/** * 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 dates a list of dates */ public RDate(final ParameterList aList, final DateList dates) { super(RDATE, aList, dates, PropertyFactoryImpl.getInstance()); periods = new PeriodList(false, true); }
/** * Default constructor. */ public RDate() { super(RDATE, PropertyFactoryImpl.getInstance()); periods = new PeriodList(false, true); }
/** * Default constructor. */ public RDate() { super(RDATE, new Factory()); periods = new PeriodList(false, true); }
/** * Default constructor. */ public FreeBusy() { super(FREEBUSY, new Factory()); periods = new PeriodList(); }
/** * Constructor. Date or Date-Time format is determined based on the presence of a VALUE parameter. * * @param dates a list of dates */ public RDate(final DateList dates) { super(RDATE, dates, PropertyFactoryImpl.getInstance()); periods = new PeriodList(false, true); }
/** * Default constructor. */ public FreeBusy() { super(FREEBUSY, PropertyFactoryImpl.getInstance()); periods = new PeriodList(); }
/** * Default constructor. */ public FreeBusy() { super(FREEBUSY, PropertyFactoryImpl.getInstance()); periods = new PeriodList(); }
/** * Default constructor. */ public RDate() { super(RDATE, new Factory()); periods = new PeriodList(false, true); }
/** * @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 RDate(final ParameterList aList, final String aValue) throws ParseException { super(RDATE, aList, new Factory()); periods = new PeriodList(false, true); setValue(aValue); }
/** * @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 RDate(final ParameterList aList, final String aValue) throws ParseException { super(RDATE, aList, PropertyFactoryImpl.getInstance()); periods = new PeriodList(false, true); setValue(aValue); }
/** * @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 RDate(final ParameterList aList, final String aValue) throws ParseException { super(RDATE, aList, new Factory()); periods = new PeriodList(false, true); setValue(aValue); }
/** * {@inheritDoc} */ public final void setValue(final String aValue) throws ParseException { if (Value.PERIOD.equals(getParameter(Parameter.VALUE))) { periods = new PeriodList(aValue); } else { super.setValue(aValue); } }
/** * {@inheritDoc} */ public final void setValue(final String aValue) throws ParseException { if (Value.PERIOD.equals(getParameter(Parameter.VALUE))) { periods = new PeriodList(aValue); } else { super.setValue(aValue); } }
@Override public void visit(TemporalExpressions.DateRange expr) { if (this.state.isExcluded) { throw new IllegalStateException("iCalendar does not support excluded date ranges"); } org.apache.ofbiz.base.util.DateRange range = expr.getDateRange(); PeriodList periodList = new PeriodList(); periodList.add(new Period(new DateTime(range.start()), new DateTime(range.end()))); this.incDateList.add(new RDate(periodList)); }