@js-joda/extra 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- //! @version @js-joda/extra - 0.10.0
1
+ //! @version @js-joda/extra - 0.10.1
2
2
  //! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
3
3
  //! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
4
4
  //! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
@@ -981,7 +981,7 @@
981
981
 
982
982
  _proto.lengthInDays = function lengthInDays() {
983
983
  if (this.isUnboundedStart() || this.isUnboundedEnd()) {
984
- return Number.NaN;
984
+ return Number.POSITIVE_INFINITY;
985
985
  }
986
986
 
987
987
  return this._end.toEpochDay() - this._start.toEpochDay();