CalendarDataBase.java
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.example.dataextraction;
import android.provider.BaseColumns;
public final class CalendarDataBase {
public static final class CreateDB implements BaseColumns {
public static final String CALENDAR_ID = "calendar_id";
public static final String TITLE = "title";
public static final String EVENT_LOCATION = "event_location";
public static final String DESCRIPTION = "description";
public static final String DTSTART = "dtstart";
public static final String DTEND = "dtend";
public static final String DURATION = "duration";
public static final String ALL_DAY = "all_day";
public static final String DISPLAY_NAME = "display_name";
public static final String ACCOUNT_NAME = "account_name";
public static final String OWNER_NAME = "owner_name";
public static final String RRULE = "rrlue";
public static final String RDATE = "rdate";
public static final String _TABLENAME0 = "calendar";
public static final String _CREATE0 = "create table if not exists "+_TABLENAME0+"("
+ " id integer primary key autoincrement, "
+TITLE+" text not null , "
+CALENDAR_ID + " text not null, "
+EVENT_LOCATION + " text , "
+DESCRIPTION + " text, "
+DTSTART + " text not null, "
+DTEND + " text not null, "
+DURATION+ " text , "
+ALL_DAY + " text, "
+DISPLAY_NAME + " text not null, "
+ACCOUNT_NAME + " text not null, "
+OWNER_NAME+ " text not null, "
+RRULE + " text, "
+RDATE + " text );";
}
}