I can get the current time like System.currentTimeInMillis(). But I really don't need this granularity in the millisecond range. A type which gets me a rough day date like 22.11.2021 is enough for my purposes.
I also would appreciate operations like incrementing the next 14 days etc.
You can use
LocalDateas follows:You can read more about this new Time API available in Java/Kotlin at https://www.baeldung.com/java-8-date-time-intro.