|
IntlDateFormatter::getErrorCodedatefmt_get_error_codeGet the error code from last operation DescriptionObject-oriented style
public int IntlDateFormatter::getErrorCode()
Procedural style int datefmt_get_error_code(IntlDateFormatter
$formatter )Returns the error code from the last formatting operation. Parameters
Return ValuesThe error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. ExamplesExample #1 datefmt_get_error_code example
Example #2 OO example
The above example will output: ERROR: U_ZERO_ERROR (0) See Also
|