@js-joda/extra 0.12.0 → 0.12.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,9 +1,9 @@
|
|
|
1
|
-
//! @version @js-joda/extra - 0.12.
|
|
1
|
+
//! @version @js-joda/extra - 0.12.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)
|
|
5
5
|
|
|
6
|
-
import { NullPointerException, IllegalArgumentException, _,
|
|
6
|
+
import { NullPointerException, IllegalArgumentException, _, ChronoField, UnsupportedTemporalTypeException, TemporalQueries, IsoChronology, Month, MonthDay, TemporalAccessor, ZoneId, Clock, LocalDate, DateTimeException, TemporalQuery, Year, Duration, Instant, ZonedDateTime, DateTimeParseException, Period, ArithmeticException, TemporalField, TemporalUnit, ChronoUnit, ZoneOffset, OffsetDateTime, Temporal, DateTimeFormatter, IsoFields, IllegalStateException, ParsePosition, TemporalAdjuster, ValueRange, DateTimeFormatterBuilder, SignStyle, DayOfWeek, use } from '@js-joda/core';
|
|
7
7
|
|
|
8
8
|
function _inheritsLoose(subClass, superClass) {
|
|
9
9
|
subClass.prototype = Object.create(superClass.prototype);
|
|
@@ -324,6 +324,7 @@ function _init$7() {
|
|
|
324
324
|
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
325
325
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
326
326
|
*/
|
|
327
|
+
|
|
327
328
|
var Interval = function () {
|
|
328
329
|
Interval.of = function of(startInstant, endInstantOrDuration) {
|
|
329
330
|
if (endInstantOrDuration instanceof Duration) {
|
|
@@ -531,6 +532,7 @@ function _init$6() {
|
|
|
531
532
|
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
532
533
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
533
534
|
*/
|
|
535
|
+
|
|
534
536
|
var MINP1 = LocalDate.MIN.plusDays(1);
|
|
535
537
|
var MAXM1 = LocalDate.MAX.minusDays(1);
|
|
536
538
|
var LocalDateRange = function () {
|
|
@@ -2225,6 +2227,7 @@ function createTemporalQuery(name, queryFromFunction) {
|
|
|
2225
2227
|
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
|
|
2226
2228
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
2227
2229
|
*/
|
|
2230
|
+
|
|
2228
2231
|
var isInit = false;
|
|
2229
2232
|
function init() {
|
|
2230
2233
|
if (isInit) {
|
|
@@ -2249,6 +2252,7 @@ function plug () {}
|
|
|
2249
2252
|
* @copyright (c) 2016, Philipp Thuerwaechter & Pattrick Hueper
|
|
2250
2253
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
2251
2254
|
*/
|
|
2255
|
+
|
|
2252
2256
|
use(plug);
|
|
2253
2257
|
|
|
2254
2258
|
export { DayOfMonth, DayOfYear, Interval, LocalDateRange, OffsetDate, Quarter, Temporals, YearQuarter, YearWeek };
|