mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-3935 RFE: undo add ability to name RBNF ruleset in fraction rules
X-SVN-Rev: 16009
This commit is contained in:
parent
6aa4b3db3e
commit
7b18e9c339
1 changed files with 4 additions and 4 deletions
|
@ -1216,10 +1216,10 @@ class FractionalPartSubstitution extends NFSubstitution {
|
|||
RuleBasedNumberFormat formatter,
|
||||
String description) {
|
||||
super(pos, ruleSet, formatter, description);
|
||||
// the idea is to allow a rule set name in the digits portion of a proper or improper fraction rule set
|
||||
boolean chevron = description.charAt(0) == '>' && description.charAt(description.length()-1) == '>';
|
||||
// if (description.equals(">>") || description.equals(">>>") || ruleSet == this.ruleSet) {
|
||||
if (chevron || ruleSet == this.ruleSet) {
|
||||
// boolean chevron = description.startsWith(">>") || ruleSet == this.ruleSet;
|
||||
// if (chevron || ruleSet == this.ruleSet) {
|
||||
|
||||
if (description.equals(">>") || description.equals(">>>") || ruleSet == this.ruleSet) {
|
||||
byDigits = true;
|
||||
if (description.equals(">>>")) {
|
||||
useSpaces = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue