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

20 Commits

Author SHA1 Message Date
rlanvin
fba57c4ef2 Various methods to convert from and to strings
- rfcString() (as well as __toString() to convert to RFC 5545
- parseRfcString() to parse RFC 5545
- humanReadable() to output the rule as a sentence

humanReadable is still a work in progress - in particular the
i18n and some BYXXX parts are not finished.
It also requires intl extension.
2015-07-07 19:19:35 +03:00
rlanvin
38df1fc962 Implement getOccurrencesBetween() 2015-07-03 12:25:50 +03:00
rlanvin
b1000a4afd Implementing cache, ArrayAccess and Countable 2015-07-02 17:12:48 +03:00
rlanvin
b3ec2fb271 Fix a bug with year 2038 on 32bits systems
There was still a few mktime() left. They have been replaced
by DateTime.
2015-07-01 14:14:05 +03:00
rlanvin
5f409deae9 Adding debug for failing test on Travis 2015-07-01 12:56:09 +03:00
rlanvin
8de2807d17 More tests, code cleanup 2015-07-01 12:23:39 +03:00
rlanvin
66e56cd4f9 Implementing BYSETPOS with freq > DAILY
Needs more tests
2015-06-30 18:19:09 +03:00
rlanvin
066a97d517 Implementing HOURLY/MINUTELY/SECONDLY frequencies
Also adding more tests and fixing bugs
BYSETPOS + time is still broken!!
2015-06-29 15:51:54 +03:00
rlanvin
fc13d3f8d7 More PHP 5.3 compatibility fixes 2015-06-27 14:27:02 +03:00
rlanvin
b192c38752 More PHP 5.3 compatibility fixes 2015-06-27 14:25:37 +03:00
rlanvin
982357f55a More PHP 5.3 compatibility fixes 2015-06-27 14:21:07 +03:00
rlanvin
783a9b5c97 More PHP 5.3 compatibility fixes 2015-06-27 14:18:58 +03:00
rlanvin
3cf95e57ef Attempt to lower compatibility to PHP 5.3 2015-06-27 14:12:57 +03:00
rlanvin
fd31af6ae4 Adding examples from the RFC as tests
And fixing the bugs exposed by these tests.
2015-06-27 13:50:28 +03:00
rlanvin
1d53a3d49d Updating README, LICENSE and comments 2015-06-26 22:10:46 +03:00
rlanvin
089dea906e Update README.md 2015-06-26 21:49:52 +03:00
rlanvin
5bc02593fe First implementation of occursAt 2015-06-26 21:24:52 +03:00
rlanvin
b943f9f55b Adding Travis config file 2015-06-26 17:05:48 +03:00
rlanvin
8a20641693 Work in progress 2015-06-26 17:02:29 +03:00
rlanvin
1535174243 Initial commit 2015-06-24 19:28:25 +03:00