class AndroidCompatTimeZoneRegistry(base: TimeZoneRegistry) : TimeZoneRegistry

Wrapper around default TimeZoneRegistry that uses the Android name if a time zone has a different name in ical4j and Android.

This time zone registry is set as default registry for ical4android projects in resources/

For instance, if a time zone is known as "Europe/Kyiv" (with alias "Europe/Kiev") in ical4j and only "Europe/Kiev" in Android, this registry behaves like the default TimeZoneRegistryImpl, but the returned time zone for getTimeZone("Europe/Kiev") has an ID of "Europe/Kiev" and not "Europe/Kyiv".


Link copied to clipboard
constructor(base: TimeZoneRegistry)


Link copied to clipboard
class Factory : TimeZoneRegistryFactory


Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun getTimeZone(id: String): TimeZone?

Gets the time zone for a given ID.

Link copied to clipboard
open override fun register(p0: TimeZone)
open override fun register(p0: TimeZone, p1: Boolean)