toString

open override fun toString(): String(source)

Get the string representation of this locale code. Its format is either of the following:

  • language

  • language-country

where language is an ISO 639-1 code and country is an [ISO 3166-1

  • alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.

Return

The string representation of this locale code.