Android Calendar
Represents a locally stored calendar, containing at.bitfire.ical4android.AndroidEvents (whose data objects are at.bitfire.ical4android.Events). Communicates with the Android Contacts Provider which uses an SQLite database to store the events.
Parameters
calendar provider
content values as read from the calendar provider; android.provider.BaseColumns._ID must be set
Throws
when android.provider.BaseColumns._ID is not set
Properties
see Calendars._ID
see Calendars.NAME
Functions
Calls AndroidCalendarProvider.deleteCalendar for this calendar.
Queries events from this calendar.
Gets a specific event, identified by its ID, from this calendar.
Gets the main event row of a specific event, identified by its ID, from this calendar.
Iterates events from this calendar.
Finds the amount of direct instances this event has (without exceptions); used by numInstances to find the number of instances of exceptions.
Finds the total number of instances this event has (including instances of exceptions)
Calls AndroidCalendarProvider.readCalendarSyncState for this calendar.
Calls AndroidCalendarProvider.updateCalendar for this calendar.
Updates a specific event's main row with the given values.
Updates events in this calendar.
Calls AndroidCalendarProvider.writeCalendarSyncState for this calendar.