-
@Serializable(with = Language.Serializer.class) public final class LanguageRepresents a language with its region.
-
-
Method Summary
Modifier and Type Method Description final StringgetCode()BCP-47 language code. final LocalegetLocale()final BooleangetIsRegional()Indicates whether this language is a regional variant. final LanguageremoveRegion()Returns this Language after stripping the region. StringtoString()Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
getIsRegional
final Boolean getIsRegional()
Indicates whether this language is a regional variant.
-
removeRegion
final Language removeRegion()
Returns this Language after stripping the region.
-
-
-
-