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

void NumberFormat::setParseIntegerOnly ( UBool  value  )  [virtual, inherited]

Sets whether or not numbers should be parsed as integers only.

Parameters:
value set True, this format will parse numbers as integers only.
See also:
isParseIntegerOnly ICU 2.0

Definition at line 616 of file numfmt.cpp.

Referenced by DateFormat::adoptNumberFormat(), MessageFormat::createIntegerFormat(), SimpleDateFormat::initialize(), TimeZone::parseCustomID(), NumberFormatRegressionTest::Test4170798(), IntlTestNumberFormatAPI::testAPI(), and unum_setAttribute().

{
    fParseIntegerOnly = value;
}


Generated by  Doxygen 1.6.0   Back to index