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 191 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour,
193 // MSFT months are 1 based, same as RRule
194 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
195 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
196 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1);
197 // 5 means "last" in MSFT land; for RRule, it's -1
198 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
339 * A class for storing RRULE information. The RRULE members can be accessed individually o
1146 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local
1592 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
152 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local
153 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
154 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
155 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
156 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
157 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
416 // Set up a RRULE for this event
417 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
620 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));
  /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/apps/Calendar/src/com/android/calendar/
AgendaAdapter.java 113 String rrule = cursor.getString(AgendaWindowAdapter.INDEX_RRULE); local
114 if (!TextUtils.isEmpty(rrule)) {
125 String rrule = cursor.getString(AgendaActivity.INDEX_RRULE);
126 if (rrule != null) {
AlertAdapter.java 47 String rrule = cursor.getString(AlertActivity.INDEX_RRULE); local
48 if (!TextUtils.isEmpty(rrule)) {
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...]
  /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 281 "rrule TEXT," +
693 "rrule TEXT," +
748 "rrule, " +
844 String rrule = cursor.getString(8); local
    [all...]
CalendarProvider2.java 95 Events.RRULE,
2180 String rrule = values.getAsString(Events.RRULE); local
2664 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local
2829 String rrule = cursor.getString(0); local
    [all...]
  /packages/apps/Email/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 322 * Recurring events (i.e. events with RRULE) must have a DURATION
370 if (cv.containsKey(Events.RRULE)) {
508 String rrule = recurrenceParser(ops); local
509 if (rrule != null) {
510 cv.put(Events.RRULE, rrule);
839 String rrule = recurrenceParser(ops); local
1558 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 477 milliseconds