//core/io.islandtime/IslandTime/initialize
initialize¶
common
fun initialize(block: IslandTime.Initializer.() -> Unit)
Initializes Island Time.
This method should be called prior to any of use of the library, usually during an application's initialization process. If Island Time is not explicitly initialized, the PlatformTimeZoneRulesProvider and all other default settings will be used.
Throws¶
IllegalStateException | if Island Time has already been initialized |