Functions
Link copied to clipboard
fun supportedLocalesOf(locales: Locale, options: RelativeTimeFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>
fun supportedLocalesOf(locales: ReadonlyArray<Locale>, options: RelativeTimeFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>
fun supportedLocalesOf(locales: ReadonlyArray<UnicodeBCP47LocaleIdentifier>, options: RelativeTimeFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>
fun supportedLocalesOf(locales: UnicodeBCP47LocaleIdentifier = definedExternally, options: RelativeTimeFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>
Returns an array containing those of the provided locales that are supported in date and time formatting without having to fall back to the runtime's default locale.