| From | Sent On | Attachments |
|---|---|---|
| Gustavo Lopes | Apr 2, 2012 1:35 am | |
| Pierre Joye | Apr 2, 2012 2:12 am | |
| Johannes Schlüter | Apr 2, 2012 2:37 am | |
| Derick Rethans | Apr 2, 2012 2:43 am | |
| Gustavo Lopes | Apr 2, 2012 2:45 am | |
| Gustavo Lopes | Apr 2, 2012 3:07 am | |
| Pierre Joye | Apr 2, 2012 3:42 am | |
| Stas Malyshev | Apr 7, 2012 5:38 pm | |
| Gustavo Lopes | Apr 8, 2012 6:01 am | |
| Stas Malyshev | Apr 18, 2012 2:53 pm | |
| Gustavo Lopes | Apr 19, 2012 12:53 am | |
| Christopher Jones | Apr 19, 2012 11:15 am |
| Subject: | [PHP-DEV] Addition of calendar to intl | |
|---|---|---|
| From: | Gustavo Lopes (glo...@nebm.ist.utl.pt) | |
| Date: | Apr 2, 2012 1:35:12 am | |
| List: | net.php.lists.internals | |
Hi
I have exposed ICU's Calendar API to PHP via the intl extension. It allows date calculations with Gregorian, Chinese, Coptic, Ethiopic, Hebrew, Indian, Islamic (civil/religious), Japanese, Persian, Taiwan and Thai Buddhist calendars. For a broader overview of its functionality, see:
http://icu-project.org/apiref/icu4c/classCalendar.html
I have committed already this change:
https://github.com/php/php-src/commit/1c16c89b96bb4e02850b198b901feebdb8da2269
Traditionally, these kinds of additions to the intl extension (that mostly exposed 1 to 1 the ICU API) have not been preceded (or even followed) by any discussion; however, Stas expressed the opinion this is not a proper course of action nowadays.
Consequently, if anyone has any non-trivial substantive (as opposed to procedural) concern with this change, I will revert the merge and submit an RFC.
-- Gustavo Lopes
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php





