Tanguy Pruvot
1ae7b2978e
RDATE support
2010-10-31 20:28:05 +01:00
Tanguy Pruvot
953662254d
updated demo code
2010-10-31 17:44:21 +01:00
Tanguy Pruvot
8079db3ac3
add support for EXDATE arrays : EXDATE;VALUE=DATE:20100909,20100910
2010-10-31 17:19:19 +01:00
Tanguy Pruvot
b04943334a
multiple keys like exdate set in an array
2010-10-31 17:03:05 +01:00
Tanguy Pruvot
b7c6351504
spaces cleanup
2010-10-31 16:59:40 +01:00
Tanguy Pruvot
30d1dfa4a9
fix excluded first dates
2010-10-31 16:47:44 +01:00
Tanguy Pruvot
ff9c8e202c
updated README
2010-10-31 15:34:26 +01:00
Tanguy Pruvot
d1561547d8
some tests for cache
2010-10-31 00:23:00 +02:00
Tanguy Pruvot
1a63569868
fix and reenable cache creation when possible
2010-10-31 00:13:31 +02:00
Tanguy Pruvot
768197bd34
README v0.7.0
2010-10-30 23:22:16 +02:00
Tanguy Pruvot
de4a9e8fe8
v0.7.0
2010-10-30 22:47:53 +02:00
Tanguy Pruvot
5743c6221e
implement EXDATE exclusions
2010-10-30 22:44:07 +02:00
Tanguy Pruvot
642115b1cc
new getAllOccurrences() method which also set cache, now use cache in findNext()
2010-10-30 21:31:49 +02:00
Tanguy Pruvot
ca0dcc1af0
implement frequency cache, actually only set in some cases : count recurrence or using lastOccurrence()
2010-10-30 20:54:42 +02:00
Tanguy Pruvot
dd982d53f9
fix bad test and link iCalFreq in event to get last occurrence date
2010-10-30 20:12:17 +02:00
Tanguy Pruvot
e03b95f43d
code cleanup
2010-10-30 17:36:40 +02:00
Tanguy Pruvot
f9e8612eb6
add event method : isWholeDay()
2010-10-30 16:32:39 +02:00
Tanguy Pruvot
8f7f806293
DateTimeZone class removed, using date_default_timezone_set
2010-10-30 15:38:02 +02:00
Tanguy Pruvot
7ddf89af77
fix last occurrence of an event (one was missing)
2010-10-30 14:42:15 +02:00
Tanguy Pruvot
e81a439d4f
nextOccurrence < start check
2010-10-29 14:05:37 +02:00
Tanguy Pruvot
90db32ce7f
Fullcalendar demo with a sample google iCal file
2010-10-29 13:43:13 +02:00
Tanguy Pruvot
93a165fb82
set until on unlimited repeats, to be included in Between()
2010-10-29 13:37:42 +02:00
Tanguy Pruvot
5b81d5e906
fix nextOccurrence() loop
2010-10-29 13:36:34 +02:00
Tanguy Pruvot
bd10ff1266
add setUntil() method
2010-10-29 12:58:19 +02:00
Tanguy Pruvot
d36357770c
keep full string to parse Freq
2010-10-29 12:13:16 +02:00
Tanguy Pruvot
3d4447fffb
fix duration parsing if regexp fails - added some Duration Unit Tests
2010-10-29 10:44:38 +02:00
Tanguy Pruvot
233c4d9ffc
update test, event getEnd() was modified
2010-10-29 09:57:09 +02:00
Tanguy Pruvot
8719799e9e
added test.sh for unit tests
2010-10-29 09:46:57 +02:00
Tanguy Pruvot
911a6b6080
check duration regexp result and ignore only common warning
2010-10-29 09:17:58 +02:00
Tanguy Pruvot
0cd26e11a2
public objects, they are protected themself
2010-10-29 09:09:20 +02:00
Tanguy Pruvot
8ddf2c8b9a
change order of requires
2010-10-29 08:46:03 +02:00
Tanguy Pruvot
9c3d8d9fec
fix date format modifier
2010-10-29 08:45:35 +02:00
Tanguy Pruvot
43661c4d85
comment header : added github url and fixed sample
2010-10-29 06:52:19 +02:00
Tanguy Pruvot
ab7336d9d0
- new method getRangeEnd() to get end of recurrence of event, fixed Between() and After()
...
- recurrence object and data array members are now public
2010-10-29 06:50:59 +02:00
Tanguy Pruvot
d7bc4dfbca
ignore built file
2010-10-29 06:17:22 +02:00
Tanguy Pruvot
67bf66c910
i hate private $vars :p replaced by protected
2010-10-29 05:17:55 +02:00
Tanguy Pruvot
107781fe43
fix recurrent events Between() query, could break $evt->getEnd() but not in these classes
2010-10-29 05:02:17 +02:00
Tanguy Pruvot
3181917e2c
variable for build output
2010-10-29 04:49:18 +02:00
Tanguy Pruvot
5b5012f71d
fix remaining $evs
2010-10-29 03:54:57 +02:00
Tanguy Pruvot
f28be0bc55
fix warnings for optional regexp blocks
2010-10-29 03:26:02 +02:00
Tanguy Pruvot
decebcd3b5
build.cmd (need gnuwin32)
2010-10-29 03:21:57 +02:00
Tanguy Pruvot
f1ca86fc1c
fix to build Recurrence
2010-10-29 03:05:17 +02:00
Tanguy Pruvot
760418f6b4
add missing requires
2010-10-29 03:03:19 +02:00
Tanguy Pruvot
8b5be46c25
use PHP 5.2+ DateTimeZone objects if available to get active daylight state
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2010-10-29 02:57:37 +02:00
Morten Fangel
e0d25803d2
Changed the Fetch-method on the Parser so it supports local files
2010-02-10 13:00:50 +01:00
Steven Oxley
d5f52a297a
Added a method for find the very last occurrence of an event.
2009-10-28 17:02:05 -04:00
Steven Oxley
8ca1c0297f
Added a test to the FreqTest.php tests.
2009-10-28 17:00:08 -04:00
Steven Oxley
6496c4f1f9
Changed the name of the 'lastOccurrence' method to 'previousOccurrence' so that it describes the actual behavior.
2009-10-27 17:42:14 -04:00
Steven Oxley
f8d988b4b6
Added test suites so that regression testing is easier.
2009-10-27 12:14:14 -04:00
Steven Oxley
7464dfbef5
Fixed a bug with calculating the offset for a timezone.
...
Previously, it was just checking to see if daylight savings time had started for that year. Now it checks to see which happened last - the switch to daylight savings or the switch back to standard time.
2009-10-27 12:07:10 -04:00