Skip to content

Releases: erikc5000/island-time

0.2.3

12 Jul 21:56
Compare
Choose a tag to compare

New Features

  • Add rounding operators (#80)
  • Add GitHub Pages documentation (#85)
  • Improve generated code for duration units (#77)

API Changes

  • Rename Unix epoch-related properties/functions for consistency (#75, #87)
  • Overhaul conversions between the different date-time and interval types (#93)

Bug Fixes

  • Fix random()/randomOrNull() behavior with half-bounded intervals (#73)
  • Remove duplicated toComponents() code (#74)

Dependency Changes

  • Bump threetenabp to 1.2.4 (#83)
  • Remove Stately (#90)

0.2.2

20 May 23:39
Compare
Choose a tag to compare

New Features

  • Add randomOrNull() to ranges and intervals (#64)

API Changes

  • Improve consistency of Offset*/ZonedDateTime conversion functions/properties (#61)

Bug Fixes

  • Fix reversed MIN and MAX on UtcOffset (#60)
  • Fix interval random() behavior (#64)
  • Fix publishing of atomicfu transitive dependency on native (#67)

Dependency Changes

  • Bump Kotlin to 1.3.72 (#59)
  • Bump Stately to 1.0.2-a4 (#63)

0.2.1

30 Mar 21:54
Compare
Choose a tag to compare

New Features

  • Add conversions to and from kotlin.time.Duration (#49)
  • Add additional conversions to and from Darwin types (#50)

API Changes

  • Remove internal function that accidentally made it into the public API (#45)

Bug Fixes

  • Add missing hashCode() method to DateTimeInterval (#46)
  • Fix minor OffsetDateTimeInterval behavior issues (#47)
  • Avoid potential library name clashes on native (#51)

Dependency Changes

  • Bump Kotlin to 1.3.71 (#52)
  • Bump threetenabp to 1.2.3 (#54)
  • Bump Stately to 1.0.0-a3 (#55)

0.2.0

11 Mar 04:16
Compare
Choose a tag to compare

New Features

  • Add parcelize-extensions artifact with parcelers suitable for use with the @Parcelize feature offered by the Kotlin Android Extensions (#17)
  • Add serialization-extensions artifact with serializers for use with kotlinx.serialization (#25)
  • Add watchOS and tvOS targets (#19)
  • Add locale support (#24)
    • This includes localized text for months, days of the week, time zones, AM/PM, and eras in addition to localized day of week numbers and week definitions
  • Support case-insensitive parsing (#26)
  • Add Int.times() and Long.times() operators for all duration unit classes (#36)
  • Add conversions between each duration unit class and Java’s Period and Duration classes where applicable (#36)
  • Expanded the supported year range to match java.time (#38)
  • Slight improvement to parsing performance/memory usage (#39)
  • Add week range and interval operators for date-time primitives (#44)

API Changes

  • NSTimeZone.toUtcOffset() now requires an NSDate since it’s an ambiguous conversion without one (#20)
  • groups() has been removed from GroupedDateTimeParserBuilder since the repeat() function in the Kotlin standard library accomplishes the same thing (#30)
  • The decimalSeparator() and fraction() parsers previously available on DateTimeParserBuilder have been removed. They should be replaced with the decimalNumber() parser. (#39)

Bug Fixes

  • Fix broken ZonedDateTime constructor with dayOfYear property (63bae18)
  • Fix equals() for DateTimeInterval (ff3e0f8)
  • Fix wrong index in StringParser's onEachChar{} (#21)
  • Fix overflow handling when parsing numbers (#21)
  • Fix bug in DateTime.millisecondsSinceUnixEpochAt() (#23)
  • Fix Instant printing/parsing when DateTime's range is exceeded (#41)

Dependency Changes

  • Island Time is now built with Kotlin 1.3.70 (#42)
  • The threetenabp-extensions now use ThreeTenABP 1.2.2 (#32)
  • Removed the dependency on kotlin-reflect (#43)

0.1.0

29 Nov 22:36
Compare
Choose a tag to compare

Initial versioned release