Skip to content

A simple repo that finds the norwegian holidays for a given year

License

Notifications You must be signed in to change notification settings

MikAoJk/norwegian-holidays

Repository files navigation

norwegian-holidays

A simple repo that finds the norwegian holidays for a given year

Build and test Validate Gradle Wrapper GitHub Release

Technologies used

  • Kotlin
  • Gradle
  • JDK 21

Build and run tests

To build locally and run the integration tests you can simply run ./gradlew clean build or on windows gradlew.bat clean build

Upgrading the gradle wrapper

Find the newest version of gradle here: https://gradle.org/releases/ Then run this command:

./gradlew wrapper --gradle-version $gradleVersjon

Usage

val year = 2022
val easterDay = getNorwegianHolidays(year).find { it.name == "1. påskedag" }?.date

println("Easter day for 2022 is: $easterDay")

Contact

Questions and/or feature requests? Please create an issue.

About

A simple repo that finds the norwegian holidays for a given year

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages