IT. Expert System.

Android Reference

CalendarContract.Instances


android.provider

Class CalendarContract.Instances

    • Field Detail

      • CONTENT_URI

        public static final Uri CONTENT_URI
        The content:// style URL for querying an instance range. The begin and end of the range to query should be added as path segments if this is used directly.
      • CONTENT_BY_DAY_URI

        public static final Uri CONTENT_BY_DAY_URI
        The content:// style URL for querying an instance range by Julian Day. The start and end day should be added as path segments if this is used directly.
      • CONTENT_SEARCH_URI

        public static final Uri CONTENT_SEARCH_URI
        The content:// style URL for querying an instance range with a search term. The begin, end, and search string should be appended as path segments if this is used directly.
      • CONTENT_SEARCH_BY_DAY_URI

        public static final Uri CONTENT_SEARCH_BY_DAY_URI
        The content:// style URL for querying an instance range with a search term. The start day, end day, and search string should be appended as path segments if this is used directly.
      • BEGIN

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

        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. Column name.

        Type: INTEGER (long; millis since epoch)

        See Also:
        Constant Field Values
      • EVENT_ID

        public static final String EVENT_ID
        The _id of the event for this instance. Column name.

        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 time zone. Column name.

        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 time zone. Column name.

        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 time zone. Column name.

        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 time zone. Column name.

        Type: INTEGER (int)

        See Also:
        Constant Field Values
    • Method Detail

      • query

        public static final Cursor query(ContentResolver cr,
                   String[] projection,
                   long begin,
                   long end)
        Performs a query to return all visible instances in the given range. This is a blocking function and should not be done on the UI thread. This will cause an expansion of recurring events to fill this time range if they are not already expanded and will slow down for larger time ranges with many recurring events.
        Parameters:
        cr - The ContentResolver to use for the query
        projection - The columns to return
        begin - The start of the time range to query in UTC millis since epoch
        end - The end of the time range to query in UTC millis since epoch
        Returns:
        A Cursor containing all instances in the given range
      • query

        public static final Cursor query(ContentResolver cr,
                   String[] projection,
                   long begin,
                   long end,
                   String searchQuery)
        Performs a query to return all visible instances in the given range that match the given query. This is a blocking function and should not be done on the UI thread. This will cause an expansion of recurring events to fill this time range if they are not already expanded and will slow down for larger time ranges with many recurring events.
        Parameters:
        cr - The ContentResolver to use for the query
        projection - The columns to return
        begin - The start of the time range to query in UTC millis since epoch
        end - The end of the time range to query in UTC millis since epoch
        searchQuery - A string of space separated search terms. Segments enclosed by double quotes will be treated as a single term.
        Returns:
        A Cursor of instances matching the search terms in the given time range


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2559 / . Delta: 0.02108 с