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

21 Commits

Author SHA1 Message Date
rlanvin
a14dd53090 Add tests for PHP 8.0 2020-12-09 23:01:45 +01:00
rlanvin
6332b7e44a Increase test code coverage 2019-10-05 01:41:13 +01:00
rlanvin
a5bda44f59 Remove space inside parenthesis to be closer to PSR-2 2019-01-14 13:09:43 +00:00
Ricky
58b9bd1115 Add remove/clear functions for ExDates and RDates (#66)
- Cleanup tests and comment
- Add removeExdate and clearExdates
- Add removeDate and clearDates for RDATEs
2019-03-17 10:45:34 +01:00
rlanvin
3d72c9efaf Add helpers methods
Ref #60
2019-01-13 13:44:01 +00:00
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