/** * Constructs a new calendar with no properties and the specified components. * @param components a list of components to add to the calendar */ public Calendar(final ComponentList<CalendarComponent> components) { this(new PropertyList(), components); }
/** * Constructs a new calendar with no properties and the specified components. * @param components a list of components to add to the calendar */ public Calendar(final ComponentList<CalendarComponent> components) { this(new PropertyList<Property>(), components); }
/** * Constructs a new calendar with no properties and the specified components. * @param components a list of components to add to the calendar */ public Calendar(final ComponentList<CalendarComponent> components) { this(new PropertyList<Property>(), components); }
/** * Constructs a new component containing no properties. * * @param s a component name */ protected Component(final String s) { this(s, new PropertyList<Property>()); }
/** * Constructs a new calendar with no properties and the specified components. * @param components a list of components to add to the calendar */ public Calendar(final ComponentList<CalendarComponent> components) { this(new PropertyList<Property>(), components); }
/** * Constructs a new component containing no properties. * @param s a component name */ protected Component(final String s) { this(s, new PropertyList()); }
/** * Constructs a new component containing no properties. * * @param s a component name */ protected Component(final String s) { this(s, new PropertyList()); }
/** * Constructs a new component containing no properties. * * @param s a component name */ protected Component(final String s) { this(s, new PropertyList<Property>()); }
/** * Constructs a new component containing no properties. * * @param s a component name */ protected Component(final String s) { this(s, new PropertyList<Property>()); }
/** * Constructs a new calendar with no properties and the specified components. * @param components a list of components to add to the calendar */ public Calendar(final ComponentList components) { this(new PropertyList(), components); }
/** * Default constructor. */ public Calendar() { this(new PropertyList(), new ComponentList<CalendarComponent>()); }
/** * Default constructor. */ public Calendar() { this(new PropertyList<Property>(), new ComponentList<CalendarComponent>()); }
/** * Default constructor. */ public Calendar() { this(new PropertyList<Property>(), new ComponentList<CalendarComponent>()); }
/** * Default constructor. */ public Calendar() { this(new PropertyList(), new ComponentList()); }
/** * @param name a component name * @return a new component instance of the specified type */ public Component createComponent(final String name) { return createComponent(name, new PropertyList()); }
/** * 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())); }
/** * 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())); }
/** * 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())); }
/** * 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())); }
/** * 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(c .getComponents())); }