Titanium.Android.Calendar.Calendar

Platform Since
Android 1.5

Summary

An object which represents a single calendar in Android.

Description

See Titanium.Android.Calendar for examples.

Methods

Name Summary
addEventListener

Adds the specified callback as an event listener for the named event.

createEvent

Add an event to the calendar. Returns the created Titanium.Android.Calendar.Event.

fireEvent

Fires a synthesized event to any registered listeners.

getEventById

Returns the Titanium.Android.Calendar.Event object for the event with the given integer id.

getEventsBetweenDates

Returns an array of Titanium.Android.Calendar.Event objects with all events in the given date range.

getEventsInDate

Returns an array of Titanium.Android.Calendar.Event objects with all events on the given date.

getEventsInMonth

Returns an array of Titanium.Android.Calendar.Event objects with all events in the given month.

getEventsInYear

Returns an array of Titanium.Android.Calendar.Event objects with all events in the given year.

getHidden

Gets the value of the hidden property.

getId

Gets the value of the id property.

getName

Gets the value of the name property.

getSelected

Gets the value of the selected property.

removeEventListener

Removes the specified callback as an event listener for the named event.

Properties

Name Type Summary
hidden Boolean

Whether the calendar is hidden. read-only

id String

The id of the calendar. read-only

name String

The display name of the calendar. read-only

selected Boolean

Whether the calendar is selected. read-only

Events

This type has no events.