Bot releases are hidden (Show)
Instant
values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native (#369)kotlinx-serialization
classes when serialization is not used (#336)Instant
values without the second-of-minute component on the JVM and JS, fixing inconsistency with Native (#369)stat
usages to comply with Apple's new publishing requirements (#385)optional
is directly between numbers (#362)Full Changelog: https://github.com/Kotlin/kotlinx-datetime/compare/v0.5.0...v0.6.0
Published by dkhalanskyjb 8 months ago
Published by dkhalanskyjb 8 months ago
kotlinx-serialization
classes when serialization is not used (#336)Published by ilya-g 11 months ago
Full Changelog: https://github.com/Kotlin/kotlinx-datetime/compare/v0.4.1...v0.5.0
Published by ilya-g about 1 year ago
linuxArm64
, linuxArm32Hfp
, watchosDeviceArm64
Clock.asTimeSource()
(#271)Instant
and LocalDate
arithmetic operations (plus
and minus
) taking DateTimeUnit
without a number of units (#247)Duration
to large Instant
on JS and Native (#264)Full Changelog: https://github.com/Kotlin/kotlinx-datetime/compare/v0.4.0...v0.4.1
Published by ilya-g over 2 years ago
LocalTime
class for representing time-of-day (#57). Thank you, @bishiboosh!LocalTime#toSecondOfDay
, LocalTime.fromSecondOfDay
, and various other functions for compact representation of LocalTime
(#204). Thank you, @vanniktech!LocalDate#toEpochDays
, LocalDate.fromEpochDays
for representing a LocalDate
as a single number (#214).Clock.todayAt
to Clock.todayIn
for naming consistency (#206).Published by ilya-g over 2 years ago
Published by ilya-g almost 3 years ago
Published by dkhalanskyjb about 3 years ago
iosSimulatorArm64
, watchosSimulatorArm64
, tvosSimulatorArm64
, macosArm64
target support (141, 144).ZoneOffset
was replaced by two other classes: FixedOffsetTimeZone
, which represents a time zone with a fixed offset, and UtcOffset
, which represents just the UTC offset (PR#125).DayBased
and MonthBased
subclasses of DateTimeUnit.DateBased
are now accessed as DateTimeUnit.DayBased
and DateTimeUnit.MonthBased
as opposed to DateTimeUnit.DateBased.DayBased
and DateTimeUnit.DateBased.MonthBased
respectively (PR#131).Published by dkhalanskyjb over 3 years ago
watchosX64
target support. In practice, this means the ability to run projects that depend on this library in the iOS Simulator for Apple Watch.Published by ilya-g almost 4 years ago
Instant.plus(value, DateTimeUnit.TimeBased)
Instant.fromEpochSeconds(epochSeconds: Long, nanosecondAdjustment: Int)
construction functionminus
operations complementary to existing plus
arithmetic operations (#42)Published by ilya-g about 4 years ago
The initial release, contains the basic types and operations to work with dates and times.