- Conversion between Eorzea Time & Earth Time.
- Weather forecasts.
fun main() {
// Gets current Eorzea Time
val time = EorzeaTime.now()
// Eorzea Time to Earth Time (java.time.Instant)
val earthTime = time.toEarthTime()
// Eorzea zones enum
val zone = EorzeaZone.TheLavenderBeds
// Forecasts the weather at The Lavender Beds at [time].
val weather = time.weather(zone)
}
More examples of Gerolt can be found at Wiki. Please feel free to create new issue if you have any questions.
We moved the repository to Maven Central.
We recommend using Gradle Kotlin DSL instead of classic build.gradle.
dependencies {
implementation("blue.starry:gerolt:$GeroltVersion")
}
Gerolt is provided under MIT license.
Copyright (c) 2017-2021 StarryBlueSky.