Lines Matching defs:rrule
52 * Please see RFC2445 for RRULE definition
193 String rrule = "FREQ=DAILY;INTERVAL=1;BYDAY=WE,TH,SA;BYMONTHDAY=17";
194 assertEquals("DAILY", CalendarUtilities.tokenFromRrule(rrule, "FREQ="));
195 assertEquals("1", CalendarUtilities.tokenFromRrule(rrule, "INTERVAL="));
196 assertEquals("17", CalendarUtilities.tokenFromRrule(rrule, "BYMONTHDAY="));
197 assertEquals("WE,TH,SA", CalendarUtilities.tokenFromRrule(rrule, "BYDAY="));
198 assertNull(CalendarUtilities.tokenFromRrule(rrule, "UNTIL="));
478 // Set up a RRULE for this event
479 entity.getEntityValues().put(Events.RRULE, "FREQ=DAILY");
684 String rrule = CalendarUtilities.rruleFromRecurrence(
686 assertEquals("FREQ=WEEKLY;COUNT=2;INTERVAL=1;BYDAY=MO", rrule);
688 rrule = CalendarUtilities.rruleFromRecurrence(
690 assertEquals("FREQ=WEEKLY;BYDAY=TU,FR", rrule);
692 rrule = CalendarUtilities.rruleFromRecurrence(
694 assertEquals("FREQ=WEEKLY;BYDAY=-1SA", rrule);
696 rrule = CalendarUtilities.rruleFromRecurrence(
698 assertEquals("FREQ=WEEKLY;BYDAY=3WE,3TH", rrule);
699 rrule = CalendarUtilities.rruleFromRecurrence(
701 assertEquals("FREQ=MONTHLY;BYMONTHDAY=-1", rrule);
702 rrule = CalendarUtilities.rruleFromRecurrence(
704 assertEquals("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1", rrule);
706 rrule = CalendarUtilities.rruleFromRecurrence(
708 assertEquals("FREQ=MONTHLY;BYMONTHDAY=14", rrule);
710 rrule = CalendarUtilities.rruleFromRecurrence(
712 assertEquals("FREQ=YEARLY;BYMONTHDAY=31;BYMONTH=10", rrule);
714 rrule = CalendarUtilities.rruleFromRecurrence(
716 assertEquals("FREQ=YEARLY;BYDAY=1TU;BYMONTH=6", rrule);
718 rrule = CalendarUtilities.rruleFromRecurrence(
720 assertNull(rrule);
722 rrule = CalendarUtilities.rruleFromRecurrence(
724 assertNull(rrule);
741 * example, and possibly RDATEs in VTIMEZONEs without an RRULE; these cases will be handled
831 entity.getEntityValues().put(Events.RRULE, "FREQ=WEEKLY;BYDAY=MO");
856 boolean hasRule = vc.indexOf("RRULE") > 0;