Created
March 29, 2019 14:24
-
-
Save ShanikaNishadhi/6a2dae95c5af92e30593feece13cac6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Locale; | |
public class LanguageTagExample { | |
public static void main(String[] args) { | |
Locale locale = Locale.forLanguageTag("en-US"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment