@js-joda/core 5.6.0 → 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.0
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.0",
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": "e78db48870eddc16cc35f81cee07f99918d7bf8f"
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;
@@ -2164,7 +2165,6 @@ export class DateTimeFormatter {
2164
2165
  static ISO_ZONED_DATE_TIME: DateTimeFormatter;
2165
2166
  static BASIC_ISO_DATE: DateTimeFormatter;
2166
2167
  static ISO_OFFSET_DATE: DateTimeFormatter;
2167
- static ISO_OFFSET_TIME: DateTimeFormatter;
2168
2168
  static ISO_ORDINAL_DATE: DateTimeFormatter;
2169
2169
  static ISO_WEEK_DATE: DateTimeFormatter;
2170
2170
  static ISO_DATE: DateTimeFormatter;
@@ -2198,7 +2198,9 @@ export class DateTimeFormatterBuilder {
2198
2198
  appendOffset(pattern: string, noOffsetText: string): DateTimeFormatterBuilder;
2199
2199
  appendOffsetId(): DateTimeFormatterBuilder;
2200
2200
  appendPattern(pattern: string): DateTimeFormatterBuilder;
2201
- 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;
2202
2204
  appendValueReduced(field: TemporalField, width: number, maxWidth: number, base: ChronoLocalDate | number): DateTimeFormatterBuilder;
2203
2205
  appendZoneId(): DateTimeFormatterBuilder;
2204
2206
  optionalEnd(): DateTimeFormatterBuilder;