diff --git a/reference/intl/dateformatter.xml b/reference/intl/dateformatter.xml index 38a6a144e7..092ad5f0e0 100644 --- a/reference/intl/dateformatter.xml +++ b/reference/intl/dateformatter.xml @@ -40,9 +40,9 @@ &Methods; + xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" /> + xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.intldateformatter')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" /> diff --git a/reference/intl/dateformatter/create.xml b/reference/intl/dateformatter/create.xml index 9998369c96..efe62c2c52 100644 --- a/reference/intl/dateformatter/create.xml +++ b/reference/intl/dateformatter/create.xml @@ -12,40 +12,37 @@ &style.oop; - - public - static - IntlDateFormatterIntlDateFormatter::create - stringlocale - intdatetype - inttimetype - mixedtimezoneNULL - mixedcalendarNULL + + public static IntlDateFormatternullIntlDateFormatter::create + stringnulllocale + intdateType + inttimeType + IntlTimeZoneDateTimeZonestringnulltimezone&null; + IntlCalendarintnullcalendar&null; stringpattern"" &style.oop; (constructor) - public - IntlDateFormatter::__construct - stringlocale - intdatetype - inttimetype - mixedtimezoneNULL - mixedcalendarNULL + public IntlDateFormatter::__construct + stringnulllocale + intdateType + inttimeType + IntlTimeZoneDateTimeZonestringnulltimezone&null; + IntlCalendarintnullcalendar&null; stringpattern"" &style.procedural; - - IntlDateFormatterdatefmt_create - stringlocale - intdatetype - inttimetype - mixedtimezoneNULL - mixedcalendarNULL + + IntlDateFormatternulldatefmt_create + stringnulllocale + intdateType + inttimeType + IntlTimeZoneDateTimeZonestringnulltimezone&null; + IntlCalendarintnullcalendar&null; stringpattern"" @@ -68,7 +65,7 @@ - datetype + dateType Date type to use (none, short, @@ -81,7 +78,7 @@ - timetype + timeType Time type to use (none, short, @@ -146,7 +143,7 @@ &reftitle.returnvalues; - The created IntlDateFormatter or &false; in case of + The created IntlDateFormatter or &null; in case of failure. @@ -261,7 +258,6 @@ Second Formatted output with pattern is 12/31/1969 - - IntlDateFormatter::formatObject @@ -13,21 +12,20 @@ &style.oop; - + public static stringfalseIntlDateFormatter::formatObject - objectobject - mixedformatNULL - stringlocaleNULL + IntlCalendarDateTimedatetime + arrayintstringnullformat&null; + stringnulllocale&null; &style.procedural; - - public static + stringfalsedatefmt_format_object - objectobject - mixedformatNULL - stringlocaleNULL + IntlCalendarDateTimeInterfacedatetime + arrayintstringnullformat&null; + stringnulllocale&null; @@ -49,7 +47,7 @@ &reftitle.parameters; - object + datetime An object of type IntlCalendar or @@ -158,7 +156,6 @@ with DateTime: - - IntlDateFormatter::getCalendarObject @@ -13,19 +12,16 @@ &style.oop; - - public - IntlCalendar - IntlDateFormatter::getCalendarObject - + + public IntlCalendarfalsenullIntlDateFormatter::getCalendarObject + &style.procedural; - - IntlCalendar - datefmt_get_calendar_object - + + IntlCalendarfalsenulldatefmt_get_calendar_object + IntlDateFormatterformatter @@ -45,7 +41,8 @@ &reftitle.returnvalues; - A copy of the internal calendar object used by this formatter. + A copy of the internal calendar object used by this formatter, + or &null; if none has been set, &return.falseforfailure;. @@ -108,7 +105,6 @@ string(5) "fr_FR" - - IntlDateFormatter::getTimeZone @@ -13,17 +12,16 @@ &style.oop; - + public IntlTimeZonefalseIntlDateFormatter::getTimeZone - + &style.procedural; - - IntlTimeZonefalse - datefmt_get_timezone - + + IntlTimeZonefalsedatefmt_get_timezone + IntlDateFormatterformatter @@ -107,7 +105,6 @@ Europe/Lisbon - - IntlDateFormatter::setTimeZone @@ -13,20 +12,17 @@ &style.oop; - - public - bool - IntlDateFormatter::setTimeZone - mixedzone + + public boolnullIntlDateFormatter::setTimeZone + IntlTimeZoneDateTimeZonestringnulltimezone &style.procedural; - - bool - datefmt_set_timezone - IntlDateFormatterfmt - mixedzone + + boolnulldatefmt_set_timezone + IntlDateFormatterformatter + IntlTimeZoneDateTimeZonestringnulltimezone @@ -40,7 +36,7 @@ &reftitle.parameters; - fmt + formatter The formatter resource. @@ -48,7 +44,7 @@ - zone + timezone The timezone to use for this formatter. This can be specified in the @@ -63,7 +59,7 @@ &reftitle.returnvalues; - Returns &true; on success and &false; on failure. + Returns &null; on success and &false; on failure. @@ -132,7 +128,6 @@ IntlTimeZone Object -