php-src/ext/intl
Gustavo André dos Santos Lopes eb346ef0f4 DateFormat plays nice with Calendar, TimeZone
The following changes were made:

* The IntlDateFormatter constructor now accepts the usual values
  for its $timezone argument. This includes timezone identifiers,
  IntlTimeZone objects, DateTimeZone objects and NULL. An empty
  string is not accepted. An invalid time zone is no longer accepted
  (it used to use UTC in this case).
* When NULL is passed to IntlDateFormatter, the time zone specified in
  date.timezone is used instead of the ICU default.
* The IntlDateFormatter $calendar argument now accepts also an
  IntlCalendar. In this case, IntlDateFormatter::getCalendar() will
  return false.
* The time zone passed to the IntlDateFormatter is ignored if it is
  NULL and if the calendar passed is an IntlCalendar object -- in this
  case, the IntlCalendar time zone will be used instead. Otherwise,
  the time zone specified in the $timezone argument is used instead.
* Added IntlDateFormatter::getCalendarObject(), which always returns
  the IntlCalendar object that backs the DateFormat, even if a
  constant was passed to the constructor, i.e., if an IntlCalendar
  was not passed to the constructor.
* Added IntlDateFormatter::setTimeZone(). It accepts the usual values
  for time zone arguments. If NULL is passed, the time zone of the
  IntlDateFormatter WILL be overridden with the default time zone,
  even if an IntlCalendar object was passed to the constructor.
* Added IntlDateFormatter::getTimeZone(), which returns the time zone
  that's associated with the DateFormat.
* Depreacated IntlDateFormatter::setTimeZoneId() and made it an alias
  for IntlDateFormatter::setTimeZone(), as the new ::setTimeZone()
  also accepts plain identifiers, besides other types.
  IntlDateFormatter::getTimeZoneId() is not deprecated however.
* IntlDateFormatter::setCalendar() with a constant passed should now
  work correctly. This requires saving the requested locale to the
  constructor.
* Centralized the hacks required to avoid compilation disasters on
  Windows due to some headers being included inside and outside of
  extern "C" blocks.
2012-06-04 00:01:48 +02:00
..
calendar DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
collator Merge branch '5.4' 2012-05-23 13:27:54 +02:00
common DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
dateformat DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
doc update API files 2009-07-01 20:25:38 +00:00
formatter Merge branch 'PHP-5.3' into PHP-5.4 2012-04-19 11:37:31 -07:00
grapheme DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
idn - Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c 2011-11-24 22:45:50 +00:00
locale Merge branch '5.4' 2012-05-23 13:27:54 +02:00
msgformat DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
normalizer - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
resourcebundle Merge branch '5.4' 2012-05-24 14:33:42 +02:00
spoofchecker - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
tests Merge branch 'PHP-5.4' 2012-05-29 23:53:01 -07:00
timezone DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
transliterator - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
config.m4 DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
config.w32 DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
CREDITS MFH:tune 2008-07-26 22:18:38 +00:00
intl_common.h
intl_convert.c MFH: 2008-08-11 19:48:00 +00:00
intl_convert.h
intl_convertcpp.cpp DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
intl_convertcpp.h Initial checkin of calendar/timezone code. 2012-04-01 23:28:00 +01:00
intl_cppshims.h DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
intl_data.h little errors cleanup 2009-05-10 19:10:36 +00:00
intl_error.c - Added the ability for the intl exception to throw exceptions when a global error is set. 2012-01-08 18:41:53 +00:00
intl_error.h - Added the ability for the intl exception to throw exceptions when a global error is set. 2012-01-08 18:41:53 +00:00
php_intl.c DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
php_intl.h DateFormat plays nice with Calendar, TimeZone 2012-06-04 00:01:48 +02:00
TODO todo 2008-07-14 06:15:49 +00:00