Repository navigation
v1.0.0-alpha.8
Pre-release
Pre-release
1.0.0-alpha.8 (2022-04-30)
⚠ BREAKING CHANGES
- fromReferenceSeconds:
fromReferenceSecondsnow throws if the specified count of seconds is not a finite
value. Previously it would return an invalid Time object with the same non-finite value as its
hours, minutes and seconds. - fromReferenceSeconds:
timenow throws if any of the component parts of the specified time are not
finite values. Previously it would return an invalid Time object with non-finite values as its
hours, minutes and/or seconds. - fromReferenceSeconds:
normalizenow throws if any of the component parts of the specified time are
not finite values. Previously it would return an invalid Time object with non-finite values as its
hours, minutes and/or seconds.
Features
- after: add after function (e10eb29)
- before: add before function (b1df8f3)
- beforeOrEqual: add beforeOrEqual function (5a02945)
- compare: add compare function (6e1c250)
- equal: add equal function (f983136)
- isTime: add isTime function (2096a08)
- isTimeValid: add isTimeValid alias for isValid (445aae9)
- isValid: add isValid function (10f8690)
- notEqual: add notEqual function (b6a0a5b)
- nowDeviceLocal: add nowDeviceLocal function (15b885b)
- nowUtc: add nowUtc function (be10261)
- time: add time constructor function (be5a5c6)
Bug Fixes
- fromReferenceSeconds: throw if the specified count of seconds is not a finite value (1ef121a)