Package-level declarations

Types

Link copied to clipboard
abstract class BaseLocale

An object representing a specific geographical, political, or cultural region.

Link copied to clipboard
actual data class KalugaLocale : BaseLocale

Default implementation of BaseLocale

actual data class KalugaLocale : BaseLocale

Default implementation of BaseLocale

expect class KalugaLocale : BaseLocale

Default implementation of BaseLocale

actual data class KalugaLocale : BaseLocale

Default implementation of BaseLocale

actual data class KalugaLocale : BaseLocale

Default implementation of BaseLocale backed by the ECMAScript Intl API.

Link copied to clipboard

The unit system used by a country. For more advanced functionality please use Kaluga Scientific

Properties

Link copied to clipboard

Locale for English/US in a POSIX format. Useful shortcut when dealing with fixed locale formats.

Functions

Link copied to clipboard
actual fun String.lowerCased(locale: KalugaLocale): String

Converts a String to its lower cased variant based on a given KalugaLocale

actual fun String.lowerCased(locale: KalugaLocale): String

Converts a String to its lower cased variant based on a given KalugaLocale

expect fun String.lowerCased(locale: KalugaLocale): String

Converts a String to its lower cased variant based on a given KalugaLocale

actual fun String.lowerCased(locale: KalugaLocale): String

Converts a String to its lower cased variant based on a given KalugaLocale

actual fun String.lowerCased(locale: KalugaLocale): String

Converts a String to its lower cased variant based on a given KalugaLocale, backed by JavaScript's String.prototype.toLocaleLowerCase (applies locale-specific casing, e.g. Turkish dotted/dotless "I").

Link copied to clipboard
actual fun String.upperCased(locale: KalugaLocale): String

Converts a String to its upper cased variant based on a given KalugaLocale

actual fun String.upperCased(locale: KalugaLocale): String

Converts a String to its upper cased variant based on a given KalugaLocale

expect fun String.upperCased(locale: KalugaLocale): String

Converts a String to its upper cased variant based on a given KalugaLocale

actual fun String.upperCased(locale: KalugaLocale): String

Converts a String to its upper cased variant based on a given KalugaLocale

actual fun String.upperCased(locale: KalugaLocale): String

Converts a String to its upper cased variant based on a given KalugaLocale, backed by JavaScript's String.prototype.toLocaleUpperCase.