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

  /packages/apps/Exchange/src/com/android/exchange/utility/
CalendarUtilities.java 235 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour,
237 // MSFT months are 1 based, same as RRule
238 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
239 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
240 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1);
241 // 5 means "last" in MSFT land; for RRule, it's -1
242 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
384 * A class for storing RRULE information. The RRULE members can be accessed individually o
1277 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local
1786 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 57 * Please see RFC2445 for RRULE definition
188 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local
189 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
190 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
191 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
192 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
193 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
456 // Set up a RRULE for this event
457 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
662 String rrule = CalendarUtilities.rruleFromRecurrence local
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon/
RRuleTest.java 70 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit,
72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz);
77 * @param rrule The rule to expand
88 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit,
94 rrule = rrule.replace("RRULE:", "");
96 rrule = rrule.replace("\n ", "");
116 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate)
    [all...]
RecurrenceSetTest.java 38 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n"
48 + "RRULE:FREQ=YEARLY;WKST=SU";
57 + "RRULE:FREQ=YEARLY;WKST=SU";
62 // Test multi-rule RRULE.
66 + "RRULE:FREQ=YEARLY;WKST=SU\n"
67 + "RRULE:FREQ=MONTHLY;COUNT=3\n"
92 + "RRULE:FREQ=YEARLY\n";
99 + "RRULE:FREQ=YEARLY\n";
107 private void verifyPopulateContentValues(String recurrence, String rrule, String rdate,
117 assertEquals(rrule, values.get(android.provider.CalendarContract.Events.RRULE))
    [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);
2472 String rrule = performanceRrules[i]; 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 + "\","
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarSyncTestingBase.java 118 m.put(CalendarContract.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 537 String rrule, boolean allDay) {
538 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE);
543 String rrule, boolean allDay, String timezone) {
544 init(title, description, startDate, endDate, rrule, allDay, timezone);
548 String rrule, boolean allDay, String timezone) {
574 mRrule = rrule;
592 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone);
1177 String rrule = cursor.getString(5); local
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon/
RecurrenceSet.java 54 String rruleStr = values.getAsString(CalendarContract.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(CalendarContract.Events.RRULE);
98 EventRecurrence rrule = new EventRecurrence(); local
99 rrule.parse(rruleStrs[i]);
100 rrules[i] = rrule;
169 * Populates the database map of values with the appropriate RRULE, RDATE,
176 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if
199 String rrule = flattenProperties(component, "RRULE") local
    [all...]
RecurrenceProcessor.java 90 for (EventRecurrence rrule : recur.rrules) {
91 if (rrule.count != 0) {
93 } else if (rrule.until != null) {
95 mIterator.parse(rrule.until);
626 * @param recur the recurrence rules, including RRULE, RDATES, EXRULE, and
662 for (EventRecurrence rrule : recur.rrules) {
663 expand(dtstart, rrule, rangeStartDateValue,
751 // we return will not fit the RRULE pattern.
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 55 String rrule = cursor.getString(AlertActivity.INDEX_RRULE); local
56 if (!TextUtils.isEmpty(rrule)) {
  /packages/apps/Calendar/src/com/android/calendar/
CalendarEventModel.java 328 String rrule = intent.getStringExtra(Events.RRULE); local
329 if (!TextUtils.isEmpty(rrule)) {
330 mRrule = rrule;
660 // if the rrule is no longer empty check if this is an exception
Event.java 81 Instances.RRULE, // 14
401 String rrule = cEvents.getString(PROJECTION_RRULE_INDEX); local
403 if (!TextUtils.isEmpty(rrule) || !TextUtils.isEmpty(rdate)) {
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventHelper.java 75 Events.RRULE, // 11
336 // ignore the RRULE returned because the exception event doesn't want one.
358 values.put(Events.RRULE, newRrule);
617 values.remove(Events.RRULE);
656 * update to the old event's rrule to do that.
659 * RRULE for the exception event.
691 * TODO: the model assumes RRULE and ignores RDATE, EXRULE, and EXDATE. For the
877 String rrule = model.mRrule; local
1172 String rrule = model.mRrule; local
    [all...]
EditEventView.java 1035 String rrule = model.mRrule; local
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 337 * Recurring events (i.e. events with RRULE) must have a DURATION
385 if (cv.containsKey(Events.RRULE)) {
529 String rrule = recurrenceParser(); local
530 if (rrule != null) {
531 cv.put(Events.RRULE, rrule);
876 String rrule = recurrenceParser(); local
1623 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /external/icu4c/i18n/
vtzone.cpp 54 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */
369 * Parse individual RRULE
380 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim,
401 prop_end = rrule.indexOf(SEMICOLON, prop_start);
403 prop.setTo(rrule, prop_start);
406 prop.setTo(rrule, prop_start, prop_end - prop_start);
538 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local
544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
588 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines.
614 rrule = *((UnicodeString*)dates->elementAt(i))
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 318 Events.RRULE,
408 // Events.RRULE,
428 * @param rrule Recurrence rule
433 String rrule) {
445 values.put(Events.RRULE, rrule);
2839 String rrule = "FREQ=DAILY;WKST=MO;COUNT=100"; local
2893 String rrule = "FREQ=DAILY;WKST=MO;COUNT=5\\nFREQ=WEEKLY;WKST=SU;COUNT=5"; local
2919 String rrule = "FREQ=OFTEN;WKST=MO"; local
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 113 Events.RRULE,
174 int rruleColumn = entries.getColumnIndex(Events.RRULE);
266 Log.w(CalendarProvider2.TAG, "Could not parse RRULE recurrence string: "
613 * This may be a recurring event (has an RRULE or RDATE), an exception to a recurring
650 String rrule = values.getAsString(Events.RRULE); local
654 if (CalendarProvider2.isRecurrenceEvent(rrule, rdate, originalId, originalSyncId)) {
    [all...]
CalendarProvider2.java 101 Events.RRULE,
390 ALLOWED_IN_EXCEPTION.add(Events.RRULE);
2015 String rrule = values.getAsString(Events.RRULE); local
2338 String rrule = values.getAsString(Events.RRULE); local
3080 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local
    [all...]
CalendarDatabaseHelper.java 90 Events.RRULE + "," +
525 CalendarContract.Events.RRULE + " TEXT," +
588 + "rrule TEXT,"
657 "rrule TEXT," +
2371 String rrule = cursor.getString(8); local
    [all...]
  /external/valgrind/main/coregrind/m_debuginfo/
readdwarf.c     [all...]

Completed in 1031 milliseconds