FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

arun2code/CountryCode: ISO 3166-1 (alpha-2/alpha-3/numeric) country code enum in Java. · GitHub

 
 

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CountryCode

Note

This repository is deprecated and replaced by nv-i18n. See https://github.com/TakahikoKawasaki/nv-i18n

Overview

ISO 3166-1 (alpha-2/alpha-3/numeric) country code enum in Java.

License

Apache License, Version 2.0

Download

git clone git://github.com/TakahikoKawasaki/CountryCode.git

Javadoc

CountryCode Javadoc

Example

CountryCode cc = CountryCode.getByCode("JP");

System.out.println("Country name = " + cc.getName());                  // "Japan"
System.out.println("ISO 3166-1 alpha-2 code = " + cc.getAlpha2());     // "JP"
System.out.println("ISO 3166-1 alpha-3 code = " + cc.getAlpha3());     // "JPN"
System.out.println("ISO 3166-1 numeric code = " + cc.getNumeric());    // 392

See Also

Author

Takahiko Kawasaki, Neo Visionaries Inc.

About

ISO 3166-1 (alpha-2/alpha-3/numeric) country code enum in Java.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL