mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 15:05:53 +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. |
||
---|---|---|
.. | ||
demos | ||
main | ||
perf-tests | ||
releases_tools | ||
samples | ||
tools | ||
.gitignore | ||
APIChangeReport.html | ||
coverage-exclusion.txt | ||
extract-data-files.bat | ||
extract-data-files.sh | ||
pom.xml | ||
readme.html | ||
stylesheet8.css |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css2"> <title>ReadMe for ICU4J</title> <meta name="COPYRIGHT" content="© 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html"> <style type="text/css"> h2.doc { background: #CCCCFF } h3.doc { text-decoration: underline } </style> </head> <body style="background-color: rgb(255, 255, 255);" lang="EN-US" link="#0000ff" vlink="#800080"> <p>This readme has moved to the <a href="https://unicode-org.github.io/icu/userguide/icu4j/">ICU4J Readme</a> section in the <a href="https://unicode-org.github.io/icu/">ICU User Guide</a>.</p> <hr /> <p> Copyright © 2016 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html">http://www.unicode.org/copyright.html</a><br/> Copyright © 1997-2016 International Business Machines Corporation and others. All Rights Reserved.</p> </body> </html>