/** * Constructor. * @param properties a list of properties */ public VEvent(final PropertyList properties) { super(VEVENT, properties); this.alarms = new ComponentList<VAlarm>(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VAvailability(final PropertyList properties) { super(VAVAILABILITY, properties); this.available = new ComponentList<Available>(); }
/** * Default constructor. */ public VTimeZone() { super(VTIMEZONE); this.observances = new ComponentList<Observance>(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VTimeZone(final PropertyList properties) { super(VTIMEZONE, properties); this.observances = new ComponentList<Observance>(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VTimeZone(final PropertyList properties) { super(VTIMEZONE, properties); this.observances = new ComponentList<Observance>(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VTimeZone(final PropertyList properties) { super(VTIMEZONE, properties); this.observances = new ComponentList<Observance>(); }
/** * Default constructor. */ public VVoter() { super(VVOTER); this.votes = new ComponentList(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VVoter(final PropertyList properties) { super(VVOTER, properties); this.votes = new ComponentList(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VAvailability(final PropertyList properties) { super(VAVAILABILITY, properties); this.available = new ComponentList(); }
/** * Constructs a new instance containing the specified properties. * @param properties a list of properties */ public VAvailability(final PropertyList properties) { super(VAVAILABILITY, properties); this.available = new ComponentList<Available>(); }
/** * Default constructor. */ public Calendar() { this(new PropertyList<Property>(), new ComponentList<CalendarComponent>()); }
/** * Wraps a component in a calendar. * @param component the component to wrap with a calendar * @return a calendar containing the specified component */ public static Calendar wrap(final CalendarComponent... component) { final ComponentList<CalendarComponent> components = new ComponentList<>(Arrays.asList(component)); return new Calendar(components); }
/** * Wraps a component in a calendar. * @param component the component to wrap with a calendar * @return a calendar containing the specified component */ public static Calendar wrap(final CalendarComponent... component) { final ComponentList<CalendarComponent> components = new ComponentList<>(Arrays.asList(component)); return new Calendar(components); }
/** * Default constructor. */ public Calendar() { this(new PropertyList<Property>(), new ComponentList<CalendarComponent>()); }
/** * Wraps a component in a calendar. * @param component the component to wrap with a calendar * @return a calendar containing the specified component */ public static Calendar wrap(final CalendarComponent component) { final ComponentList<CalendarComponent> components = new ComponentList<CalendarComponent>(); components.add(component); return new Calendar(components); }
/** * Wraps a component in a calendar. * @param component the component to wrap with a calendar * @return a calendar containing the specified component */ public static Calendar wrap(final Component component) { final ComponentList components = new ComponentList(); components.add(component); return new Calendar(components); }
public VEvent(boolean initialise) { super(VEVENT); this.alarms = new ComponentList<VAlarm>(); if (initialise) { getProperties().add(new DtStamp()); } }
/** * Creates a deep copy of the specified calendar. * @param c the calendar to copy * @throws IOException where an error occurs reading calendar data * @throws ParseException where calendar parsing fails * @throws URISyntaxException where an invalid URI string is encountered */ public Calendar(Calendar c) throws ParseException, IOException, URISyntaxException { this(new PropertyList<Property>(c.getProperties()), new ComponentList<CalendarComponent>(c.getComponents())); }
public VAvailability(boolean initialise) { super(VAVAILABILITY); this.available = new ComponentList<Available>(); if (initialise) { getProperties().add(new DtStamp()); } }
/** * Creates a deep copy of the specified calendar. * @param c the calendar to copy * @throws IOException where an error occurs reading calendar data * @throws ParseException where calendar parsing fails * @throws URISyntaxException where an invalid URI string is encountered */ public Calendar(Calendar c) throws ParseException, IOException, URISyntaxException { this(new PropertyList(c.getProperties()), new ComponentList<CalendarComponent>(c.getComponents())); }