diff options
Diffstat (limited to 'repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java')
-rw-r--r-- | repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java index f494f475..8dc1f469 100644 --- a/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java +++ b/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/PhoneNumberUtil.java @@ -866,7 +866,11 @@ public class PhoneNumberUtil { * to split a national significant number into NDC and subscriber number. The NDC of a phone * number is normally the first group of digit(s) right after the country calling code when the * number is formatted in the international format, if there is a subscriber number part that - * follows. An example of how this could be used: + * follows. + * + * N.B.: similar to an area code, not all numbers have an NDC! + * + * An example of how this could be used: * * <pre>{@code * PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance(); @@ -892,7 +896,7 @@ public class PhoneNumberUtil { * @param number the PhoneNumber object for which clients * want to know the length of the NDC * @return the length of NDC of the PhoneNumber object - * passed in + * passed in, which could be zero */ public int getLengthOfNationalDestinationCode(PhoneNumber number) { PhoneNumber copiedProto; |