com.compoze.exchange.webdav
Class Appointments
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.AbstractSequentialList
|
+--com.compoze.exchange.webdav.Items
|
+--com.compoze.exchange.webdav.Messages
|
+--com.compoze.exchange.webdav.Appointments
- All Implemented Interfaces:
- java.util.Collection, java.util.List
- public class Appointments
- extends Messages
This class represents a list of appointments. This list
provides convenience methods to create sub-lists of
appointments based on specified dates.
- See Also:
subList(java.util.Date,java.util.Calendar)
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
java.util.List |
subList(java.util.Date givenDate)
Returns an appointment list of the portion of this list occuring
on the given date. |
java.util.List |
subList(java.util.Date givenDate,
java.util.Calendar cal)
Returns an appointment list of the portion of this list occuring
on the given date. |
java.util.List |
subList(java.util.Date startDate,
java.util.Date endDate)
Returns an appointment list of the portion of this list between the specified
start and end date range. |
Methods inherited from class java.util.AbstractSequentialList |
addAll, get, iterator, remove, set |
Methods inherited from class java.util.AbstractList |
equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Appointments
protected Appointments()
- Constructor.
subList
public java.util.List subList(java.util.Date givenDate)
throws ExchangeException
- Returns an appointment list of the portion of this list occuring
on the given date. The default calendar instance is used.
- Parameters:
givenDate
- the given date- Returns:
- the list of
Appointment
objects (unmodifiable)
subList
public java.util.List subList(java.util.Date givenDate,
java.util.Calendar cal)
throws ExchangeException
- Returns an appointment list of the portion of this list occuring
on the given date.
- Parameters:
givenDate
- the given datecal
- the calendar instance to use- Returns:
- the list of
Appointment
objects (unmodifiable)
subList
public java.util.List subList(java.util.Date startDate,
java.util.Date endDate)
throws ExchangeException
- Returns an appointment list of the portion of this list between the specified
start and end date range. Appointments are considered between this date range
if any part of the appointment date range overlaps the specified date range.
- Parameters:
startDate
- the start dateendDate
- the end date- Returns:
- the list of
Appointment
objects within the date range (unmodifiable) - See Also:
DateRange
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.