Package-level declarations

Types

Link copied to clipboard

Owns a cached ICU formatter in UTC. Close must not race an operation; GC also releases abandoned formatters.

Link copied to clipboard
data class DateTimeInfo(val firstDayOfWeek: Int, val shortDatePattern: String, val is24HourFormat: Boolean, val weekdayNames: List<Pair<String, String>>)

Gregorian calendar conventions for a BCP 47 locale; weekdays are ordered Monday through Sunday.

Link copied to clipboard

Uses Skia's static ICU and the complete packaged locale data; no default locale is modified.

Link copied to clipboard
class LocaleInfo(val languageTag: String, val language: String, val script: String, val region: String, val isRightToLeft: Boolean)

Canonical BCP 47 identity and direction obtained from the bundled ICU data.

Link copied to clipboard

Locale operations backed by the same static ICU archive and data as Skia text shaping.