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

Thank you for you work!
On the procedural note, I think it would be much better to follow the
procedure like this:
1. Talking to extension maintainer
2. Submitting RFC
3. Announcing on the list
4. Publishing the implementation branch
5. Hopefully, review & improvement
6. Commit

I hope the times of "commit huge patches first, discuss them and
document later if ever" are behind us. Or at least we should try to put
them behind us.

As for the API, I'm not sure I understand properly what it is supposed
to do (one of the downsides of no RFC). Is it for date calculations?
What kinds of calculations you could do? What is IntlGregorianCalendar
class - and why there is Gregorian one, but not others? If I wanted to
work with Hebrew calendar, how would I do that? What does it do that
DateTime doesn't?
For the timezones - what is the difference between these timezones and
the ones DatTime has - is there something additional that these provide?

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to