We intentionally avoid entities in the library that mix both together and could be misused. The library puts a clear boundary between physical time of an instant and a local, time-zone dependent civil time, consisting of components such as year, month, etc that people use when talking about time. We chose convenience over generality, so the API surface this library provides is as minimal as possible to meet the use-cases. It is not all-encompassing and lacks some domain-specific utilities that special-purpose applications might need. First of all, it is pragmatic, focused on the most common problems developers face every day (pun intended) when working with dates and times. There are a few guiding principles in the design of kotlinx-datetime. See Using in your projects for the instructions how to setup a dependency in your project. A multiplatform Kotlin library for working with date and time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |