@js-joda/core 5.6.1 → 5.6.2

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/core - 5.6.1
1
+ //! @version @js-joda/core - 5.6.2
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-joda/core",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "description": "a date and time library for javascript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,5 +48,5 @@
48
48
  "sourceMap": false,
49
49
  "instrument": false
50
50
  },
51
- "gitHead": "981fdb751d7fcb5d1b36d322475282a743c309fc"
51
+ "gitHead": "d7328d5a09602b6a7fe5211092c6b7c50ff3b79b"
52
52
  }
@@ -1121,6 +1121,7 @@ export class Duration extends TemporalAmount {
1121
1121
  plus(amount: number, unit: TemporalUnit): Duration;
1122
1122
  plus(duration: Duration): Duration;
1123
1123
  plusDays(daysToAdd: number): Duration;
1124
+ plusDuration(duration: Duration): Duration;
1124
1125
  plusHours(hoursToAdd: number): Duration;
1125
1126
  plusMillis(millisToAdd: number): Duration;
1126
1127
  plusMinutes(minutesToAdd: number): Duration;
@@ -2197,7 +2198,9 @@ export class DateTimeFormatterBuilder {
2197
2198
  appendOffset(pattern: string, noOffsetText: string): DateTimeFormatterBuilder;
2198
2199
  appendOffsetId(): DateTimeFormatterBuilder;
2199
2200
  appendPattern(pattern: string): DateTimeFormatterBuilder;
2200
- appendValue(field: TemporalField, width?: number, maxWidth?: number, signStyle?: SignStyle): DateTimeFormatterBuilder;
2201
+ appendValue(field: TemporalField): DateTimeFormatterBuilder;
2202
+ appendValue(field: TemporalField, width: number): DateTimeFormatterBuilder;
2203
+ appendValue(field: TemporalField, minWidth: number, maxWidth: number, signStyle: SignStyle): DateTimeFormatterBuilder;
2201
2204
  appendValueReduced(field: TemporalField, width: number, maxWidth: number, base: ChronoLocalDate | number): DateTimeFormatterBuilder;
2202
2205
  appendZoneId(): DateTimeFormatterBuilder;
2203
2206
  optionalEnd(): DateTimeFormatterBuilder;