You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
13 lines
323 B
Java
13 lines
323 B
Java
package android.telephony;
|
|
|
|
public class PhoneNumberUtils {
|
|
|
|
public static boolean isNonSeparator(char c) {
|
|
return c != ' ' && c != '\t' && c != '\n' && c != '\r' && c != '-';
|
|
}
|
|
|
|
public static boolean isGlobalPhoneNumber(String phoneNumber) {
|
|
return phoneNumber.startsWith("+") || phoneNumber.startsWith("00");
|
|
}
|
|
}
|