/** * @param name the property name */ public DateListProperty(final String name, PropertyFactory factory) { this(name, new DateList(Value.DATE_TIME), factory); }
/** * @param name the property name */ public DateListProperty(final String name, PropertyFactoryImpl factory) { this(name, new DateList(Value.DATE_TIME), factory); }
/** * @param name the property name */ public DateListProperty(final String name, PropertyFactory factory) { this(name, new DateList(Value.DATE_TIME), factory); }
/** * @param name the property name */ public DateListProperty(final String name, PropertyFactoryImpl factory) { this(name, new DateList(Value.DATE_TIME), factory); }
/** * @param name the property name */ public DateListProperty(final String name, PropertyFactory factory) { this(name, new DateList(Value.DATE_TIME), factory); }
/** * Constructor. * * @param aList a list of parameters for this component * @param periods a list of periods */ public RDate(final ParameterList aList, final PeriodList periods) { super(RDATE, aList, new DateList(true), new Factory()); this.periods = periods; }
/** * Constructor. * * @param periods a list of periods */ public RDate(final PeriodList periods) { super(RDATE, new DateList(true), new Factory()); this.periods = periods; }
/** * Constructor. * * @param aList a list of parameters for this component * @param periods a list of periods */ public RDate(final ParameterList aList, final PeriodList periods) { super(RDATE, aList, new DateList(true), new Factory()); this.periods = periods; }
/** * {@inheritDoc} */ public void setValue(final String aValue) throws ParseException { dates = new DateList(aValue, getParameter(Parameter.VALUE), timeZone); }
/** * Constructor. * * @param periods a list of periods */ public RDate(final PeriodList periods) { super(RDATE, new DateList(true), PropertyFactoryImpl.getInstance()); this.periods = periods; }
/** * @param value * @param type * @param expectedSize * @throws ParseException */ public DateListTest(String value, Value type, int expectedSize) throws ParseException { this(new DateList(value, type), expectedSize); }
/** * {@inheritDoc} */ public void setValue(final String aValue) throws ParseException { dates = new DateList(aValue, getParameter(Parameter.VALUE), timeZone); }
/** * {@inheritDoc} */ public void setValue(final String aValue) throws ParseException { dates = new DateList(aValue, (Value) getParameter(Parameter.VALUE), timeZone); }
/** * Constructor. * * @param periods a list of periods */ public RDate(final PeriodList periods) { super(RDATE, new DateList(true), PropertyFactoryImpl.getInstance()); this.periods = periods; }
/** * Constructor. * * @param aList a list of parameters for this component * @param periods a list of periods */ public RDate(final ParameterList aList, final PeriodList periods) { super(RDATE, aList, new DateList(true), PropertyFactoryImpl.getInstance()); this.periods = periods; }
/** * Constructor. * * @param periods a list of periods */ public RDate(final PeriodList periods) { super(RDATE, new DateList(true), new Factory()); this.periods = periods; }
/** * Constructor. * * @param aList a list of parameters for this component * @param periods a list of periods */ public RDate(final ParameterList aList, final PeriodList periods) { super(RDATE, aList, new DateList(true), PropertyFactoryImpl.getInstance()); this.periods = periods; }
/** * {@inheritDoc} */ public void setValue(final String aValue) throws ParseException { dates = new DateList(aValue, (Value) getParameter(Parameter.VALUE), timeZone); }
/** * {@inheritDoc} */ public void setValue(final String aValue) throws ParseException { dates = new DateList(aValue, (Value) getParameter(Parameter.VALUE), timeZone); }
@Test @Ignore public void testToString() throws Exception { RDate rDate = new RDate(new ParameterList(), "20121212T121212Z"); assertEquals(Property.RDATE + ":20121212T121212Z" + Strings.LINE_SEPARATOR, rDate.toString()); rDate = new RDate(new ParameterList(), new DateList("20121212T121212Z,20121213T121212Z", Value.DATE_TIME)); assertEquals(Property.RDATE + ":20121212T121212Z,20121213T121212Z" + Strings.LINE_SEPARATOR, rDate.toString()); rDate = new RDate(); rDate.setValue("20121212T121212Z"); assertEquals(Property.RDATE + ":20121212T121212Z" + Strings.LINE_SEPARATOR, rDate.toString()); }