Ruby, Java, and Python all have several very good libraries which allow you to handle rfc2445's rrule very well.
I've done an extremely comprehensive search for a class/library which will handle the rrule and return date开发者_运维问答s of recurrence, however I haven't found 1 library in PHP will do it.
I am going to begin to write a PHP library which similar functionality to Ruby's ice_cube, however before I begin I just want to ensure I'm not reinventing the wheel.
So that brings me to this question, am I reinventing the wheel? Did I fail to find a library already written which handles date recurrence in PHP?
After a thorough search I've determined that there is most likely not an open source date recurrence library written in PHP, so I have written my own.
I'm pleased to announce that I have released the initial version of a date recurrence library called When.
Gud work but it seems that the INTERVAL PARAM does not works well with WEEKLY,MONTHLY,YEARLY frequencies,there are differences in result as compared to http://www.ietf.org/rfc/rfc2445.txt
精彩评论