[bisq-network/bisq] Validate phone numbers (#3134)
Stan
notifications at github.com
Sat Aug 24 14:58:03 UTC 2019
ghubstan commented on this pull request.
> +
+import java.util.Map;
+
+import static java.util.Map.entry;
+
+final class CountryCallingCodes {
+ /**
+ * Immutable mapping of ISO 3166 alpha-2 country code to national dialing number.
+ * <p>
+ * In some regions, such as American Samoa ('AS'), there is only one area code, and
+ * it is included in the mapping as part of the calling code.
+ *
+ * @see {@link <a href="https://en.wikipedia.org/wiki/E.164">https://en.wikipedia.org/wiki/E.164</a>}
+ * @see {@link <a href="https://en.wikipedia.org/wiki/List_of_country_calling_codes">https://en.wikipedia.org/wiki/List_of_country_calling_codes</a>}
+ */
+ private final Map<String, String> callingCodeMap = Map.ofEntries(
OK
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3134#discussion_r317364002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190824/7c65b68f/attachment.html>
More information about the bisq-github
mailing list