@js-joda/core 5.6.1 → 5.6.3

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.3
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.3",
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": "9ec01ca9278354413546df9570bc18c4295780da"
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;
@@ -1417,7 +1418,6 @@ export class LocalTime extends Temporal implements TemporalAdjuster {
1417
1418
  toNanoOfDay(): number;
1418
1419
  toSecondOfDay(): number;
1419
1420
  toString(): string;
1420
- toString(): string;
1421
1421
  truncatedTo(unit: ChronoUnit): LocalTime;
1422
1422
  until(endExclusive: Temporal, unit: TemporalUnit): number;
1423
1423
  with(adjuster: TemporalAdjuster): LocalTime;
@@ -1593,6 +1593,7 @@ export class YearMonth extends Temporal implements TemporalAdjuster {
1593
1593
  plusMonths(monthsToAdd: number): YearMonth;
1594
1594
  plusYears(yearsToAdd: number): YearMonth;
1595
1595
  toJSON(): string;
1596
+ toString(): string;
1596
1597
  until(endExclusive: Temporal, unit: TemporalUnit): number;
1597
1598
  with(adjuster: TemporalAdjuster): YearMonth;
1598
1599
  with(field: TemporalField, newValue: number): YearMonth;
@@ -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;