Package org.midheaven.culture
Class Culture
java.lang.Object
org.midheaven.culture.Culture
Represents a Culture by associating a
LanguageCode and a CountryCode.-
Method Details
-
parse
Parses the provided value.- Parameters:
code- the code value- Returns:
- the result of parse
-
tryParse
Performs tryParse.- Parameters:
code- the code value- Returns:
- the result of tryParse
-
languageCode
Performs languageCode.- Returns:
- the result of languageCode
-
countryCode
Returns country Code.- Returns:
- the result of countryCode
-
toString
Returns to String. -
toLocale
Returns to Locale.- Returns:
- the result of toLocale
-
equals
Performs equals. -
hashCode
public int hashCode()Checks whether hash Code.
-