localizeRelativeAsFlow

fun Instant.localizeRelativeAsFlow(options: RelativeInstantOptions = RelativeInstantOptions(), locale: PlatformLocale = getDefaultLocale(), clock: Clock = Clock.System): Flow<String>(source)

Localizes this Instant relatively with respect to clock, with a single unit with the given options in the given locale, returning a Flow.

See also


fun LocalDate.localizeRelativeAsFlow(options: RelativeLocalDateOptions = RelativeLocalDateOptions(), locale: PlatformLocale = getDefaultLocale(), clock: Clock = Clock.System): Flow<String>(source)

Localizes this LocalDate relatively with respect to clock, with a single unit with the given options in the given locale, returning a Flow that automatically receives new localizations as they are needed.

See also


fun YearMonth.localizeRelativeAsFlow(options: RelativeYearMonthOptions = RelativeYearMonthOptions(), locale: PlatformLocale = getDefaultLocale(), clock: Clock = Clock.System): Flow<String>(source)

Localizes this YearMonth relatively with respect to clock, with a single unit with the given options in the given locale, returning a Flow that automatically receives new localizations as they are needed.

See also