atom feed12 messages in net.php.lists.internals[PHP-DEV] Addition of calendar to intl
FromSent OnAttachments
Gustavo LopesApr 2, 2012 1:35 am 
Pierre JoyeApr 2, 2012 2:12 am 
Johannes SchlüterApr 2, 2012 2:37 am 
Derick RethansApr 2, 2012 2:43 am 
Gustavo LopesApr 2, 2012 2:45 am 
Gustavo LopesApr 2, 2012 3:07 am 
Pierre JoyeApr 2, 2012 3:42 am 
Stas MalyshevApr 7, 2012 5:38 pm 
Gustavo LopesApr 8, 2012 6:01 am 
Stas MalyshevApr 18, 2012 2:53 pm 
Gustavo LopesApr 19, 2012 12:53 am 
Christopher JonesApr 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.