RichLocale

fm.common.rich.RichLocale
See theRichLocale companion object
final class RichLocale(val self: Locale) extends AnyVal

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def displayCountry(implicit locale: Locale): String
def displayLanguage(implicit locale: Locale): String
def displayName(implicit locale: Locale): String
def displayScript(implicit locale: Locale): String
def displayVariant(implicit locale: Locale): String
def isChinese: Boolean
def isEnglish: Boolean
def isFrench: Boolean
def isGerman: Boolean
def isItalian: Boolean
def isJapanese: Boolean
def isKorean: Boolean
def isValid: Boolean

The Locale is considered valid if there is a valid (or blank) language and a valid (or blank) country

The Locale is considered valid if there is a valid (or blank) language and a valid (or blank) country

Attributes

def languageTag: String
def reversedStringComparator: Comparator[String]
def reversedStringOptionOrdering: Ordering[Option[String]]
def reversedStringOrdering: Ordering[String]
def stringComparator: Comparator[String]
def stringOptionOrdering: Ordering[Option[String]]
def stringOrdering: Ordering[String]

Concrete fields

val self: Locale