mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
If a DecimalFormat pattern contains a decimal point and setDecimalPatternMatchRequired is true, then DecimalFormat parse() fails to parse infinity/NaN representations. This is because infinity/NaN parsing does not set the HAS_DECIMAL_SEPARATOR_FLAG and so the RequireDecimalSeparatorValidator fails. This modifies the RequireDecimalSeparatorValidator so that it does not fail if the INFINITY or NAN flags are set, making it so decimal separators are not required if the infinity/NaN representations are parsed. |
||
---|---|---|
.. | ||
charset | ||
collate | ||
common_tests | ||
core | ||
currdata | ||
framework | ||
icu4j | ||
langdata | ||
localespi | ||
regiondata | ||
translit |