Searched refs:hasNationalPrefix (Results 1 – 10 of 10) sorted by relevance
92 assertThat(t.hasNationalPrefix()).isTrue(); in testTemplate_splitPrefix()102 assertThat(t.hasNationalPrefix()).isFalse(); in testTemplate_noPrefix()112 assertThat(t.hasNationalPrefix()).isFalse(); in testTemplate_replacementNoNationalPrefix()122 assertThat(t.hasNationalPrefix()).isTrue(); in testTemplate_replacementWithNationalPrefix()132 assertThat(t.hasNationalPrefix()).isFalse(); in testTemplate_replacementNotFirstGroup()144 assertThat(t.hasNationalPrefix()).isFalse(); in testTemplate_removeFirstGroupViaReplacement()
143 checkArgument(!local.hasNationalPrefix(), in localFormat()230 checkArgument(!carrier.hasNationalPrefix() || spec.indexOf('#') < spec.indexOf('@'), in parseCarrierSpec()243 !intl.hasNationalPrefix(), in parseIntlSpec()258 checkArgument(!local.hasNationalPrefix(), in parseLocalSpec()309 boolean hasNationalPrefix = false;361 checkArgument(!hasNationalPrefix, "multiple national prefixes not allowed: %s", spec);362 hasNationalPrefix = true;394 hasNationalPrefix,408 public abstract boolean hasNationalPrefix();
340 } else if (spec.national().hasNationalPrefix()) { in checkUnambiguousIdd()415 spec.national().hasNationalPrefix() in checkFormatConsistency()416 || spec.carrier().map(FormatTemplate::hasNationalPrefix).orElse(false); in checkFormatConsistency()
675 private boolean hasNationalPrefix; field in Phonemetadata.PhoneMetadata677 public boolean hasNationalPrefix() { return hasNationalPrefix; } in hasNationalPrefix() method in Phonemetadata.PhoneMetadata680 hasNationalPrefix = true; in setNationalPrefix()685 hasNationalPrefix = false; in clearNationalPrefix()944 objectOutput.writeBoolean(hasNationalPrefix); in writeExternal()945 if (hasNationalPrefix) { in writeExternal()
881 if (!metadata.hasNationalPrefix() && !number.isItalianLeadingZero()) {
331 if (metadata.hasNationalPrefix()) { in toJsArray()
1761 i18n.phonenumbers.PhoneMetadata.prototype.hasNationalPrefix = function() { method in i18n.phonenumbers.PhoneMetadata
1278 if (!metadata.hasNationalPrefix() && !number.hasItalianLeadingZero()) {
271 assertTrue(metadata.hasNationalPrefix());
202 assertTrue(metadata.hasNationalPrefix()); in testGetInstanceLoadUSMetadata()