A simple repo that finds the norwegian holidays for a given year
- Kotlin
- Gradle
- JDK 21
To build locally and run the integration tests you can simply run ./gradlew clean build
or on windows
gradlew.bat clean build
Find the newest version of gradle here: https://gradle.org/releases/ Then run this command:
./gradlew wrapper --gradle-version $gradleVersjon
val year = 2022
val easterDay = getNorwegianHolidays(year).find { it.name == "1. påskedag" }?.date
println("Easter day for 2022 is: $easterDay")
Questions and/or feature requests? Please create an issue.