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

  /packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
CalendarUtilities.java 251 static void putRuleIntoTimeZoneInformation(byte[] bytes, int offset, RRule rrule, int hour,
253 // MSFT months are 1 based, same as RRule
254 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
255 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
256 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY_OF_WEEK, rrule.dayOfWeek - 1);
257 // 5 means "last" in MSFT land; for RRule, it's -1
258 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
400 * A class for storing RRULE information. The RRULE members can be accessed individually o
1324 StringBuilder rrule = new StringBuilder("FREQ=" + sTypeToFreq[type]); local
1878 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /packages/apps/Exchange/exchange2/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...]
  /packages/apps/Exchange/tests/src/com/android/exchange/utility/
CalendarUtilitiesTests.java 57 * Please see RFC2445 for RRULE definition
198 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17"; local
199 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
200 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
201 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
202 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
203 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
466 // Set up a RRULE for this event
467 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
672 String rrule = CalendarUtilities.rruleFromRecurrence local
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
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...]
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...]
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";
100 + "RRULE:FREQ=YEARLY\n";
112 + "RRULE:FREQ=DAILY;UNTIL=20080222T000000Z\n"
122 + "RRULE:FREQ=NEVER;UNTIL=20080222T000000Z\n
    [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 543 String rrule, boolean allDay) {
544 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE);
549 String rrule, boolean allDay, String timezone) {
550 init(title, description, startDate, endDate, rrule, allDay, timezone);
554 String rrule, boolean allDay, String timezone) {
580 mRrule = rrule;
604 init(title, description, startDate, endDate, null /* rrule */, allDay, timezone);
1265 String rrule = cursor.getString(5); local
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceSet.java 55 String rruleStr = values.getAsString(CalendarContract.Events.RRULE);
65 * CalendarProvider. The cursor must contain the RRULE, RDATE, EXRULE,
68 * @param cursor The cursor containing the RRULE, RDATE, EXRULE, and EXDATE
73 int rruleColumn = cursor.getColumnIndex(CalendarContract.Events.RRULE);
99 EventRecurrence rrule = new EventRecurrence(); local
100 rrule.parse(rruleStrs[i]);
101 rrules[i] = rrule;
180 * Populates the database map of values with the appropriate RRULE, RDATE,
187 * one of DTEND/DURATION, and one of RRULE/RDATE. Returns false if
211 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/recurrencepicker/
RecurrencePickerDialog.java 630 String rrule = b.getString(BUNDLE_RRULE); local
631 if (!TextUtils.isEmpty(rrule)) {
633 mRecurrence.parse(rrule);
983 String rrule; local
1135 String rrule; local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertAdapter.java 57 String rrule = cursor.getString(AlertActivity.INDEX_RRULE); local
58 if (!TextUtils.isEmpty(rrule)) {
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventHelper.java 80 Events.RRULE, // 11
368 // ignore the RRULE returned because the exception event doesn't want one.
390 values.put(Events.RRULE, newRrule);
649 values.remove(Events.RRULE);
688 * update to the old event's rrule to do that.
691 * RRULE for the exception event.
723 * TODO: the model assumes RRULE and ignores RDATE, EXRULE, and EXDATE. For the
909 String rrule = model.mRrule; local
1217 String rrule = model.mRrule; local
    [all...]
EditEventView.java 471 // TODO Should give option to clear/reset rrule
622 public void onRecurrenceSet(String rrule) {
623 Log.d(TAG, "Old rrule:" + mRrule);
624 Log.d(TAG, "New rrule:" + rrule);
625 mRrule = rrule;
796 mRruleButton = (Button) view.findViewById(R.id.rrule);
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 355 * Recurring events (i.e. events with RRULE) must have a DURATION
403 if (cv.containsKey(Events.RRULE)) {
544 String rrule = recurrenceParser(); local
545 if (rrule != null) {
546 cv.put(Events.RRULE, rrule);
898 String rrule = recurrenceParser(); local
1618 String rrule = entityValues.getAsString(Events.RRULE); local
    [all...]
  /external/icu4c/i18n/
vtzone.cpp 53 static const UChar ICAL_RRULE[] = {0x52, 0x52, 0x55, 0x4C, 0x45, 0}; /* "RRULE" */
368 * Parse individual RRULE
379 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim,
400 prop_end = rrule.indexOf(SEMICOLON, prop_start);
402 prop.setTo(rrule, prop_start);
405 prop.setTo(rrule, prop_start, prop_end - prop_start);
537 UnicodeString rrule = *((UnicodeString*)dates->elementAt(0)); local
543 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status);
587 // Check if BYMONTH + BYMONTHDAY + BYDAY rule with multiple RRULE lines.
613 rrule = *((UnicodeString*)dates->elementAt(i))
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
Event.java 81 Instances.RRULE, // 14
408 String rrule = cEvents.getString(PROJECTION_RRULE_INDEX); local
410 if (!TextUtils.isEmpty(rrule) || !TextUtils.isEmpty(rdate)) {
CalendarEventModel.java 342 String rrule = intent.getStringExtra(Events.RRULE); local
343 if (!TextUtils.isEmpty(rrule)) {
344 mRrule = rrule;
682 // if the rrule is no longer empty check if this is an exception
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 331 Events.RRULE,
421 // Events.RRULE,
441 * @param rrule Recurrence rule
446 String rrule) {
458 values.put(Events.RRULE, rrule);
3045 String rrule = "FREQ=DAILY;WKST=MO;COUNT=100"; local
3101 String rrule = "FREQ=DAILY;WKST=MO;COUNT=5\\nFREQ=WEEKLY;WKST=SU;COUNT=5"; local
3127 String rrule = "FREQ=OFTEN;WKST=MO"; local
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarInstancesHelper.java 114 Events.RRULE,
175 int rruleColumn = entries.getColumnIndex(Events.RRULE);
267 Log.w(CalendarProvider2.TAG, "Could not parse RRULE recurrence string: "
614 * This may be a recurring event (has an RRULE or RDATE), an exception to a recurring
651 String rrule = values.getAsString(Events.RRULE); local
655 if (CalendarProvider2.isRecurrenceEvent(rrule, rdate, originalId, originalSyncId)) {
    [all...]
CalendarProvider2.java 106 Events.RRULE,
410 ALLOWED_IN_EXCEPTION.add(Events.RRULE);
2065 String rrule = values.getAsString(Events.RRULE); local
2404 String rrule = values.getAsString(Events.RRULE); local
3205 String rrule = cursor.getString(EVENTS_RRULE_INDEX); local
    [all...]
CalendarDatabaseHelper.java 101 Events.RRULE + "," +
547 CalendarContract.Events.RRULE + " TEXT," +
614 + "rrule TEXT,"
2545 String rrule = cursor.getString(8); local
    [all...]
  /external/valgrind/main/coregrind/m_debuginfo/
readdwarf.c     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 

Completed in 399 milliseconds