java.lang.Object
net.fortuna.ical4j.model.DateList<T>
- All Implemented Interfaces:
Serializable
$Id$ [23-Apr-2004]
A DateList is a grouping of date-time instances along with a common format to
be applied to all dates in the group.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDateList()Default constructor.DateList(Collection<T> dates) DateList(TimeZoneRegistry timeZoneRegistry, T... dates) Constructs a new date list of the specified type containing the dates in the specified list. -
Method Summary
Modifier and TypeMethodDescriptionAdd a date to the list.addAll(Collection<? extends T> arg0) booleangetDates()inthashCode()Parse a string representation of a date/time list.static DateList<ZonedDateTime>parse(String value, TzId tzId, TimeZoneRegistry timeZoneRegistry) toString()
-
Field Details
-
EMPTY_LIST
-
-
Constructor Details
-
DateList
public DateList()Default constructor. -
DateList
Constructs a new date list of the specified type containing the dates in the specified list.- Parameters:
dates- a list of dates to include in the new list
-
DateList
-
DateList
-
-
Method Details
-
parse
Parse a string representation of a date/time list.- Parameters:
value-- Returns:
- Throws:
DateTimeParseException
-
parse
-
parse
public static DateList<ZonedDateTime> parse(String value, TzId tzId, TimeZoneRegistry timeZoneRegistry) -
emptyList
-
toString
-
toString
-
add
Add a date to the list. The date will be updated to reflect the timezone of this list.- Parameters:
date- the date to add- Returns:
- true
- See Also:
-
addAll
-
getDates
-
equals
-
hashCode
public int hashCode()
-