# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Constants | Fields | Inherited Methods

# CalendarContract.CalendarCache

`public static final class CalendarContract.CalendarCache`
`extends Object` `implements CalendarContract.CalendarCacheColumns`

java.lang.Object
↳ | android.provider.CalendarContract.CalendarCache

CalendarCache stores some settings for calendar including the current time zone for the instances. These settings are stored using a key/value scheme. A `CalendarContract.CalendarCacheColumns.KEY` must be specified when updating these values.

## Summary

### Constants
`String` | `KEY_TIMEZONE_INSTANCES` The key for updating the time zone used by the provider when it generates the instances table.
`String` | `KEY_TIMEZONE_INSTANCES_PREVIOUS` The key for reading the last time zone set by the user.
`String` | `KEY_TIMEZONE_TYPE` They key for updating the use of auto/home time zones in Calendar.
`String` | `TIMEZONE_TYPE_AUTO` The value to write to `KEY_TIMEZONE_TYPE` if the provider should stay in sync with the device's time zone.
`String` | `TIMEZONE_TYPE_HOME` The value to write to `KEY_TIMEZONE_TYPE` if the provider should use a fixed time zone set by the user.

### Inherited constants
From interface `android.provider.CalendarContract.CalendarCacheColumns`
`String` | `KEY` The key for the setting.
`String` | `VALUE` The value of the given setting.

### Fields
`public static final Uri` | `URI` The URI to use for retrieving the properties from the Calendar db.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Constants

### KEY_TIMEZONE_INSTANCES

    public static final String KEY_TIMEZONE_INSTANCES

The key for updating the time zone used by the provider when it generates the instances table. This should only be written if the type is set to `TIMEZONE_TYPE_HOME`. A valid time zone id should be written to this field.

Constant Value: "timezoneInstances"

### KEY_TIMEZONE_INSTANCES_PREVIOUS

    public static final String KEY_TIMEZONE_INSTANCES_PREVIOUS

The key for reading the last time zone set by the user. This should only be read by apps and it will be automatically updated whenever `KEY_TIMEZONE_INSTANCES` is updated with `TIMEZONE_TYPE_HOME` set.

Constant Value: "timezoneInstancesPrevious"

### KEY_TIMEZONE_TYPE

    public static final String KEY_TIMEZONE_TYPE

They key for updating the use of auto/home time zones in Calendar. Valid values are `TIMEZONE_TYPE_AUTO` or `TIMEZONE_TYPE_HOME`.

Constant Value: "timezoneType"

### TIMEZONE_TYPE_AUTO

    public static final String TIMEZONE_TYPE_AUTO

The value to write to `KEY_TIMEZONE_TYPE` if the provider should stay in sync with the device's time zone.

Constant Value: "auto"

### TIMEZONE_TYPE_HOME

    public static final String TIMEZONE_TYPE_HOME

The value to write to `KEY_TIMEZONE_TYPE` if the provider should use a fixed time zone set by the user.

Constant Value: "home"

## Fields

### URI

    public static final Uri URI

The URI to use for retrieving the properties from the Calendar db.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*