Releases: erikc5000/island-time
Releases · erikc5000/island-time
0.2.3
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
0.2.2
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
0.2.1
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
0.2.0
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()
andLong.times()
operators for all duration unit classes (#36) - Add conversions between each duration unit class and Java’s
Period
andDuration
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 anNSDate
since it’s an ambiguous conversion without one (#20)groups()
has been removed fromGroupedDateTimeParserBuilder
since therepeat()
function in the Kotlin standard library accomplishes the same thing (#30)- The
decimalSeparator()
andfraction()
parsers previously available onDateTimeParserBuilder
have been removed. They should be replaced with thedecimalNumber()
parser. (#39)
Bug Fixes
- Fix broken
ZonedDateTime
constructor withdayOfYear
property (63bae18) - Fix
equals()
forDateTimeInterval
(ff3e0f8) - Fix wrong index in
StringParser
'sonEachChar{}
(#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