All Projects → erikc5000 → island-time

erikc5000 / island-time

Licence: Apache-2.0 license
A Kotlin Multiplatform library for working with dates and times

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to island-time

devtools-library
Multiplatform, pluggable, extensible, and dynamic config library which supports YAML and JSON as a source.
Stars: ✭ 15 (-78.26%)
Mutual labels:  kotlin-native, kotlin-multiplatform
TimesDates.jl
Nanosecond resolution for Time and Date, TimeZones
Stars: ✭ 28 (-59.42%)
Mutual labels:  time, date
date-extractor
Extract dates from text
Stars: ✭ 58 (-15.94%)
Mutual labels:  time, date
StarWars
Minimal GraphQL based Jetpack Compose, Wear Compose and SwiftUI Kotlin Multiplatform sample (using StarWars endpoint - https://graphql.org/swapi-graphql)
Stars: ✭ 165 (+139.13%)
Mutual labels:  kotlin-native, kotlin-multiplatform
KMQTT
Embeddable and standalone Kotlin Multiplatform MQTT broker
Stars: ✭ 56 (-18.84%)
Mutual labels:  kotlin-native, kotlin-multiplatform
kmm-production-sample
This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Stars: ✭ 1,476 (+2039.13%)
Mutual labels:  kotlin-native, kotlin-multiplatform
libs.kmp.icerock.dev
Kotlin Multiplatform libraries list with info auto-fetch
Stars: ✭ 178 (+157.97%)
Mutual labels:  kotlin-native, kotlin-multiplatform
jodaTime
Format and Parse date and time with joda layout
Stars: ✭ 67 (-2.9%)
Mutual labels:  time, date
duration
Parse iso8601 duration strings, and use to shift dates/times.
Stars: ✭ 51 (-26.09%)
Mutual labels:  time, date
MultiplatformPlayground
Kotlin Multiplatform project in Jetpack Compose & SwiftUI with shared ViewModel layer and File upload
Stars: ✭ 72 (+4.35%)
Mutual labels:  kotlin-native, kotlin-multiplatform
kfsm
Finite State Machine in Kotlin
Stars: ✭ 76 (+10.14%)
Mutual labels:  kotlin-native, kotlin-multiplatform
temps-lite
A smart, good-looking little app which tries to speak your language the way you are used to.
Stars: ✭ 40 (-42.03%)
Mutual labels:  time, date
lit-date
Light-weight, faster datetime formatter for modern browsers.
Stars: ✭ 33 (-52.17%)
Mutual labels:  time, date
kronos
Management of arithmetic operations on dates
Stars: ✭ 23 (-66.67%)
Mutual labels:  time, date
KParser
Kotlin Multiplatform Arithmatic Parser
Stars: ✭ 32 (-53.62%)
Mutual labels:  kotlin-native, kotlin-multiplatform
KotlinXcodeSync
Sync Kotlin files with an Xcode project
Stars: ✭ 25 (-63.77%)
Mutual labels:  kotlin-native, kotlin-multiplatform
SonataTimelineBundle
[Abandoned] Integrates SpyTimelineBundle into Sonata
Stars: ✭ 24 (-65.22%)
Mutual labels:  time, date
iso8601
A fast ISO8601 date parser for Go
Stars: ✭ 122 (+76.81%)
Mutual labels:  time, date
CompleteKotlin
Gradle Plugin to enable auto-completion and symbol resolution for all Kotlin/Native platforms.
Stars: ✭ 236 (+242.03%)
Mutual labels:  kotlin-native, kotlin-multiplatform
timelite
String date and time utilities 🕙
Stars: ✭ 17 (-75.36%)
Mutual labels:  time, date

Build Status License Maven Central

Island Time

A Kotlin Multiplatform library for working with dates and times, heavily inspired by the java.time library.

Features:

  • A full set of date-time primitives such as Date, Time, DateTime, Instant, and ZonedDateTime
  • Time zone database support
  • Date ranges and time intervals, integrating with Kotlin ranges and progressions
  • Read and write strings in ISO formats
  • DSL-based definition of custom parsers
  • Access localized text for names of months, days of the week, time zones, etc.
  • Convenience operators like date.next(MONDAY), dateTime.startOfWeek, or date.week(WeekSettings.systemDefault())
  • Convert to and from platform-specific date-time types
  • Works on JVM, Android, iOS, macOS, tvOS, and watchOS

Notable Limitations:

  • No custom format strings (must write platform-specific code to do this)
  • No support for JavaScript or non-Apple native platforms
  • Only supports the ISO calendar system

Island Time is still early in development and "moving fast" so to speak. The API is likely to experience changes between minor version increments.

See the project website for more information along with the API reference docs.

Feedback/Contributions

The goal of this project is not just to port the java.time library over to Kotlin Multiplatform, but to take full advantage of Kotlin language features to create a date-time DSL that feels natural to users of the language and encourages best practices where possible. To that end, any and all feedback would be much appreciated in helping to iron out the API.

If you're interested in contributing or have ideas on areas that can be improved (there are definitely many right now), please feel free to initiate a dialog by opening design-related issues or submitting pull requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].