1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-11-29 06:24:10 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
rlanvin
7c93c0e48a Rewrite the core algorithm to use a generator
Drop compatibility with PHP < 5.6
Ref #43
2019-01-13 10:04:03 +00:00
David Stone
37873779e4 VALUE is a valid param of EXDATE (#62)
EXDATE rule like 'EXDATE;VALUE=DATE-TIME:20171227T200000Z'
Are valid according to the rfc but rejected because VALUE
param is not recognized.
2019-01-13 10:31:48 +01:00
peter279k
8a3dd6d76a Test enhancement (#52) 2018-05-15 17:41:41 +01:00
rlanvin
145c0817f7 Fix tests for PHP 5.6 and PHP 7.1
Fix bugs related to microseconds in PHP 7.1
2017-05-07 19:46:49 +01:00
rlanvin
e2f42382d4 Add $dtstart optional arg when creating from a string 2017-05-06 13:37:26 +01:00
rlanvin
7437503a73 Add $limit to getOccurrences and getOccurencesBetween 2017-05-06 13:37:21 +01:00
rlanvin
67d4a5dc98 Refactor RFC string parsing
Add the possibility to construct a RSet from a string
Ref #26
2017-04-11 16:44:50 +01:00
rlanvin
0785c6ce7d Make offsetGet throw exception for illegal offset
Ref issue #22
2017-01-06 16:30:35 +02:00
rlanvin
9b8986b954 Add getter methods to RSet 2016-08-31 15:56:39 +03:00
rlanvin
852f5436f9 Adding timezone-related tests for RSet 2016-04-04 16:36:37 +03:00
rlanvin
c52b61f2a5 Keep RDATE and EXDATE ordered in RSet 2016-03-23 18:04:10 +02:00
rlanvin
0a46d7cd35 OccursAt for RSet
Ref #7
2016-03-23 17:36:24 +02:00
rlanvin
d949e96c59 getOccurrencesBetween and cache for RSet 2016-03-23 17:05:33 +02:00
rlanvin
0cf1540f85 count, offsetExists and offsetGet for RSet
offsetGet is uncached at the moment (ref #7)
2016-03-21 23:56:35 +02:00
rlanvin
d2384c1997 Adding interface to make RSet behave like RRule
Recurrence rules and a recurrence sets now share the same interface.
Also added isFinite() and isInfinite() methods, and improved
the implementation of RSet (ref #7)
2016-03-21 22:43:38 +02:00
rlanvin
58a8475ba7 First draft implementation for recurrence set
The new class RSet can contain multiple RRULE, RDATE, EXRULE and EXDATE.

Ref #7
2016-03-15 23:31:57 +02:00