mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix RRule problem and remove uninitialised variable warnings.
This commit is contained in:
1 parent
0132e8195e
commit
28bb70e6fd
3 files changed
+116
-80
No files matched your search
@@ -1,17 +1,20 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
Content-Length: 5780
|
||||
Content-Length: 6621
|
||||
Content-Type: text/plain
|
||||
|
||||
Testing the RRule Library
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061103T073000 - RRULE:FREQ=DAILY;COUNT=7
|
||||
Daily for 7 days
|
||||
|
||||
2006-11-03 07:30:00 2006-11-04 07:30:00 2006-11-05 07:30:00 2006-11-06 07:30:00
|
||||
2006-11-07 07:30:00 2006-11-08 07:30:00 2006-11-09 07:30:00
|
||||
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061102T100000 - RRULE:FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
|
||||
Weekly for 26 weeks
|
||||
|
||||
2006-11-02 10:00:00 2006-11-09 10:00:00 2006-11-16 10:00:00 2006-11-23 10:00:00
|
||||
2006-11-30 10:00:00 2006-12-07 10:00:00 2006-12-14 10:00:00 2006-12-21 10:00:00
|
||||
@@ -21,8 +24,9 @@ Testing the RRule Library
|
||||
2007-03-22 10:00:00 2007-03-29 10:00:00 2007-04-05 10:00:00 2007-04-12 10:00:00
|
||||
2007-04-19 10:00:00 2007-04-26 10:00:00
|
||||
|
||||
|
||||
20061103T160000 - RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20071222T235900
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061103T160000 - RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20071122T235900
|
||||
Fortnightly for 28 events
|
||||
|
||||
2006-11-03 16:00:00 2006-11-17 16:00:00 2006-12-01 16:00:00 2006-12-15 16:00:00
|
||||
2006-12-29 16:00:00 2007-01-12 16:00:00 2007-01-26 16:00:00 2007-02-09 16:00:00
|
||||
@@ -31,18 +35,20 @@ Testing the RRule Library
|
||||
2007-06-15 16:00:00 2007-06-29 16:00:00 2007-07-13 16:00:00 2007-07-27 16:00:00
|
||||
2007-08-10 16:00:00 2007-08-24 16:00:00 2007-09-07 16:00:00 2007-09-21 16:00:00
|
||||
2007-10-05 16:00:00 2007-10-19 16:00:00 2007-11-02 16:00:00 2007-11-16 16:00:00
|
||||
2007-11-30 16:00:00 2007-12-14 16:00:00
|
||||
|
||||
|
||||
20061101T160000 - RRULE:FREQ=WEEKLY;COUNT=15;INTERVAL=1;BYDAY=MO,WE,FR
|
||||
|
||||
2006-11-01 16:00:00 2006-11-03 16:00:00 2006-11-06 16:00:00 2006-11-08 16:00:00
|
||||
2006-11-10 16:00:00 2006-11-13 16:00:00 2006-11-15 16:00:00 2006-11-17 16:00:00
|
||||
2006-11-20 16:00:00 2006-11-22 16:00:00 2006-11-24 16:00:00 2006-11-27 16:00:00
|
||||
2006-11-29 16:00:00 2006-12-01 16:00:00 2006-12-04 16:00:00
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20081101T160000 - RRULE:FREQ=WEEKLY;COUNT=15;INTERVAL=1;BYDAY=MO,WE,FR
|
||||
3/wk for 5 weeks
|
||||
|
||||
2008-11-03 16:00:00 2008-11-05 16:00:00 2008-11-07 16:00:00 2008-11-10 16:00:00
|
||||
2008-11-12 16:00:00 2008-11-14 16:00:00 2008-11-17 16:00:00 2008-11-19 16:00:00
|
||||
2008-11-21 16:00:00 2008-11-24 16:00:00 2008-11-26 16:00:00 2008-11-28 16:00:00
|
||||
2008-12-01 16:00:00 2008-12-03 16:00:00 2008-12-05 16:00:00
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061104T073000 - RRULE:FREQ=MONTHLY
|
||||
Monthly forever
|
||||
|
||||
2006-11-04 07:30:00 2006-12-04 07:30:00 2007-01-04 07:30:00 2007-02-04 07:30:00
|
||||
2007-03-04 07:30:00 2007-04-04 07:30:00 2007-05-04 07:30:00 2007-06-04 07:30:00
|
||||
@@ -53,8 +59,9 @@ Testing the RRule Library
|
||||
2008-11-04 07:30:00 2008-12-04 07:30:00 2009-01-04 07:30:00 2009-02-04 07:30:00
|
||||
2009-03-04 07:30:00 2009-04-04 07:30:00 2009-05-04 07:30:00
|
||||
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061117T073000 - RRULE:FREQ=MONTHLY;BYDAY=1MO,2WE,3FR,-1SU
|
||||
Monthly, on the 1st monday, 2nd wednesday, 3rd friday and last sunday, forever
|
||||
|
||||
2006-11-17 07:30:00 2006-11-26 07:30:00 2006-12-04 07:30:00 2006-12-13 07:30:00
|
||||
2006-12-15 07:30:00 2006-12-31 07:30:00 2007-01-01 07:30:00 2007-01-10 07:30:00
|
||||
@@ -65,20 +72,22 @@ Testing the RRule Library
|
||||
2007-05-18 07:30:00 2007-05-27 07:30:00 2007-06-04 07:30:00 2007-06-13 07:30:00
|
||||
2007-06-15 07:30:00 2007-06-24 07:30:00 2007-07-02 07:30:00
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20081020T103000 - RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR
|
||||
Every working day
|
||||
|
||||
20061107T103000 - RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR
|
||||
|
||||
2006-11-07 10:30:00 2006-11-08 10:30:00 2006-11-09 10:30:00 2006-11-10 10:30:00
|
||||
2006-11-13 10:30:00 2006-11-14 10:30:00 2006-11-15 10:30:00 2006-11-16 10:30:00
|
||||
2006-11-17 10:30:00 2006-11-20 10:30:00 2006-11-21 10:30:00 2006-11-22 10:30:00
|
||||
2006-11-23 10:30:00 2006-11-24 10:30:00 2006-11-27 10:30:00 2006-11-28 10:30:00
|
||||
2006-11-29 10:30:00 2006-11-30 10:30:00 2006-12-01 10:30:00 2006-12-04 10:30:00
|
||||
2006-12-05 10:30:00 2006-12-06 10:30:00 2006-12-07 10:30:00 2006-12-08 10:30:00
|
||||
2006-12-11 10:30:00 2006-12-12 10:30:00 2006-12-13 10:30:00 2006-12-14 10:30:00
|
||||
2006-12-15 10:30:00 2006-12-18 10:30:00 2006-12-19 10:30:00
|
||||
|
||||
2008-10-20 10:30:00 2008-10-21 10:30:00 2008-10-22 10:30:00 2008-10-23 10:30:00
|
||||
2008-10-24 10:30:00 2008-10-27 10:30:00 2008-10-28 10:30:00 2008-10-29 10:30:00
|
||||
2008-10-30 10:30:00 2008-10-31 10:30:00 2008-11-03 10:30:00 2008-11-04 10:30:00
|
||||
2008-11-05 10:30:00 2008-11-06 10:30:00 2008-11-07 10:30:00 2008-11-10 10:30:00
|
||||
2008-11-11 10:30:00 2008-11-12 10:30:00 2008-11-13 10:30:00 2008-11-14 10:30:00
|
||||
2008-11-17 10:30:00 2008-11-18 10:30:00 2008-11-19 10:30:00 2008-11-20 10:30:00
|
||||
2008-11-21 10:30:00 2008-11-24 10:30:00 2008-11-25 10:30:00 2008-11-26 10:30:00
|
||||
2008-11-27 10:30:00 2008-11-28 10:30:00 2008-12-01 10:30:00
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20061107T113000 - RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
|
||||
The last working day of each month
|
||||
|
||||
2006-11-30 11:30:00 2006-12-29 11:30:00 2007-01-31 11:30:00 2007-02-28 11:30:00
|
||||
2007-03-30 11:30:00 2007-04-30 11:30:00 2007-05-31 11:30:00 2007-06-29 11:30:00
|
||||
@@ -89,16 +98,16 @@ Testing the RRule Library
|
||||
2008-11-28 11:30:00 2008-12-31 11:30:00 2009-01-30 11:30:00 2009-02-27 11:30:00
|
||||
2009-03-31 11:30:00 2009-04-30 11:30:00 2009-05-29 11:30:00
|
||||
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
20081020T110000 - RRULE:FREQ=DAILY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
|
||||
Every working day
|
||||
|
||||
2008-10-21 11:00:00 2008-10-22 11:00:00 2008-10-23 11:00:00 2008-10-24 11:00:00
|
||||
2008-10-27 11:00:00 2008-10-28 11:00:00 2008-10-29 11:00:00 2008-10-30 11:00:00
|
||||
2008-10-31 11:00:00 2008-11-03 11:00:00 2008-11-04 11:00:00 2008-11-05 11:00:00
|
||||
2008-11-06 11:00:00 2008-11-07 11:00:00 2008-11-10 11:00:00 2008-11-11 11:00:00
|
||||
2008-11-12 11:00:00 2008-11-13 11:00:00 2008-11-14 11:00:00 2008-11-17 11:00:00
|
||||
2008-11-18 11:00:00 2008-11-19 11:00:00 2008-11-20 11:00:00 2008-11-21 11:00:00
|
||||
2008-11-24 11:00:00 2008-11-25 11:00:00 2008-11-26 11:00:00 2008-11-27 11:00:00
|
||||
2008-11-28 11:00:00 2008-12-01 11:00:00 2008-12-02 11:00:00
|
||||
|
||||
2008-10-20 11:00:00 2008-10-21 11:00:00 2008-10-22 11:00:00 2008-10-23 11:00:00
|
||||
2008-10-24 11:00:00 2008-10-27 11:00:00 2008-10-28 11:00:00 2008-10-29 11:00:00
|
||||
2008-10-30 11:00:00 2008-10-31 11:00:00 2008-11-03 11:00:00 2008-11-04 11:00:00
|
||||
2008-11-05 11:00:00 2008-11-06 11:00:00 2008-11-07 11:00:00 2008-11-10 11:00:00
|
||||
2008-11-11 11:00:00 2008-11-12 11:00:00 2008-11-13 11:00:00 2008-11-14 11:00:00
|
||||
2008-11-17 11:00:00 2008-11-18 11:00:00 2008-11-19 11:00:00 2008-11-20 11:00:00
|
||||
2008-11-21 11:00:00 2008-11-24 11:00:00 2008-11-25 11:00:00 2008-11-26 11:00:00
|
||||
2008-11-27 11:00:00 2008-11-28 11:00:00 2008-12-01 11:00:00
|
||||
|
||||
Reference in new issue
Block a user