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.java61 RecurrenceSet recur) throws DateException { in getLastOccurence() argument
62 return getLastOccurence(dtstart, null /* no limit */, recur); in getLastOccurence()
83 RecurrenceSet recur) throws DateException { in getLastOccurence() argument
89 if (recur.rrules != null) { in getLastOccurence()
90 for (EventRecurrence rrule : recur.rrules) { in getLastOccurence()
102 if (lastTime != -1 && recur.rdates != null) { in getLastOccurence()
103 for (long dt : recur.rdates) { in getLastOccurence()
115 } else if (recur.rdates != null && in getLastOccurence()
116 recur.exrules == null && recur.exdates == null) { in getLastOccurence()
118 for (long dt : recur.rdates) { in getLastOccurence()
[all …]
DEventRecurrence.java526 public void parse(String recur) { in parse() argument
596 parts = recur.toUpperCase().split(";"); in parse()
598 parts = recur.split(";"); in parse()
650 throw new InvalidFormatException("Must not specify both UNTIL and COUNT: " + recur); in parse()
652 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.java107 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate); in verifyRecurrence() local
109 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in verifyRecurrence()
142 long lastOccur = rp.getLastOccurence(dtstart, rangeEnd, recur); in verifyRecurrence()
2474 RecurrenceSet recur = new RecurrenceSet(rrule, null, null, null); in performanceTextExpand() local
2476 long [] dates = rp.expand(dtstart, recur, rangeStartMillis, rangeEndMillis); in performanceTextExpand()
DRRuleTest.java116 RecurrenceSet recur = new RecurrenceSet(rrule, rdate, exrule, exdate); in runRecurrenceIteratorTest() local
118 long[] out = rp.expand(dtstart, recur, rangeStart.toMillis(false /* use isDst */), in runRecurrenceIteratorTest()