Home
last modified time | relevance | path

Searched refs:patternHasDecimalSeparator (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DRequireDecimalSeparatorValidator.java16 private final boolean patternHasDecimalSeparator; field in RequireDecimalSeparatorValidator
18 public static RequireDecimalSeparatorValidator getInstance(boolean patternHasDecimalSeparator) { in getInstance() argument
19 return patternHasDecimalSeparator ? A : B; in getInstance()
22 private RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator) { in RequireDecimalSeparatorValidator() argument
23 this.patternHasDecimalSeparator = patternHasDecimalSeparator; in RequireDecimalSeparatorValidator()
29 if (parseHasDecimalSeparator != patternHasDecimalSeparator) { in postProcess()
DNumberParserImpl.java254 boolean patternHasDecimalSeparator = properties.getDecimalSeparatorAlwaysShown() in createParserFromProperties()
256 … parser.addMatcher(RequireDecimalSeparatorValidator.getInstance(patternHasDecimalSeparator)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DRequireDecimalSeparatorValidator.java14 private final boolean patternHasDecimalSeparator; field in RequireDecimalSeparatorValidator
16 public static RequireDecimalSeparatorValidator getInstance(boolean patternHasDecimalSeparator) { in getInstance() argument
17 return patternHasDecimalSeparator ? A : B; in getInstance()
20 private RequireDecimalSeparatorValidator(boolean patternHasDecimalSeparator) { in RequireDecimalSeparatorValidator() argument
21 this.patternHasDecimalSeparator = patternHasDecimalSeparator; in RequireDecimalSeparatorValidator()
27 if (parseHasDecimalSeparator != patternHasDecimalSeparator) { in postProcess()
DNumberParserImpl.java252 boolean patternHasDecimalSeparator = properties.getDecimalSeparatorAlwaysShown() in createParserFromProperties()
254 … parser.addMatcher(RequireDecimalSeparatorValidator.getInstance(patternHasDecimalSeparator)); in createParserFromProperties()
/external/icu/icu4c/source/i18n/
Dnumparse_validators.cpp44 RequireDecimalSeparatorValidator::RequireDecimalSeparatorValidator(bool patternHasDecimalSeparator) in RequireDecimalSeparatorValidator() argument
45 : fPatternHasDecimalSeparator(patternHasDecimalSeparator) { in RequireDecimalSeparatorValidator()
Dnumparse_validators.h53 RequireDecimalSeparatorValidator(bool patternHasDecimalSeparator);
Dnumparse_impl.cpp202 bool patternHasDecimalSeparator = in createParserFromProperties() local
204 … parser->addMatcher(parser->fLocalValidators.decimalSeparator = {patternHasDecimalSeparator}); in createParserFromProperties()