All Versions
9
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Changelog History
-
v0.4.0 Changes
- โ Add the
LocalTime
class for representing time-of-day (#57). Thank you, @bishiboosh! - Provide
LocalTime#toSecondOfDay
,LocalTime.fromSecondOfDay
, and various other functions for compact representation ofLocalTime
(#204). Thank you, @vanniktech! - Provide
LocalDate#toEpochDays
,LocalDate.fromEpochDays
for representing aLocalDate
as a single number (#214). - ๐ Rename
Clock.todayAt
toClock.todayIn
for naming consistency (#206). - โก๏ธ Update the Kotlin dependency to 1.7.0.
- โ Add the
-
v0.3.3 Changes
- โก๏ธ Just updated Kotlin dependency to 1.7.0-Beta and kotlinx.serialization to 1.3.2
-
v0.3.1 Changes
๐ Fixes
- ๐ Fixed a crash in desugared code on Android when trying to construct time zones with some specific identifiers (149)
-
v0.3.0 Changes
๐ Features
- โ Added
iosSimulatorArm64
,watchosSimulatorArm64
,tvosSimulatorArm64
,macosArm64
target support (141, 144).
๐ Changes
- ๐
ZoneOffset
was replaced by two other classes:FixedOffsetTimeZone
, which represents a time zone with a fixed offset, andUtcOffset
, which represents just the UTC offset (PR#125). - The
DayBased
andMonthBased
subclasses ofDateTimeUnit.DateBased
are now accessed asDateTimeUnit.DayBased
andDateTimeUnit.MonthBased
as opposed toDateTimeUnit.DateBased.DayBased
andDateTimeUnit.DateBased.MonthBased
respectively (PR#131).
- โ Added
-
v0.2.1 Changes
๐ Fixes
- ๐ Fixed the library being incompatible with kotlinx.serialization 1.2.0 and above (#118).
๐ Features
- ๐
watchosX64
target support. In practice, this means the ability to run projects that depend on this library in the iOS Simulator for Apple Watch.
-
v0.2.0 Changes
๐ Fixes
- ๐ Fixed
TimeZone.currentSystemDefault()
crashing on Darwin if the resulting time zone is not listed amongTimeZone.knownTimeZoneIdentifiers
(#94)
๐ Features
- ๐ Fixed
-
v0.1.1 Changes
๐ Fixes
- ๐ Fix a crash when getting the current time on iOS 9 (#52)
- ๐ Wrong answers in some cases when adding date-based units to instants on Darwin and Windows (#51)
๐ Features
- Zone-agnostic time-based arithmetic on Instants, e.g.
Instant.plus(value, DateTimeUnit.TimeBased)
- โ Add
Instant.fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int)
construction function - Introduce
minus
operations complementary to existingplus
arithmetic operations (#42)
-
v0.1.0 Changes
๐ Initial implementation
A minimal, but still valuable multiplatform implementation of date and time types.