# Class Locale

java.lang.Object
java.util.Locale

public class Locale extends java.lang.Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Locale(String language, String locale)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getCountry()`
  `static Locale`
  `getDefault()`
  `String`
  `getLanguage()`
  `static void`
  `setDefault(Locale l)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Locale

    public Locale(String language, String locale)

- ## Method Details

  - ### getDefault

    public static Locale getDefault()

  - ### setDefault

    public static void setDefault(Locale l)

  - ### getLanguage

    public String getLanguage()

  - ### getCountry

    public String getCountry()