You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libphonenum...@googlegroups.com
Is there a reliable way to generate random numbers with this library given a country code? I need parseable numbers for fake testing data. Thanks!
David Yonge-Mallo
unread,
Dec 17, 2014, 10:07:30 AM12/17/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to libphonenum...@googlegroups.com
On Tuesday, December 16, 2014 7:22:59 PM UTC+1, Robert DiFalco wrote:
Is there a reliable way to generate random numbers with this library given a country code? I need parseable numbers for fake testing data. Thanks!
How "random" are we talking here, and how many distinct ones do you need? You can call getExampleNumber(), and if you need more than one example number, replace the last N digits. This should work in most places if N is small.
Robert DiFalco
unread,
Dec 22, 2014, 8:37:36 PM12/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message