Build 1.0_r1(from source)

android.provider
Class Calendar.Instances

java.lang.Object
  extended by android.provider.Calendar.Instances
All Implemented Interfaces:
BaseColumns, Calendar.CalendarsColumns, Calendar.EventsColumns
Enclosing class:
Calendar

public static final class Calendar.Instances
extends Object
implements BaseColumns, Calendar.EventsColumns, Calendar.CalendarsColumns

Contains one entry per calendar event instance. Recurring events show up every time they occur.


Field Summary
static String BEGIN
          The beginning time of the instance, in UTC milliseconds
static Uri CONTENT_URI
          The content:// style URL for this table
static String DEFAULT_SORT_ORDER
          The default sort order for this table.
static String END
          The ending time of the instance, in UTC milliseconds
static String END_DAY
          The Julian end day of the instance, relative to the local timezone
static String END_MINUTE
          The end minute of the instance measured from midnight in the local timezone.
static String EVENT_ID
          The event for this instance
static String SORT_CALENDAR_VIEW
          The sort order is: events with an earlier start time occur first and if the start times are the same, then events with a later end time occur first.
static String START_DAY
          The Julian start day of the instance, relative to the local timezone
static String START_MINUTE
          The start minute of the instance measured from midnight in the local timezone.
 
Fields inherited from interface android.provider.BaseColumns
_COUNT, _ID
 
Fields inherited from interface android.provider.Calendar.EventsColumns
ALL_DAY, CALENDAR_ID, COMMENTS_URI, DESCRIPTION, DTEND, DTSTART, DURATION, EVENT_LOCATION, EVENT_TIMEZONE, EXDATE, EXRULE, HAS_ALARM, HAS_EXTENDED_PROPERTIES, HTML_URI, LAST_DATE, ORIGINAL_EVENT, ORIGINAL_INSTANCE_TIME, RDATE, RRULE, SELF_ATTENDEE_STATUS, STATUS, STATUS_CANCELED, STATUS_CONFIRMED, STATUS_TENTATIVE, TITLE, TRANSPARENCY, TRANSPARENCY_OPAQUE, TRANSPARENCY_TRANSPARENT, VISIBILITY, VISIBILITY_CONFIDENTIAL, VISIBILITY_DEFAULT, VISIBILITY_PRIVATE, VISIBILITY_PUBLIC
 
Fields inherited from interface android.provider.Calendar.CalendarsColumns
ACCESS_LEVEL, COLOR, CONTRIBUTOR_ACCESS, EDITOR_ACCESS, FREEBUSY_ACCESS, NO_ACCESS, OVERRIDE_ACCESS, OWNER_ACCESS, READ_ACCESS, RESPOND_ACCESS, ROOT_ACCESS, SELECTED, SYNC_EVENTS, TIMEZONE
 
Constructor Summary
Calendar.Instances()
           
 
Method Summary
static Cursor query(ContentResolver cr, String[] projection, long begin, long end)
           
static Cursor query(ContentResolver cr, String[] projection, long begin, long end, String where, String orderBy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_URI

public static final Uri CONTENT_URI
The content:// style URL for this table


DEFAULT_SORT_ORDER

public static final String DEFAULT_SORT_ORDER
The default sort order for this table.

See Also:
Constant Field Values

SORT_CALENDAR_VIEW

public static final String SORT_CALENDAR_VIEW
The sort order is: events with an earlier start time occur first and if the start times are the same, then events with a later end time occur first. The later end time is ordered first so that long-running events in the calendar views appear first. If the start and end times of two events are the same then we sort alphabetically on the title. This isn't required for correctness, it just adds a nice touch.

See Also:
Constant Field Values

BEGIN

public static final String BEGIN
The beginning time of the instance, in UTC milliseconds

Type: INTEGER (long; millis since epoch)

See Also:
Constant Field Values

END

public static final String END
The ending time of the instance, in UTC milliseconds

Type: INTEGER (long; millis since epoch)

See Also:
Constant Field Values

EVENT_ID

public static final String EVENT_ID
The event for this instance

Type: INTEGER (long, foreign key to the Events table)

See Also:
Constant Field Values

START_DAY

public static final String START_DAY
The Julian start day of the instance, relative to the local timezone

Type: INTEGER (int)

See Also:
Constant Field Values

END_DAY

public static final String END_DAY
The Julian end day of the instance, relative to the local timezone

Type: INTEGER (int)

See Also:
Constant Field Values

START_MINUTE

public static final String START_MINUTE
The start minute of the instance measured from midnight in the local timezone.

Type: INTEGER (int)

See Also:
Constant Field Values

END_MINUTE

public static final String END_MINUTE
The end minute of the instance measured from midnight in the local timezone.

Type: INTEGER (int)

See Also:
Constant Field Values
Constructor Detail

Calendar.Instances

public Calendar.Instances()
Method Detail

query

public static final Cursor query(ContentResolver cr,
                                 String[] projection,
                                 long begin,
                                 long end)

query

public static final Cursor query(ContentResolver cr,
                                 String[] projection,
                                 long begin,
                                 long end,
                                 String where,
                                 String orderBy)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature