HomeSort by relevance Sort by last modified time
    Searched refs:rrule (Results 1 - 19 of 19) sorted by null

  /packages/apps/Email/src/com/android/exchange/utility/
CalendarUtilities.java 190 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour,
192 // MSFT months are 1 based, same as RRule
193 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
194 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
195 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1);
196 // 5 means "last" in MSFT land; for RRule, it's -1
197 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
338 * A class for storing RRULE information. The RRULE members can be accessed individually o
1128 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local
1574 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
RRuleTest.java 58 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit,
60 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz);
65 * @param rrule The rule to expand
76 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit,
82 rrule = rrule.replace("RRULE:", "");
84 rrule = rrule.replace("\n ", "");
104 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate)
    [all...]
RecurrenceProcessorTest.java 63 public void verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule,
66 verifyRecurrence(dtstartStr, rrule, rdate, exrule, exdate, rangeStartStr,
70 public void verifyRecurrence(String dtstartStr, String rrule, String rdate, String exrule,
79 + " RRULE:" + rrule
107 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate);
121 Log.i(TAG, "DTSTART:" + dtstartStr + " RRULE:" + rrule);
133 Log.i(TAG, "DTSTART:" + dtstartStr + " RRULE:" + rrule);
2417 String rrule = performanceRrules[i]; local
    [all...]
CalendarSyncTestingBase.java 119 m.put(Calendar.Events.RRULE, event.mRrule);
288 String rrule, boolean allDay) {
289 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE);
294 String rrule, boolean allDay, String timezone) {
295 init(title, description, startDate, endDate, rrule, allDay, timezone);
299 String rrule, boolean allDay, String timezone) {
325 mRrule = rrule;
343 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone);
CalendarProvider2Test.java 459 String rrule, boolean allDay) {
460 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE);
465 String rrule, boolean allDay, String timezone) {
466 init(title, description, startDate, endDate, rrule, allDay, timezone);
470 String rrule, boolean allDay, String timezone) {
496 mRrule = rrule;
514 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone);
1030 String rrule = cursor.getString(5); local
    [all...]
  /packages/apps/Email/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 50 * Please see RFC2445 for RRULE definition
143 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local
144 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
145 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
146 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
147 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
148 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
407 // Set up a RRULE for this event
408 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
611 String rrule = CalendarUtilities.rruleFromRecurrence local
    [all...]
  /packages/providers/CalendarProvider/
maketests.py 38 RRULE = re.compile("RRULE:(.*)")
81 rrule = "" variable
99 re_rrule = RRULE.match(s)
101 rrule = re_rrule.group(1) variable
118 print " \"" + rrule + "\","
  /frameworks/base/core/tests/coretests/src/android/pim/
RecurrenceSetTest.java 37 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n"
47 + "RRULE:FREQ=YEARLY;WKST=SU";
56 + "RRULE:FREQ=YEARLY;WKST=SU";
62 private void verifyPopulateContentValues(String recurrence, String rrule, String rdate,
72 assertEquals(rrule, values.get(android.provider.Calendar.Events.RRULE));
  /packages/apps/Calendar/src/com/android/calendar/
AlertAdapter.java 46 String rrule = cursor.getString(AlertActivity.INDEX_RRULE); local
47 if (rrule != null) {
AgendaAdapter.java 112 String rrule = cursor.getString(AgendaWindowAdapter.INDEX_RRULE); local
113 if (rrule != null) {
124 String rrule = cursor.getString(AgendaActivity.INDEX_RRULE);
125 if (rrule != null) {
Event.java 57 Instances.RRULE, // 14
368 String rrule = c.getString(PROJECTION_RRULE_INDEX); local
370 if (!TextUtils.isEmpty(rrule) || !TextUtils.isEmpty(rdate)) {
EditEvent.java 132 Events.RRULE, // 10
668 String rrule = mEventCursor.getString(EVENT_INDEX_RRULE); local
688 mInitialValues.put(Events.RRULE, rrule);
988 String rrule = intent.getStringExtra(Events.RRULE); local
    [all...]
  /frameworks/base/core/java/android/pim/
RecurrenceSet.java 54 String rruleStr = values.getAsString(Calendar.Events.RRULE);
64 * CalendarProvider. The cursor must contain the RRULE, RDATE, EXRULE,
67 * @param cursor The cursor containing the RRULE, RDATE, EXRULE, and EXDATE
72 int rruleColumn = cursor.getColumnIndex(Calendar.Events.RRULE);
98 EventRecurrence rrule = new EventRecurrence(); local
99 rrule.parse(rruleStrs[i]);
100 rrules[i] = rrule;
161 * Populates the database map of values with the appropriate RRULE, RDATE,
168 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if
191 String rrule = flattenProperties(component, "RRULE") local
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
RecurrenceProcessor.java 71 for (EventRecurrence rrule : recur.rrules) {
72 if (rrule.count != 0) {
74 } else if (rrule.until != null) {
76 mIterator.parse(rrule.until);
82 // This rrule has no "count" or "until" so it repeats
508 * @param recur the recurrence rules, including RRULE, RDATES, EXRULE, and
544 for (EventRecurrence rrule : recur.rrules) {
545 expand(dtstart, rrule, rangeStartDateValue,
    [all...]
CalendarDatabaseHelper.java 270 "rrule TEXT," +
647 "eventTimezone, eventTimezone2, rrule FROM Events WHERE allDay=?",
663 String rrule = cursor.getString(8); local
671 if (TextUtils.isEmpty(rrule)) {
    [all...]
CalendarProvider2.java 94 Events.RRULE,
2655 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local
    [all...]
  /packages/apps/Email/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 316 * Recurring events (i.e. events with RRULE) must have a DURATION
364 if (cv.containsKey(Events.RRULE)) {
502 String rrule = recurrenceParser(ops); local
503 if (rrule != null) {
504 cv.put(Events.RRULE, rrule);
833 String rrule = recurrenceParser(ops); local
1552 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /external/chromium/third_party/icu/source/i18n/
vtzone.cpp 52 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */
367 * Parse individual RRULE
378 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim,
399 prop_end = rrule.indexOf(SEMICOLON, prop_start);
401 prop.setTo(rrule, prop_start);
404 prop.setTo(rrule, prop_start, prop_end - prop_start);
536 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local
542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
586 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines.
612 rrule = *((UnicodeString*)dates->elementAt(i))
    [all...]
  /external/icu4c/i18n/
vtzone.cpp 52 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */
367 * Parse individual RRULE
378 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim,
399 prop_end = rrule.indexOf(SEMICOLON, prop_start);
401 prop.setTo(rrule, prop_start);
404 prop.setTo(rrule, prop_start, prop_end - prop_start);
536 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local
542 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
586 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines.
612 rrule = *((UnicodeString*)dates->elementAt(i))
    [all...]

Completed in 346 milliseconds