kotlinx-datetime is a multiplatform library for handling date, time, and calendar operations across different targets. It provides a consistent set of data types for representing instants and local date-times, serving as a standardized API for temporal management.
The toolkit focuses on ISO 8601 compliance for parsing and formatting date and time strings. It implements a multiplatform approach to ensure that timestamps and calendar logic remain consistent across all supported platforms.
The library covers temporal data modeling, calendar arithmetic for calculating durations and periods, and regional time zone transformations to convert absolute timestamps into human-readable local times. It also includes utilities for Unicode pattern formatting and the normalization of irregular date components.