10000 GitHub - noel-archive/iana-tz: ๐ŸŽ‘ Up to date IANA timezone database library for Kotlin (JVM, JS, Native)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

noel-archive/iana-tz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ‘ IANA Timezone Library for Kotlin Multiplatform

Up to date IANA timezone database library for Kotlin (JVM, JS, Native)

Usage

import org.noelware.iana.*

fun main() {
    AMERICAS.first { it.name.endsWith("Phoenix") }
    // => org.noelware.iana.IANATimezone[America/Phoenix]
}

Installation

Gradle

Kotlin DSL

repositories {
    // If you're using the Noel Gradle Utils package, you can use the
    // `noelware` extension
    maven {
        url = uri("https://maven.noelware.org")
    }
}

dependencies {
    // If you're using the Noel Gradle Utils package, you can use
    // the `noelware` extension to automatically prefix `org.noelware.<module>`
    // in the dependency declaration
    implementation("org.noelware.iana:iana-tz:<version>")
}

Groovy DSL

repositories {
    maven {
        url "https://maven.noelware.org"
    }
}

dependencies {
    implementation "org.noelware.iana:iana-tz:<version>"
}

Maven

Declare the Noelware Maven repository under the <repositories> chain:

<repositories>
    <repository>
        <id>noelware-maven</id>
        <url>https://maven.noelware.org</url>
    </repository>
</repositories>

Now declare the dependency you want under the <dependencies> chain:

<dependencies>
    <dependency>
        <groupId>org.noelware.iana</groupId>
        <artifactId>iana-tz-jvm</artifactId>
        <version>{{VERSION}}</version>
        <type>pom</type>
    </dependency>
</dependencies>

License

iana-tz-kt is released under the MIT License with love by Noelware

About

๐ŸŽ‘ Up to date IANA timezone database library for Kotlin (JVM, JS, Native)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0