All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.TimeZone.kt Maven / Gradle / Ivy

There is a newer version: 0.18.0
Show newest version
package io.fluidsonic.time

import kotlinx.datetime.*


// TimeZone.Companion.of() should rename parameter 'zoneId' to 'id' as the 'zone' is redundant.
public fun TimeZone.Companion.ofOrNull(id: String): TimeZone? =
	runCatching { of(id) }.getOrNull()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy