From c07b06f12ac1f93b35f3e120a5e7d6aa5f934c6f Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 3 May 2010 11:37:31 -0700 Subject: [PATCH] Added access fields for second timezone columns. This adds public access to DTSTART2, DTEND2, and EVENT_TIMEZONE2. These are being used for work on allDay events. Change-Id: I5b10eff08e2e61a71bf628ddea70dfb201a5c2b3 --- core/java/android/provider/Calendar.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/java/android/provider/Calendar.java b/core/java/android/provider/Calendar.java index 9a0980528e4b2..8459b2da469a1 100644 --- a/core/java/android/provider/Calendar.java +++ b/core/java/android/provider/Calendar.java @@ -437,6 +437,18 @@ public final class Calendar { */ public static final String DTEND = "dtend"; + /** + * The time the event starts with allDay events in a local tz + *

Type: INTEGER (long; millis since epoch)

+ */ + public static final String DTSTART2 = "dtstart2"; + + /** + * The time the event ends with allDay events in a local tz + *

Type: INTEGER (long; millis since epoch)

+ */ + public static final String DTEND2 = "dtend2"; + /** * The duration of the event *

Type: TEXT (duration in RFC2445 format)

@@ -449,6 +461,12 @@ public final class Calendar { */ public static final String EVENT_TIMEZONE = "eventTimezone"; + /** + * The timezone for the event, allDay events will have a local tz instead of UTC + *

Type: TEXT + */ + public static final String EVENT_TIMEZONE2 = "eventTimezone2"; + /** * Whether the event lasts all day or not *

Type: INTEGER (boolean)