forked from libical/libical
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
icalrecur_test: Restructure test cases and remove redundant tests.
- Loading branch information
Showing
8 changed files
with
154 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
|
||
# Ethiopic last day of year | ||
RRULE:RSCALE=ETHIOPIC;FREQ=YEARLY;BYMONTH=13;BYMONTHDAY=-1;COUNT=6 | ||
DTSTART:20140910 | ||
INSTANCES:20140910,20150911,20160910,20170910,20180910,20190911 | ||
PREV-INSTANCES:20180910,20170910,20160910,20150911,20140910 | ||
|
||
# Chinese New Year | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;UNTIL=20180101 | ||
DTSTART:20130210 | ||
INSTANCES:20130210,20140131,20150219,20160208,20170128 | ||
PREV-INSTANCES:20170128,20160208,20150219,20140131,20130210 | ||
|
||
# Chinese monthly | ||
RRULE:RSCALE=CHINESE;FREQ=MONTHLY;COUNT=4 | ||
DTSTART:20140920 | ||
INSTANCES:20140920,20141020,20141119,20141218 | ||
PREV-INSTANCES:20141119,20141020,20140920 | ||
|
||
# Islamic monthly | ||
RRULE:RSCALE=ISLAMIC-CIVIL;FREQ=MONTHLY;COUNT=4 | ||
DTSTART:20131025 | ||
INSTANCES:20131025,20131124,20131224,20140122 | ||
PREV-INSTANCES:20131224,20131124,20131025 | ||
|
||
# Islamic Ramadan | ||
RRULE:RSCALE=ISLAMIC-CIVIL;FREQ=YEARLY;BYMONTH=9;COUNT=5 | ||
DTSTART:20130709 | ||
INSTANCES:20130709,20140629,20150618,20160607,20170527 | ||
PREV-INSTANCES:20160607,20150618,20140629,20130709 | ||
|
||
# Chinese leap month (no leap) | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=9;COUNT=3 | ||
DTSTART:20131025 | ||
INSTANCES:20141003,20151022,20161010 | ||
PREV-INSTANCES:20151022,20141003 | ||
|
||
# Chinese leap month (omit) | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=9L;SKIP=OMIT;COUNT=2 | ||
DTSTART:20131025 | ||
INSTANCES:20141102,21091102 | ||
PREV-INSTANCES:20141102 | ||
|
||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=4L;SKIP=OMIT;UNTIL=21000101 | ||
DTSTART:20131025 | ||
INSTANCES:20200601,20580531,20690530,20770531,20880530,20960531 | ||
PREV-INSTANCES:20960531,20880530,20770531,20690530,20580531,20200601 | ||
|
||
# Chinese leap month (skip forward) | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=9L;SKIP=FORWARD;COUNT=3 | ||
DTSTART:20131025 | ||
INSTANCES:20131112,20141102,20151121 | ||
PREV-INSTANCES:20141102,20131112 | ||
|
||
# Chinese leap month (skip back) | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=9L;SKIP=BACKWARD;COUNT=3 | ||
DTSTART:20131025 | ||
INSTANCES:20141102,20151022,20161010 | ||
PREV-INSTANCES:20151022,20141102 | ||
|
||
# Chinese leap month (both) | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;BYMONTHDAY=10;BYMONTH=9,9L;SKIP=BACKWARD;COUNT=4 | ||
DTSTART:20131025 | ||
INSTANCES:20141003,20141102,20151022,20161010 | ||
PREV-INSTANCES:20151022,20141102,20141003 | ||
|
||
# Every other Chinese New Year, starting at Jan 1, 2016 | ||
RRULE:RSCALE=CHINESE;FREQ=YEARLY;UNTIL=20200101;INTERVAL=2 | ||
DTSTART:20130210 | ||
START-AT:20160101 | ||
INSTANCES:20170128,20190205 | ||
PREV-INSTANCES:20150219,20130210 | ||
|
||
# Jewish leap month (omit) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;COUNT=4 | ||
DTSTART:20140205 | ||
INSTANCES:20140205,20160214,20190210,20220206 | ||
PREV-INSTANCES:20190210,20160214,20140205 | ||
|
||
# Jewish leap month (skip forward) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;SKIP=FORWARD;COUNT=4 | ||
DTSTART:20140205 | ||
INSTANCES:20140205,20150224,20160214,20170303 | ||
PREV-INSTANCES:20160214,20150224,20140205 | ||
|
||
# Jewish leap month (skip forward by month) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;BYMONTH=5L;BYMONTHDAY=8;SKIP=FORWARD;COUNT=5 | ||
DTSTART:20140208 | ||
INSTANCES:20140208,20150227,20160217,20170306,20180223 | ||
PREV-INSTANCES:20170306,20160217,20150227,20140208 | ||
|
||
# 30th day of Jewish leap month (skip forward) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;BYMONTH=5L;BYMONTHDAY=30;SKIP=FORWARD;COUNT=5 | ||
DTSTART:20140302 | ||
INSTANCES:20140302,20150321,20160310,20170328,20180317 | ||
PREV-INSTANCES:20170328,20160310,20150321,20140302 | ||
|
||
# Last day of Jewish leap month (skip forward) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;BYMONTH=5L;BYMONTHDAY=-1;SKIP=FORWARD;COUNT=5 | ||
DTSTART:20140302 | ||
INSTANCES:20140302,20150320,20160310,20170327,20180316 | ||
PREV-INSTANCES:20170327,20160310,20150320,20140302 | ||
|
||
# 30th day of Jewish leap month (skip backward) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;BYMONTH=5L;BYMONTHDAY=30;SKIP=BACKWARD;COUNT=5 | ||
DTSTART:20140302 | ||
INSTANCES:20140302,20150219,20160310,20170226,20180215 | ||
PREV-INSTANCES:20170226,20160310,20150219,20140302 | ||
|
||
# Last day of Jewish leap month (skip backward) | ||
RRULE:RSCALE=HEBREW;FREQ=YEARLY;BYMONTH=5L;BYMONTHDAY=-1;SKIP=BACKWARD;COUNT=5 | ||
DTSTART:20140302 | ||
INSTANCES:20140302,20150219,20160310,20170226,20180215 | ||
PREV-INSTANCES:20170226,20160310,20150219,20140302 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
# Korean Buddha birthday | ||
RRULE:RSCALE=DANGI;FREQ=YEARLY;BYMONTHDAY=8;BYMONTH=4;UNTIL=20160101 | ||
DTSTART:20131025 | ||
INSTANCES:20140506,20150525 | ||
PREV-INSTANCES:20150525,20140506 |
Oops, something went wrong.