net.fortuna.ical4j.model
Class WeekDayList
ArrayListnet.fortuna.ical4j.model.WeekDayList
- Serializable
public class WeekDayList
extends ArrayList
implements Serializable
$Id: WeekDayList.java,v 1.14 2008/12/16 12:34:52 fortuna Exp $ [29-May-2004]
Defines a list of days.
WeekDayList()- Default constructor.
|
WeekDayList(String aString)- Constructor.
|
WeekDayList(int initialCapacity)- Creates a new instance with the specified initial capacity.
|
boolean | add(Object arg0)- Overrides superclass to throw an
IllegalArgumentException
where argument is not a net.fortuna.ical4j.model.WeekDay.
|
boolean | add(WeekDay weekDay)
|
boolean | remove(WeekDay weekDay)
|
String | toString()
|
WeekDayList
public WeekDayList()
Default constructor.
WeekDayList
public WeekDayList(String aString)
Constructor.
aString - a string representation of a day list
WeekDayList
public WeekDayList(int initialCapacity)
Creates a new instance with the specified initial capacity.
initialCapacity - the initial capacity of the list
add
public final boolean add(Object arg0)
Overrides superclass to throw an IllegalArgumentException
where argument is not a net.fortuna.ical4j.model.WeekDay.
add
public final boolean add(WeekDay weekDay)
weekDay - a day to add to the list
remove
public final boolean remove(WeekDay weekDay)
weekDay - a day to remove from the list
toString
public final String toString()
java.lang.Object.toString()