Unclaimed project
Are you a maintainer of Calendar? Claim this project to take control of your public changelog and roadmap.
Changelog
A highly customizable calendar view and compose library for Android and Kotlin Multiplatform.
Compose (Android):
Compose (Multiplatform):
Kotlin DateTime 0.7.x comes with some API changes that have been inherited by the multiplatform calendar which depends on it.
The most important changes are:
YearMonth type, which replaces the one previously provided by the calendar library. You'll need to replace the imports com.kizitonwose.calendar.core.YearMonth with kotlinx.datetime.YearMonth.kotlinx.datetime.Clock, please use kotlin.time.Clock instead.Note that there are some method and field name differences between the YearMonth previously provided by the library and the new one in the Kotlin DateTime library. The relevant methods and fields are listed below.
| com.kizitonwose.calendar.core.YearMonth | kotlinx.datetime.YearMonth | | :--------: | :-------: | | atStartOfMonth() | firstDay | | atEndOfMonth() | lastDay | | lengthOfMonth() | numberOfDays | | atDay() | onDay() |
See the release notes for Kotlin DateTime 0.7.0 for all changes.
Dependencies: