ZonedLocalDateLocalizer

Localizer for Zoned<LocalDate>.

This behaves identically to LocalDateLocalizer, but it also adds a TimeZone in the mix.

Because a LocalDate represents a big span of time, the timezone could have different offsets at different moments within the day. For this reason, only the TimeZoneStyle.Generic subset is allowed in the options for the time zone style.

Create once and re-use for localizing multiple values with the same options. Use Zoned.localize for one-off localizations.

Examples:

  • January 2026, Los Angeles Time

  • Jan 26, PT

  • 01/2026, Pacific Time

Constructors

Link copied to clipboard
constructor(options: ZonedDateOptions, locale: PlatformLocale = getDefaultLocale())

Functions

Link copied to clipboard
open override fun localize(value: Zoned<LocalDate>): String