OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NATIONAL
(Results
1 - 2
of
2
) sorted by null
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberUtilTest.java
228
// Google Singapore. Singapore has no area code and no
national
prefix.
236
// Google MTV, which has
national
destination code (NDC) "650".
344
assertEquals("650 253 0000", phoneUtil.format(US_NUMBER, PhoneNumberFormat.
NATIONAL
));
347
assertEquals("800 253 0000", phoneUtil.format(US_TOLLFREE, PhoneNumberFormat.
NATIONAL
));
350
assertEquals("900 253 0000", phoneUtil.format(US_PREMIUM, PhoneNumberFormat.
NATIONAL
));
353
// Numbers with all zeros in the
national
number part will be formatted by using the raw_input
356
phoneUtil.format(US_SPOOF_WITH_RAW_INPUT, PhoneNumberFormat.
NATIONAL
));
357
assertEquals("0", phoneUtil.format(US_SPOOF, PhoneNumberFormat.
NATIONAL
));
361
assertEquals("242 365 1234", phoneUtil.format(BS_NUMBER, PhoneNumberFormat.
NATIONAL
));
366
assertEquals("(020) 7031 3000", phoneUtil.format(GB_NUMBER, PhoneNumberFormat.
NATIONAL
));
[
all
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberUtil.java
60
// The minimum and maximum length of the
national
significant number.
250
// component of the number, after the main
national
number is formatted. For example, if you wish
310
// first group is not used in the
national
pattern (e.g. Argentina) so the $1 group does not match
330
* INTERNATIONAL and
NATIONAL
formats are consistent with the definition in ITU-T Recommendation
332
* "+41 44 668 1800" in INTERNATIONAL format, and as "044 668 1800" in
NATIONAL
format.
343
NATIONAL
,
511
// First we check if the
national
significant number is formatted as a block.
512
// We use contains and not equals, since the
national
significant number may be present with
513
// a prefix such as a
national
number prefix, or the country code itself.
530
// Now check the first group. There may be a
national
prefix at the start, so we only chec
[
all
...]
Completed in 4738 milliseconds