Logo Search packages:      
Sourcecode: icu version File versions  Download package

const NumberFormat * MessageFormat::getDefaultNumberFormat ( UErrorCode ec  )  const [private]

Method to retrieve default formats (or NULL on failure). These are semantically const, but may modify *this.

Return the default number format. Used to format a numeric argument when subformats[i].format is NULL. Returns NULL on failure.

Semantically const but may modify *this.

Definition at line 1764 of file msgfmt.cpp.

References NumberFormat::createInstance(), defaultNumberFormat, NULL, U_FAILURE, and U_MEMORY_ALLOCATION_ERROR.

Generated by  Doxygen 1.6.0   Back to index