@gobrand/tiempo 2.6.1 → 2.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.
- package/dist/chunk-3TSFIPUR.js +16 -0
- package/dist/chunk-3TSFIPUR.js.map +1 -0
- package/dist/chunk-776JOVV6.js +20 -0
- package/dist/chunk-776JOVV6.js.map +1 -0
- package/dist/chunk-AJ4JBKJK.js +10 -0
- package/dist/chunk-AJ4JBKJK.js.map +1 -0
- package/dist/{chunk-RJY62CDU.js → chunk-B2R2G5YK.js} +5 -2
- package/dist/chunk-B2R2G5YK.js.map +1 -0
- package/dist/chunk-BUX26GTD.js +30 -0
- package/dist/chunk-BUX26GTD.js.map +1 -0
- package/dist/{chunk-D7DPB2JR.js → chunk-BV6CLVSI.js} +7 -4
- package/dist/chunk-BV6CLVSI.js.map +1 -0
- package/dist/chunk-DKYVFYWM.js +25 -0
- package/dist/chunk-DKYVFYWM.js.map +1 -0
- package/dist/chunk-G2JUEBC5.js +26 -0
- package/dist/chunk-G2JUEBC5.js.map +1 -0
- package/dist/chunk-HLGMUTFK.js +16 -0
- package/dist/chunk-HLGMUTFK.js.map +1 -0
- package/dist/chunk-HOCNCQTC.js +18 -0
- package/dist/chunk-HOCNCQTC.js.map +1 -0
- package/dist/chunk-JA7SVLAF.js +20 -0
- package/dist/chunk-JA7SVLAF.js.map +1 -0
- package/dist/chunk-KGVUENQO.js +17 -0
- package/dist/chunk-KGVUENQO.js.map +1 -0
- package/dist/chunk-OLEOU3XE.js +28 -0
- package/dist/chunk-OLEOU3XE.js.map +1 -0
- package/dist/chunk-OQ4CWKJT.js +19 -0
- package/dist/chunk-OQ4CWKJT.js.map +1 -0
- package/dist/{chunk-PIDXROVB.js → chunk-PMJD5N5J.js} +5 -2
- package/dist/chunk-PMJD5N5J.js.map +1 -0
- package/dist/chunk-QFNGYTTH.js +14 -0
- package/dist/chunk-QFNGYTTH.js.map +1 -0
- package/dist/{chunk-ZHRMURYP.js → chunk-QVOEXF46.js} +5 -2
- package/dist/chunk-QVOEXF46.js.map +1 -0
- package/dist/chunk-TNCLJK4Y.js +38 -0
- package/dist/chunk-TNCLJK4Y.js.map +1 -0
- package/dist/chunk-UBY22QWM.js +20 -0
- package/dist/chunk-UBY22QWM.js.map +1 -0
- package/dist/chunk-Y7CIJQ67.js +26 -0
- package/dist/chunk-Y7CIJQ67.js.map +1 -0
- package/dist/chunk-YIT6EMBC.js +15 -0
- package/dist/chunk-YIT6EMBC.js.map +1 -0
- package/dist/{chunk-TDQXOSO3.js → chunk-ZJQS7ZY7.js} +4 -4
- package/dist/differenceInHours.d.ts.map +1 -1
- package/dist/differenceInHours.js +2 -1
- package/dist/differenceInMilliseconds.d.ts.map +1 -1
- package/dist/differenceInMilliseconds.js +2 -1
- package/dist/differenceInMinutes.d.ts.map +1 -1
- package/dist/differenceInMinutes.js +2 -1
- package/dist/differenceInSeconds.d.ts.map +1 -1
- package/dist/differenceInSeconds.js +2 -1
- package/dist/eachDayOfInterval.d.ts +69 -0
- package/dist/eachDayOfInterval.d.ts.map +1 -0
- package/dist/eachDayOfInterval.js +8 -0
- package/dist/eachDayOfInterval.js.map +1 -0
- package/dist/eachDayOfInterval.test.d.ts +2 -0
- package/dist/eachDayOfInterval.test.d.ts.map +1 -0
- package/dist/eachHourOfInterval.d.ts +51 -0
- package/dist/eachHourOfInterval.d.ts.map +1 -0
- package/dist/eachHourOfInterval.js +8 -0
- package/dist/eachHourOfInterval.js.map +1 -0
- package/dist/eachHourOfInterval.test.d.ts +2 -0
- package/dist/eachHourOfInterval.test.d.ts.map +1 -0
- package/dist/eachMinuteOfInterval.d.ts +50 -0
- package/dist/eachMinuteOfInterval.d.ts.map +1 -0
- package/dist/eachMinuteOfInterval.js +8 -0
- package/dist/eachMinuteOfInterval.js.map +1 -0
- package/dist/eachMinuteOfInterval.test.d.ts +2 -0
- package/dist/eachMinuteOfInterval.test.d.ts.map +1 -0
- package/dist/eachMonthOfInterval.d.ts +46 -0
- package/dist/eachMonthOfInterval.d.ts.map +1 -0
- package/dist/eachMonthOfInterval.js +8 -0
- package/dist/eachMonthOfInterval.js.map +1 -0
- package/dist/eachMonthOfInterval.test.d.ts +2 -0
- package/dist/eachMonthOfInterval.test.d.ts.map +1 -0
- package/dist/eachWeekOfInterval.d.ts +58 -0
- package/dist/eachWeekOfInterval.d.ts.map +1 -0
- package/dist/eachWeekOfInterval.js +8 -0
- package/dist/eachWeekOfInterval.js.map +1 -0
- package/dist/eachWeekOfInterval.test.d.ts +2 -0
- package/dist/eachWeekOfInterval.test.d.ts.map +1 -0
- package/dist/eachYearOfInterval.d.ts +55 -0
- package/dist/eachYearOfInterval.d.ts.map +1 -0
- package/dist/eachYearOfInterval.js +8 -0
- package/dist/eachYearOfInterval.js.map +1 -0
- package/dist/eachYearOfInterval.test.d.ts +2 -0
- package/dist/eachYearOfInterval.test.d.ts.map +1 -0
- package/dist/endOfDay.d.ts.map +1 -1
- package/dist/endOfDay.js +2 -1
- package/dist/endOfMonth.d.ts.map +1 -1
- package/dist/endOfMonth.js +2 -1
- package/dist/endOfYear.d.ts.map +1 -1
- package/dist/endOfYear.js +2 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +77 -50
- package/dist/intlFormatDistance.js +5 -4
- package/dist/isFuture.d.ts +1 -1
- package/dist/isFuture.d.ts.map +1 -1
- package/dist/isFuture.js +3 -1
- package/dist/isPast.d.ts +1 -1
- package/dist/isPast.d.ts.map +1 -1
- package/dist/isPast.js +3 -1
- package/dist/shared/differenceInMilliseconds.d.ts +3 -0
- package/dist/shared/differenceInMilliseconds.d.ts.map +1 -0
- package/dist/shared/differenceInMilliseconds.js +7 -0
- package/dist/shared/differenceInMilliseconds.js.map +1 -0
- package/dist/shared/normalizeWithPlainDate.d.ts +15 -0
- package/dist/shared/normalizeWithPlainDate.d.ts.map +1 -0
- package/dist/shared/normalizeWithPlainDate.js +9 -0
- package/dist/shared/normalizeWithPlainDate.js.map +1 -0
- package/dist/shared/nowZoned.d.ts +3 -0
- package/dist/shared/nowZoned.d.ts.map +1 -0
- package/dist/shared/nowZoned.js +8 -0
- package/dist/shared/nowZoned.js.map +1 -0
- package/dist/startOfDay.d.ts.map +1 -1
- package/dist/startOfDay.js +2 -1
- package/dist/startOfMonth.d.ts.map +1 -1
- package/dist/startOfMonth.js +2 -1
- package/dist/startOfYear.d.ts.map +1 -1
- package/dist/startOfYear.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-2H4KLXGL.js +0 -16
- package/dist/chunk-2H4KLXGL.js.map +0 -1
- package/dist/chunk-7GEIOKVQ.js +0 -19
- package/dist/chunk-7GEIOKVQ.js.map +0 -1
- package/dist/chunk-D7DPB2JR.js.map +0 -1
- package/dist/chunk-GFWC7CHD.js +0 -21
- package/dist/chunk-GFWC7CHD.js.map +0 -1
- package/dist/chunk-GLGAVKGV.js +0 -24
- package/dist/chunk-GLGAVKGV.js.map +0 -1
- package/dist/chunk-ID52RFFD.js +0 -19
- package/dist/chunk-ID52RFFD.js.map +0 -1
- package/dist/chunk-PIDXROVB.js.map +0 -1
- package/dist/chunk-PWISCOZV.js +0 -23
- package/dist/chunk-PWISCOZV.js.map +0 -1
- package/dist/chunk-R5XN76EV.js +0 -16
- package/dist/chunk-R5XN76EV.js.map +0 -1
- package/dist/chunk-RJY62CDU.js.map +0 -1
- package/dist/chunk-XPJFOBPW.js +0 -24
- package/dist/chunk-XPJFOBPW.js.map +0 -1
- package/dist/chunk-ZHRMURYP.js.map +0 -1
- /package/dist/{chunk-TDQXOSO3.js.map → chunk-ZJQS7ZY7.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/startOfDay.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport type { Timezone } from './types';\nimport { normalizeWithPlainDate } from './shared/normalizeWithPlainDate';\n\n/**\n * Returns a ZonedDateTime representing the first moment of the day (midnight).\n *\n * @param input - A Temporal.Instant (UTC) or Temporal.ZonedDateTime\n * @returns ZonedDateTime at 00:00:00.000000000\n *\n * @example\n * ```ts\n * // From Instant (always UTC)\n * const instant = Temporal.Instant.from('2025-01-20T12:00:00Z');\n * const start = startOfDay(instant);\n * // 2025-01-20T00:00:00Z[UTC]\n * ```\n *\n * @example\n * ```ts\n * // From ZonedDateTime (uses its timezone)\n * const zoned = Temporal.ZonedDateTime.from('2025-01-20T15:30:00-05:00[America/New_York]');\n * const start = startOfDay(zoned);\n * // 2025-01-20T00:00:00-05:00[America/New_York]\n * ```\n *\n * @example\n * ```ts\n * // From PlainDate (requires timezone)\n * const date = Temporal.PlainDate.from('2025-01-20');\n * const start = startOfDay(date, 'America/New_York');\n * // 2025-01-20T00:00:00-05:00[America/New_York]\n * ```\n */\nexport function startOfDay(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime;\nexport function startOfDay(\n input: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime;\nexport function startOfDay(\n input: Temporal.Instant | Temporal.ZonedDateTime | Temporal.PlainDate,\n timezone?: Timezone\n): Temporal.ZonedDateTime {\n const zonedDateTime = normalizeWithPlainDate(input, timezone!);\n return zonedDateTime.startOfDay();\n}\n"],"mappings":";;;;;AAAA,OAAyB;AAyClB,SAAS,WACd,OACA,UACwB;AACxB,QAAM,gBAAgB,uBAAuB,OAAO,QAAS;AAC7D,SAAO,cAAc,WAAW;AAClC;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-BIAPE4MR.js";
|
|
4
4
|
import {
|
|
5
5
|
differenceInSeconds
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QVOEXF46.js";
|
|
7
7
|
import {
|
|
8
8
|
differenceInWeeks
|
|
9
9
|
} from "./chunk-PVAOUYXF.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-6IP245MS.js";
|
|
16
16
|
import {
|
|
17
17
|
differenceInHours
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PMJD5N5J.js";
|
|
19
19
|
import {
|
|
20
20
|
differenceInMinutes
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B2R2G5YK.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeTemporalInput
|
|
24
24
|
} from "./chunk-MJSZNWCV.js";
|
|
@@ -91,4 +91,4 @@ function intlFormatDistance(laterDate, earlierDate, options) {
|
|
|
91
91
|
export {
|
|
92
92
|
intlFormatDistance
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
94
|
+
//# sourceMappingURL=chunk-ZJQS7ZY7.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"differenceInHours.d.ts","sourceRoot":"","sources":["../src/differenceInHours.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"differenceInHours.d.ts","sourceRoot":"","sources":["../src/differenceInHours.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,EACpD,WAAW,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GACrD,MAAM,CAKR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"differenceInMilliseconds.d.ts","sourceRoot":"","sources":["../src/differenceInMilliseconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"differenceInMilliseconds.d.ts","sourceRoot":"","sources":["../src/differenceInMilliseconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,EACpD,WAAW,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GACrD,MAAM,CAKR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"differenceInMinutes.d.ts","sourceRoot":"","sources":["../src/differenceInMinutes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"differenceInMinutes.d.ts","sourceRoot":"","sources":["../src/differenceInMinutes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,EACpD,WAAW,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GACrD,MAAM,CAKR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"differenceInSeconds.d.ts","sourceRoot":"","sources":["../src/differenceInSeconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"differenceInSeconds.d.ts","sourceRoot":"","sources":["../src/differenceInSeconds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,EACpD,WAAW,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GACrD,MAAM,CAKR"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each calendar day within the interval.
|
|
4
|
+
* Each element represents the start of day (midnight) in the timezone of the interval start.
|
|
5
|
+
* The interval is inclusive of both start and end days.
|
|
6
|
+
*
|
|
7
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
8
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
9
|
+
*
|
|
10
|
+
* @param interval - The interval with start and end datetimes
|
|
11
|
+
* @returns Array of ZonedDateTime at start of each day in the interval
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:00:00Z[UTC]');
|
|
16
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-10T14:00:00Z[UTC]');
|
|
17
|
+
*
|
|
18
|
+
* const days = eachDayOfInterval({ start, end });
|
|
19
|
+
* // [
|
|
20
|
+
* // 2025-01-06T00:00:00Z[UTC],
|
|
21
|
+
* // 2025-01-07T00:00:00Z[UTC],
|
|
22
|
+
* // 2025-01-08T00:00:00Z[UTC],
|
|
23
|
+
* // 2025-01-09T00:00:00Z[UTC],
|
|
24
|
+
* // 2025-01-10T00:00:00Z[UTC]
|
|
25
|
+
* // ]
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* // With timezone - preserves the timezone from start
|
|
31
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:00:00-05:00[America/New_York]');
|
|
32
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-08T14:00:00-05:00[America/New_York]');
|
|
33
|
+
*
|
|
34
|
+
* const days = eachDayOfInterval({ start, end });
|
|
35
|
+
* // [
|
|
36
|
+
* // 2025-01-06T00:00:00-05:00[America/New_York],
|
|
37
|
+
* // 2025-01-07T00:00:00-05:00[America/New_York],
|
|
38
|
+
* // 2025-01-08T00:00:00-05:00[America/New_York]
|
|
39
|
+
* // ]
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* // With Instant (uses UTC)
|
|
45
|
+
* const start = Temporal.Instant.from('2025-01-06T00:00:00Z');
|
|
46
|
+
* const end = Temporal.Instant.from('2025-01-08T00:00:00Z');
|
|
47
|
+
*
|
|
48
|
+
* const days = eachDayOfInterval({ start, end });
|
|
49
|
+
* // [
|
|
50
|
+
* // 2025-01-06T00:00:00Z[UTC],
|
|
51
|
+
* // 2025-01-07T00:00:00Z[UTC],
|
|
52
|
+
* // 2025-01-08T00:00:00Z[UTC]
|
|
53
|
+
* // ]
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* // Single day interval
|
|
59
|
+
* const date = Temporal.ZonedDateTime.from('2025-01-15T12:00:00Z[UTC]');
|
|
60
|
+
*
|
|
61
|
+
* eachDayOfInterval({ start: date, end: date });
|
|
62
|
+
* // [2025-01-15T00:00:00Z[UTC]]
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function eachDayOfInterval(interval: {
|
|
66
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
67
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
68
|
+
}): Temporal.ZonedDateTime[];
|
|
69
|
+
//# sourceMappingURL=eachDayOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachDayOfInterval.d.ts","sourceRoot":"","sources":["../src/eachDayOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAiB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachDayOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachDayOfInterval.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each hour within the interval.
|
|
4
|
+
* Each element represents the start of the hour (minute/second/etc. set to 0).
|
|
5
|
+
* The interval is inclusive of both start and end hours.
|
|
6
|
+
*
|
|
7
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
8
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
9
|
+
*
|
|
10
|
+
* Note: During DST transitions, some hours may be skipped (spring forward) or
|
|
11
|
+
* the array may contain fewer/more hours than expected based on wall-clock time.
|
|
12
|
+
*
|
|
13
|
+
* @param interval - The interval with start and end datetimes
|
|
14
|
+
* @returns Array of ZonedDateTime at start of each hour in the interval
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:30:00Z[UTC]');
|
|
19
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-06T14:15:00Z[UTC]');
|
|
20
|
+
*
|
|
21
|
+
* const hours = eachHourOfInterval({ start, end });
|
|
22
|
+
* // [
|
|
23
|
+
* // 2025-01-06T10:00:00Z[UTC],
|
|
24
|
+
* // 2025-01-06T11:00:00Z[UTC],
|
|
25
|
+
* // 2025-01-06T12:00:00Z[UTC],
|
|
26
|
+
* // 2025-01-06T13:00:00Z[UTC],
|
|
27
|
+
* // 2025-01-06T14:00:00Z[UTC]
|
|
28
|
+
* // ]
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* // Cross-day boundary
|
|
34
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T22:00:00Z[UTC]');
|
|
35
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-07T02:00:00Z[UTC]');
|
|
36
|
+
*
|
|
37
|
+
* const hours = eachHourOfInterval({ start, end });
|
|
38
|
+
* // [
|
|
39
|
+
* // 2025-01-06T22:00:00Z[UTC],
|
|
40
|
+
* // 2025-01-06T23:00:00Z[UTC],
|
|
41
|
+
* // 2025-01-07T00:00:00Z[UTC],
|
|
42
|
+
* // 2025-01-07T01:00:00Z[UTC],
|
|
43
|
+
* // 2025-01-07T02:00:00Z[UTC]
|
|
44
|
+
* // ]
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare function eachHourOfInterval(interval: {
|
|
48
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
49
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
50
|
+
}): Temporal.ZonedDateTime[];
|
|
51
|
+
//# sourceMappingURL=eachHourOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachHourOfInterval.d.ts","sourceRoot":"","sources":["../src/eachHourOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAsB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachHourOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachHourOfInterval.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each minute within the interval.
|
|
4
|
+
* Each element represents the start of the minute (seconds/etc. set to 0).
|
|
5
|
+
* The interval is inclusive of both start and end minutes.
|
|
6
|
+
*
|
|
7
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
8
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
9
|
+
*
|
|
10
|
+
* Warning: Large intervals can produce very large arrays. For example, a 24-hour
|
|
11
|
+
* interval produces 1,441 elements. Consider whether this is appropriate for your use case.
|
|
12
|
+
*
|
|
13
|
+
* @param interval - The interval with start and end datetimes
|
|
14
|
+
* @returns Array of ZonedDateTime at start of each minute in the interval
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:30:00Z[UTC]');
|
|
19
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-06T10:33:45Z[UTC]');
|
|
20
|
+
*
|
|
21
|
+
* const minutes = eachMinuteOfInterval({ start, end });
|
|
22
|
+
* // [
|
|
23
|
+
* // 2025-01-06T10:30:00Z[UTC],
|
|
24
|
+
* // 2025-01-06T10:31:00Z[UTC],
|
|
25
|
+
* // 2025-01-06T10:32:00Z[UTC],
|
|
26
|
+
* // 2025-01-06T10:33:00Z[UTC]
|
|
27
|
+
* // ]
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* // Cross-hour boundary
|
|
33
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:58:00Z[UTC]');
|
|
34
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-06T11:02:00Z[UTC]');
|
|
35
|
+
*
|
|
36
|
+
* const minutes = eachMinuteOfInterval({ start, end });
|
|
37
|
+
* // [
|
|
38
|
+
* // 2025-01-06T10:58:00Z[UTC],
|
|
39
|
+
* // 2025-01-06T10:59:00Z[UTC],
|
|
40
|
+
* // 2025-01-06T11:00:00Z[UTC],
|
|
41
|
+
* // 2025-01-06T11:01:00Z[UTC],
|
|
42
|
+
* // 2025-01-06T11:02:00Z[UTC]
|
|
43
|
+
* // ]
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare function eachMinuteOfInterval(interval: {
|
|
47
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
48
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
49
|
+
}): Temporal.ZonedDateTime[];
|
|
50
|
+
//# sourceMappingURL=eachMinuteOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachMinuteOfInterval.d.ts","sourceRoot":"","sources":["../src/eachMinuteOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAsB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachMinuteOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachMinuteOfInterval.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each month within the interval.
|
|
4
|
+
* Each element represents the first moment of the month (day 1 at midnight).
|
|
5
|
+
* The interval is inclusive of both start and end months.
|
|
6
|
+
*
|
|
7
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
8
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
9
|
+
*
|
|
10
|
+
* @param interval - The interval with start and end datetimes
|
|
11
|
+
* @returns Array of ZonedDateTime at start of each month in the interval
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-15T10:00:00Z[UTC]');
|
|
16
|
+
* const end = Temporal.ZonedDateTime.from('2025-04-20T14:00:00Z[UTC]');
|
|
17
|
+
*
|
|
18
|
+
* const months = eachMonthOfInterval({ start, end });
|
|
19
|
+
* // [
|
|
20
|
+
* // 2025-01-01T00:00:00Z[UTC],
|
|
21
|
+
* // 2025-02-01T00:00:00Z[UTC],
|
|
22
|
+
* // 2025-03-01T00:00:00Z[UTC],
|
|
23
|
+
* // 2025-04-01T00:00:00Z[UTC]
|
|
24
|
+
* // ]
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Cross-year boundary
|
|
30
|
+
* const start = Temporal.ZonedDateTime.from('2024-11-15T00:00:00Z[UTC]');
|
|
31
|
+
* const end = Temporal.ZonedDateTime.from('2025-02-15T00:00:00Z[UTC]');
|
|
32
|
+
*
|
|
33
|
+
* const months = eachMonthOfInterval({ start, end });
|
|
34
|
+
* // [
|
|
35
|
+
* // 2024-11-01T00:00:00Z[UTC],
|
|
36
|
+
* // 2024-12-01T00:00:00Z[UTC],
|
|
37
|
+
* // 2025-01-01T00:00:00Z[UTC],
|
|
38
|
+
* // 2025-02-01T00:00:00Z[UTC]
|
|
39
|
+
* // ]
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare function eachMonthOfInterval(interval: {
|
|
43
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
44
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
45
|
+
}): Temporal.ZonedDateTime[];
|
|
46
|
+
//# sourceMappingURL=eachMonthOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachMonthOfInterval.d.ts","sourceRoot":"","sources":["../src/eachMonthOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE;IAC5C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAkC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachMonthOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachMonthOfInterval.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each week within the interval.
|
|
4
|
+
* Each element represents the first moment of the week (Monday at midnight).
|
|
5
|
+
* Uses ISO 8601 week definition: weeks start on Monday.
|
|
6
|
+
* The interval is inclusive of both start and end weeks.
|
|
7
|
+
*
|
|
8
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
9
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
10
|
+
*
|
|
11
|
+
* @param interval - The interval with start and end datetimes
|
|
12
|
+
* @returns Array of ZonedDateTime at start of each week (Monday) in the interval
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-06T10:00:00Z[UTC]'); // Monday
|
|
17
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-22T14:00:00Z[UTC]'); // Wednesday
|
|
18
|
+
*
|
|
19
|
+
* const weeks = eachWeekOfInterval({ start, end });
|
|
20
|
+
* // [
|
|
21
|
+
* // 2025-01-06T00:00:00Z[UTC], // Week 2
|
|
22
|
+
* // 2025-01-13T00:00:00Z[UTC], // Week 3
|
|
23
|
+
* // 2025-01-20T00:00:00Z[UTC] // Week 4
|
|
24
|
+
* // ]
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Mid-week start
|
|
30
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-08T10:00:00Z[UTC]'); // Wednesday
|
|
31
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-15T14:00:00Z[UTC]'); // Wednesday
|
|
32
|
+
*
|
|
33
|
+
* const weeks = eachWeekOfInterval({ start, end });
|
|
34
|
+
* // [
|
|
35
|
+
* // 2025-01-06T00:00:00Z[UTC], // Monday of week containing Jan 8
|
|
36
|
+
* // 2025-01-13T00:00:00Z[UTC] // Monday of week containing Jan 15
|
|
37
|
+
* // ]
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* // Cross-year boundary
|
|
43
|
+
* const start = Temporal.ZonedDateTime.from('2024-12-25T00:00:00Z[UTC]');
|
|
44
|
+
* const end = Temporal.ZonedDateTime.from('2025-01-08T00:00:00Z[UTC]');
|
|
45
|
+
*
|
|
46
|
+
* const weeks = eachWeekOfInterval({ start, end });
|
|
47
|
+
* // [
|
|
48
|
+
* // 2024-12-23T00:00:00Z[UTC], // Monday of week containing Dec 25
|
|
49
|
+
* // 2024-12-30T00:00:00Z[UTC], // Monday of week containing Dec 30
|
|
50
|
+
* // 2025-01-06T00:00:00Z[UTC] // Monday of week containing Jan 8
|
|
51
|
+
* // ]
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare function eachWeekOfInterval(interval: {
|
|
55
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
56
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
57
|
+
}): Temporal.ZonedDateTime[];
|
|
58
|
+
//# sourceMappingURL=eachWeekOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachWeekOfInterval.d.ts","sourceRoot":"","sources":["../src/eachWeekOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAyB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachWeekOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachWeekOfInterval.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
/**
|
|
3
|
+
* Returns an array of ZonedDateTime objects for each year within the interval.
|
|
4
|
+
* Each element represents the first moment of the year (January 1st at midnight).
|
|
5
|
+
* The interval is inclusive of both start and end years.
|
|
6
|
+
*
|
|
7
|
+
* For Instant inputs, UTC is used as the timezone.
|
|
8
|
+
* For ZonedDateTime inputs, the timezone of the start date is preserved.
|
|
9
|
+
*
|
|
10
|
+
* @param interval - The interval with start and end datetimes
|
|
11
|
+
* @returns Array of ZonedDateTime at start of each year in the interval
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const start = Temporal.ZonedDateTime.from('2022-06-15T10:00:00Z[UTC]');
|
|
16
|
+
* const end = Temporal.ZonedDateTime.from('2025-03-20T14:00:00Z[UTC]');
|
|
17
|
+
*
|
|
18
|
+
* const years = eachYearOfInterval({ start, end });
|
|
19
|
+
* // [
|
|
20
|
+
* // 2022-01-01T00:00:00Z[UTC],
|
|
21
|
+
* // 2023-01-01T00:00:00Z[UTC],
|
|
22
|
+
* // 2024-01-01T00:00:00Z[UTC],
|
|
23
|
+
* // 2025-01-01T00:00:00Z[UTC]
|
|
24
|
+
* // ]
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Single year
|
|
30
|
+
* const start = Temporal.ZonedDateTime.from('2025-01-15T00:00:00Z[UTC]');
|
|
31
|
+
* const end = Temporal.ZonedDateTime.from('2025-12-31T23:59:59Z[UTC]');
|
|
32
|
+
*
|
|
33
|
+
* const years = eachYearOfInterval({ start, end });
|
|
34
|
+
* // [2025-01-01T00:00:00Z[UTC]]
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* // With timezone
|
|
40
|
+
* const start = Temporal.ZonedDateTime.from('2024-01-01T00:00:00-05:00[America/New_York]');
|
|
41
|
+
* const end = Temporal.ZonedDateTime.from('2026-06-15T00:00:00-04:00[America/New_York]');
|
|
42
|
+
*
|
|
43
|
+
* const years = eachYearOfInterval({ start, end });
|
|
44
|
+
* // [
|
|
45
|
+
* // 2024-01-01T00:00:00-05:00[America/New_York],
|
|
46
|
+
* // 2025-01-01T00:00:00-05:00[America/New_York],
|
|
47
|
+
* // 2026-01-01T00:00:00-05:00[America/New_York]
|
|
48
|
+
* // ]
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function eachYearOfInterval(interval: {
|
|
52
|
+
start: Temporal.Instant | Temporal.ZonedDateTime;
|
|
53
|
+
end: Temporal.Instant | Temporal.ZonedDateTime;
|
|
54
|
+
}): Temporal.ZonedDateTime[];
|
|
55
|
+
//# sourceMappingURL=eachYearOfInterval.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachYearOfInterval.d.ts","sourceRoot":"","sources":["../src/eachYearOfInterval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;IACjD,GAAG,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC;CAChD,GAAG,QAAQ,CAAC,aAAa,EAAE,CAwB3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eachYearOfInterval.test.d.ts","sourceRoot":"","sources":["../src/eachYearOfInterval.test.ts"],"names":[],"mappings":""}
|
package/dist/endOfDay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endOfDay.d.ts","sourceRoot":"","sources":["../src/endOfDay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"endOfDay.d.ts","sourceRoot":"","sources":["../src/endOfDay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GAC/C,QAAQ,CAAC,aAAa,CAAC;AAC1B,wBAAgB,QAAQ,CACtB,KAAK,EAAE,QAAQ,CAAC,SAAS,EACzB,QAAQ,EAAE,QAAQ,GACjB,QAAQ,CAAC,aAAa,CAAC"}
|
package/dist/endOfDay.js
CHANGED
package/dist/endOfMonth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endOfMonth.d.ts","sourceRoot":"","sources":["../src/endOfMonth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"endOfMonth.d.ts","sourceRoot":"","sources":["../src/endOfMonth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GAC/C,QAAQ,CAAC,aAAa,CAAC;AAC1B,wBAAgB,UAAU,CACxB,KAAK,EAAE,QAAQ,CAAC,SAAS,EACzB,QAAQ,EAAE,QAAQ,GACjB,QAAQ,CAAC,aAAa,CAAC"}
|
package/dist/endOfMonth.js
CHANGED
package/dist/endOfYear.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endOfYear.d.ts","sourceRoot":"","sources":["../src/endOfYear.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"endOfYear.d.ts","sourceRoot":"","sources":["../src/endOfYear.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,aAAa,GAC/C,QAAQ,CAAC,aAAa,CAAC;AAC1B,wBAAgB,SAAS,CACvB,KAAK,EAAE,QAAQ,CAAC,SAAS,EACzB,QAAQ,EAAE,QAAQ,GACjB,QAAQ,CAAC,aAAa,CAAC"}
|