Home
last modified time | relevance | path

Searched refs:recur (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java60 RecurrenceSet recur) throws DateException { in getLastOccurence() argument
61 return getLastOccurence(dtstart, null /* no limit */, recur); in getLastOccurence()
82 RecurrenceSet recur) throws DateException { in getLastOccurence() argument
88 if (recur.rrules != null) { in getLastOccurence()
89 for (EventRecurrence rrule : recur.rrules) { in getLastOccurence()
101 if (lastTime != -1 && recur.rdates != null) { in getLastOccurence()
102 for (long dt : recur.rdates) { in getLastOccurence()
114 } else if (recur.rdates != null && in getLastOccurence()
115 recur.exrules == null && recur.exdates == null) { in getLastOccurence()
117 for (long dt : recur.rdates) { in getLastOccurence()
[all …]
DEventRecurrence.java524 public void parse(String recur) { in parse() argument
594 parts = recur.toUpperCase().split(";"); in parse()
596 parts = recur.split(";"); in parse()
648 throw new InvalidFormatException("Must not specify both UNTIL and COUNT: " + recur); in parse()
650 Log.w(TAG, "Warning: rrule has both UNTIL and COUNT: " + recur); in parse()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java336 String recur = "FREQ=DAILY;" + ck.key + "=" + n; in test12() local
339 er.parse(recur); in test12()
342 + recur + "'"); in test12()
718 private static void verifyRecurType(String recur, in verifyRecurType() argument
725 eventRecurrence.parse(recur); in verifyRecurType()
872 EventRecurrence recur = new EventRecurrence(); in testBasicParse() local
873 recur.parse(rule); in testBasicParse()
877 EventRecurrence recur = new EventRecurrence(); in testBasicParse() local
881 recur.parse(rule); in testBasicParse()
DRecurrenceProcessorTest.java105 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate); in verifyRecurrence() local
107 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(), rangeEnd.toMillis()); in verifyRecurrence()
139 long lastOccur = rp.getLastOccurence(dtstart, rangeEnd, recur); in verifyRecurrence()
2471 RecurrenceSet recur = new RecurrenceSet(rrule, null, null, null); in performanceTextExpand() local
2473 long [] dates = rp.expand(dtstart, recur, rangeStartMillis, rangeEndMillis); in performanceTextExpand()
DRRuleTest.java115 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate); in runRecurrenceIteratorTest() local
117 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(), rangeEnd.toMillis()); in runRecurrenceIteratorTest()