ICU-3935 RFE: undo add ability to name RBNF ruleset in fraction rules

X-SVN-Rev: 16009
This commit is contained in:
Doug Felt 2004-07-15 19:01:53 +00:00
parent 6aa4b3db3e
commit 7b18e9c339

View file

@ -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;