Locale.getVariant

Returns the variant code for this locale.

@return The variant code, or the empty string if none is defined. @see #getDisplayVariant

class Locale
string
getVariant
()

Meta