Merge "Update Javadoc to clarify format for country ISO." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f9a43c05a0
@@ -1526,7 +1526,7 @@ public class PhoneNumberUtils {
|
|||||||
* Formats the specified {@code phoneNumber} to the E.164 representation.
|
* Formats the specified {@code phoneNumber} to the E.164 representation.
|
||||||
*
|
*
|
||||||
* @param phoneNumber the phone number to format.
|
* @param phoneNumber the phone number to format.
|
||||||
* @param defaultCountryIso the ISO 3166-1 two letters country code.
|
* @param defaultCountryIso the ISO 3166-1 two letters country code in UPPER CASE.
|
||||||
* @return the E.164 representation, or null if the given phone number is not valid.
|
* @return the E.164 representation, or null if the given phone number is not valid.
|
||||||
*/
|
*/
|
||||||
public static String formatNumberToE164(String phoneNumber, String defaultCountryIso) {
|
public static String formatNumberToE164(String phoneNumber, String defaultCountryIso) {
|
||||||
@@ -1537,7 +1537,7 @@ public class PhoneNumberUtils {
|
|||||||
* Formats the specified {@code phoneNumber} to the RFC3966 representation.
|
* Formats the specified {@code phoneNumber} to the RFC3966 representation.
|
||||||
*
|
*
|
||||||
* @param phoneNumber the phone number to format.
|
* @param phoneNumber the phone number to format.
|
||||||
* @param defaultCountryIso the ISO 3166-1 two letters country code.
|
* @param defaultCountryIso the ISO 3166-1 two letters country code in UPPER CASE.
|
||||||
* @return the RFC3966 representation, or null if the given phone number is not valid.
|
* @return the RFC3966 representation, or null if the given phone number is not valid.
|
||||||
*/
|
*/
|
||||||
public static String formatNumberToRFC3966(String phoneNumber, String defaultCountryIso) {
|
public static String formatNumberToRFC3966(String phoneNumber, String defaultCountryIso) {
|
||||||
|
|||||||
Reference in New Issue
Block a user