Skip to content

v0.1.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ilya-g ilya-g released this 25 Nov 18:26
· 179 commits to master since this release

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 existing plus arithmetic operations (#42)