Searched refs:nationalPrefixFormattingRule (Results 1 – 3 of 3) sorted by relevance
312 String nationalPrefixFormattingRule, in loadAvailableFormats() argument331 } else if (!nationalPrefixFormattingRule.equals("")) { in loadAvailableFormats()332 format.setNationalPrefixFormattingRule(nationalPrefixFormattingRule); in loadAvailableFormats()382 String nationalPrefixFormattingRule = element.getAttribute(NATIONAL_PREFIX_FORMATTING_RULE); in getNationalPrefixFormattingRuleFromElement() local384 nationalPrefixFormattingRule = in getNationalPrefixFormattingRuleFromElement()385 nationalPrefixFormattingRule.replaceFirst("\\$NP", nationalPrefix) in getNationalPrefixFormattingRuleFromElement()387 return nationalPrefixFormattingRule; in getNationalPrefixFormattingRuleFromElement()740 String nationalPrefixFormattingRule = in loadCountryMetadata() local743 nationalPrefixFormattingRule, in loadCountryMetadata()
1207 static boolean formattingRuleHasFirstGroupOnly(String nationalPrefixFormattingRule) {1208 return nationalPrefixFormattingRule.length() == 01209 || FIRST_GROUP_ONLY_PREFIX_PATTERN.matcher(nationalPrefixFormattingRule).matches();1353 String nationalPrefixFormattingRule = formattingPattern.getNationalPrefixFormattingRule();1354 if (nationalPrefixFormattingRule.length() > 0) {1358 nationalPrefixFormattingRule =1359 nationalPrefixFormattingRule.replace(NP_STRING, nationalPrefix);1360 nationalPrefixFormattingRule = nationalPrefixFormattingRule.replace(FG_STRING, "$1");1361 numFormatCopy.setNationalPrefixFormattingRule(nationalPrefixFormattingRule);1990 String nationalPrefixFormattingRule = formattingPattern.getNationalPrefixFormattingRule();[all …]
1623 function(nationalPrefixFormattingRule) { argument1624 return nationalPrefixFormattingRule.length == 0 ||1626 test(nationalPrefixFormattingRule);1816 var nationalPrefixFormattingRule =1818 if (nationalPrefixFormattingRule.length > 0) {1823 nationalPrefixFormattingRule = nationalPrefixFormattingRule1828 nationalPrefixFormattingRule);2697 var nationalPrefixFormattingRule =2700 nationalPrefixFormattingRule != null &&2701 nationalPrefixFormattingRule.length > 0) {[all …]