Retrieving Calendar Exceptions

[ ]

Retrieving Calendar Exceptions The Calendar class returns the exceptions as a collection using the getExceptions() method. The getFromDate() and getToDate() methods exposed by CalendarException are used to retrieve dates for calendar exceptions. Both of these methods support the Date data type.

Programming Sample

The following example retrieves calendar exceptions.