IntlCalendar::after

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Whether this objectʼs time is after that of the passed object public bool IntlCalendar::after ( IntlCalendar $other ) Object oriented style Procedural style bool intlcal_after ( IntlCalendar $cal , IntlCalendar $other ) Returns whether this objectʼs time succeeds the argumentʼs time. Parameters: cal The IntlCalendar resource.

IntlCalendar::add

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1) Add a (signed) amount of time to a field public bool IntlCalendar::add ( int $field, int $amount ) Object oriented style Procedural style bool intlcal_add ( IntlCalendar $cal , int $field , int $amount ) Add a signed amount to a field. Adding a positive amount allows advances in time, even if the numeric value of the field decreases (e.g. when working with years in BC dates). Oth

MessageFormatter::setPattern

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Set the pattern used by the formatter public bool MessageFormatter::setPattern ( string $pattern ) Object oriented style Procedural style bool msgfmt_set_pattern ( MessageFormatter $fmt , string $pattern ) Set the pattern used by the formatter Parameters: fmt The message formatter pattern

MessageFormatter::parse

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Parse input string according to pattern public array MessageFormatter::parse ( string $value ) Object oriented style Procedural style array msgfmt_parse ( MessageFormatter $fmt , string $value ) Parses input string and return any extracted items as an array. Parameters: fmt The message formatter

MessageFormatter::parseMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Quick parse input string public static array MessageFormatter::parseMessage ( string $locale, string $pattern, string $source ) Object oriented style Procedural style array msgfmt_parse_message ( string $locale , string $pattern , string $value ) Parses input string without explicitly creating the formatter object. Use this function when the format operation is done only

MessageFormatter::getPattern

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the pattern used by the formatter public string MessageFormatter::getPattern ( void ) Object oriented style Procedural style string msgfmt_get_pattern ( MessageFormatter $fmt ) Get the pattern used by the formatter Parameters: fmt The message formatter Returns: The pattern string for this

MessageFormatter::getLocale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the locale for which the formatter was created. public string MessageFormatter::getLocale ( void ) Object oriented style Procedural style string msgfmt_get_locale ( NumberFormatter $formatter ) Get the locale for which the formatter was created. Parameters: formatter The formatter resource Retu

MessageFormatter::getErrorMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the error text from the last operation public string MessageFormatter::getErrorMessage ( void ) Object oriented style Procedural style string msgfmt_get_error_message ( MessageFormatter $fmt ) Get the error text from the last operation. Parameters: fmt The message formatter Returns: Descr

MessageFormatter::getErrorCode

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the error code from last operation public int MessageFormatter::getErrorCode ( void ) Object oriented style Procedural style int msgfmt_get_error_code ( MessageFormatter $fmt ) Get the error code from last operation. Parameters: fmt The message formatter Returns: The error code, one of UE

MessageFormatter::format

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Format the message public string MessageFormatter::format ( array $args ) Object oriented style Procedural style string msgfmt_format ( MessageFormatter $fmt , array $args ) Format the message by substituting the data into the format string according to the locale rules Parameters: fmt The message formatter