1 Replies - 326 Views - Last Post: 04 August 2017 - 02:51 PM Rate Topic: -----

#1 Criel  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 141
  • Joined: 11-March 11

Does Locale allow us to get 2-alphanumeric values from 3-digit country

Posted 04 August 2017 - 02:27 PM

Is there a way this Locale object allows us to find the 2 or 3 alpha numeric value of country code if we have 3 digit country code?

Example :

840 United States of America

If I only have 840 to work with, is there anyway for me to get United States of America via Locale or will I have to manually create enumerator which holds both values?
Is This A Good Question/Topic? 0
  • +

Replies To: Does Locale allow us to get 2-alphanumeric values from 3-digit country

#2 g00se  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3417
  • View blog
  • Posts: 15,411
  • Joined: 20-September 08

Re: Does Locale allow us to get 2-alphanumeric values from 3-digit country

Posted 04 August 2017 - 02:51 PM

Quote

or will I have to manually create enumerator which holds both values?

Looks like it, yes. Locale doesn't appear to support them

http://theopentutori...ntries-in-java/

This post has been edited by g00se: 04 August 2017 - 02:52 PM
Reason for edit:: Clarification

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1