awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
Kotlin avatar

Kotlin/kotlinx-datetime

0
View on GitHub↗
2,775 stars·131 forks·Kotlin·apache-2.0·17 views

Kotlinx Datetime

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.

Features

  • Date and Time Libraries - Provides a standardized multiplatform API for handling date, time, and calendar operations.
  • Multiplatform Date Time APIs - Provides a consistent multiplatform API for representing and manipulating instants and local date-times.
  • Temporal Type Specifications - Implements a set of consistent data types to represent timestamps, local times, and calendar dates.
  • Time Zone Management - Transforms absolute timestamps into human-readable components using regional time zone rules and databases.
  • Time Zone Conversions - Transforms absolute timestamps into human-readable local date-time components based on regional time zone rules.
  • Ambiguity-Free Type Modeling - Eliminates ambiguity by using distinct types for instants, local date-times, and year-month combinations.
  • Time Zone Converters - Converts high-resolution timestamps into readable date and time components based on a specified time zone.
  • Multiplatform Code Sharing - Uses a shared API module with platform-specific native implementations to ensure consistent date-time logic across targets.
  • ISO 8601 Standards - Implements parsing and formatting logic strictly adhering to the ISO 8601 international standard.
  • Immutable Date Processing - Uses immutable data classes for time points and periods to prevent side effects during calculations.
  • Calendar Date Calculations - Performs date arithmetic to determine durations between timestamps using calendar-aware units.
  • Date Period Arithmetic - Calculates new dates and durations using date-based units and temporal periods.
  • Duration Calculations - Calculates durations between timestamps using calendar-aware units such as years and months.
  • Date String Formatters - Converts temporal objects to strings and vice versa using Unicode pattern strings.
  • Duration Arithmetic Operations - Provides arithmetic operations for adding and subtracting time durations with precise overflow rules.
  • Calendar Arithmetic - Includes a set of tools for performing date mathematics and calculating durations using years and months.
  • Language & Core Libraries - KotlinX multiplatform date/time library

Star history

Star history chart for kotlin/kotlinx-datetimeStar history chart for kotlin/kotlinx-datetime

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Kotlinx Datetime

Similar open-source projects, ranked by how many features they share with Kotlinx Datetime.
  • tc39/proposal-temporaltc39 avatar

    tc39/proposal-temporal

    3,701View on GitHub↗

    This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking library and a multi-calendar date engine designed to replace the legacy Date object. The system is distinguished by its support for multiple calendar systems beyond the ISO standard and its use of IANA-based time zone resolution. It provides a framework for managing daylight saving transitions and UTC offsets while maintaining nanosecond precision for global timestamps. The API covers broad functional areas including complex date and time arithmetic, locale-aware formatting,

    HTML
    View on GitHub↗3,701
  • howardhinnant/dateHowardHinnant avatar

    HowardHinnant/date

    3,379View on GitHub↗

    This project is a comprehensive date and time library designed for parsing, formatting, and calculating dates and times with high precision. It provides a multi-calendar system implementation that supports conversions between proleptic Gregorian, Julian, ISO week, and Tabular Islamic calendars. The library is distinguished by its high-precision time clocks and its implementation of the IANA time zone database. It tracks physical time using UTC, TAI, and GPS clocks to account for leap seconds and provides a system for managing geographic time zones and offsets based on IANA data. The capabili

    C++calendardatedatetime
    View on GitHub↗3,379
  • moment/luxonmoment avatar

    moment/luxon

    16,360View on GitHub↗

    Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a suite of immutable objects for managing points in time, durations, and intervals, ensuring that all transformations return new instances to maintain predictable state. The library distinguishes itself by leveraging the native Internationalization API and environment-based time zone databases. This architecture allows for localized date formatting and global time zone conversions without requiring external data files or additional dependencies. It also supports non-Gregorian calen

    JavaScriptdatesdatetimeintl
    View on GitHub↗16,360
  • dromara/carbondromara avatar

    dromara/carbon

    5,221View on GitHub↗

    Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic interface to simplify temporal data handling and improve the readability of date and time manipulations. The library is distinguished by its support for multi-calendar date conversion, allowing transformations between Gregorian, Chinese Lunar, Persian, and Hebrew calendar systems. It also includes a localized temporal framework that uses ISO 639-1 codes to format dates and relative time differences across multiple language locales. Additional capabilities cover global time zone man

    Go
    View on GitHub↗5,221
See all 30 alternatives to Kotlinx Datetime→

Frequently asked questions

What does kotlin/kotlinx-datetime do?

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.

What are the main features of kotlin/kotlinx-datetime?

The main features of kotlin/kotlinx-datetime are: Date and Time Libraries, Multiplatform Date Time APIs, Temporal Type Specifications, Time Zone Management, Time Zone Conversions, Ambiguity-Free Type Modeling, Time Zone Converters, Multiplatform Code Sharing.

What are some open-source alternatives to kotlin/kotlinx-datetime?

Open-source alternatives to kotlin/kotlinx-datetime include: tc39/proposal-temporal — This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking… howardhinnant/date — This project is a comprehensive date and time library designed for parsing, formatting, and calculating dates and… moment/luxon — Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a… dromara/carbon — Carbon is a Go library for semantic date and time calculations, formatting, and parsing. It provides a semantic… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… jodaorg/joda-time — Joda-Time is a Java date and time library and framework used for parsing, representing, and calculating temporal data.…