@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.
Files changed (143) hide show
  1. package/dist/chunk-3TSFIPUR.js +16 -0
  2. package/dist/chunk-3TSFIPUR.js.map +1 -0
  3. package/dist/chunk-776JOVV6.js +20 -0
  4. package/dist/chunk-776JOVV6.js.map +1 -0
  5. package/dist/chunk-AJ4JBKJK.js +10 -0
  6. package/dist/chunk-AJ4JBKJK.js.map +1 -0
  7. package/dist/{chunk-RJY62CDU.js → chunk-B2R2G5YK.js} +5 -2
  8. package/dist/chunk-B2R2G5YK.js.map +1 -0
  9. package/dist/chunk-BUX26GTD.js +30 -0
  10. package/dist/chunk-BUX26GTD.js.map +1 -0
  11. package/dist/{chunk-D7DPB2JR.js → chunk-BV6CLVSI.js} +7 -4
  12. package/dist/chunk-BV6CLVSI.js.map +1 -0
  13. package/dist/chunk-DKYVFYWM.js +25 -0
  14. package/dist/chunk-DKYVFYWM.js.map +1 -0
  15. package/dist/chunk-G2JUEBC5.js +26 -0
  16. package/dist/chunk-G2JUEBC5.js.map +1 -0
  17. package/dist/chunk-HLGMUTFK.js +16 -0
  18. package/dist/chunk-HLGMUTFK.js.map +1 -0
  19. package/dist/chunk-HOCNCQTC.js +18 -0
  20. package/dist/chunk-HOCNCQTC.js.map +1 -0
  21. package/dist/chunk-JA7SVLAF.js +20 -0
  22. package/dist/chunk-JA7SVLAF.js.map +1 -0
  23. package/dist/chunk-KGVUENQO.js +17 -0
  24. package/dist/chunk-KGVUENQO.js.map +1 -0
  25. package/dist/chunk-OLEOU3XE.js +28 -0
  26. package/dist/chunk-OLEOU3XE.js.map +1 -0
  27. package/dist/chunk-OQ4CWKJT.js +19 -0
  28. package/dist/chunk-OQ4CWKJT.js.map +1 -0
  29. package/dist/{chunk-PIDXROVB.js → chunk-PMJD5N5J.js} +5 -2
  30. package/dist/chunk-PMJD5N5J.js.map +1 -0
  31. package/dist/chunk-QFNGYTTH.js +14 -0
  32. package/dist/chunk-QFNGYTTH.js.map +1 -0
  33. package/dist/{chunk-ZHRMURYP.js → chunk-QVOEXF46.js} +5 -2
  34. package/dist/chunk-QVOEXF46.js.map +1 -0
  35. package/dist/chunk-TNCLJK4Y.js +38 -0
  36. package/dist/chunk-TNCLJK4Y.js.map +1 -0
  37. package/dist/chunk-UBY22QWM.js +20 -0
  38. package/dist/chunk-UBY22QWM.js.map +1 -0
  39. package/dist/chunk-Y7CIJQ67.js +26 -0
  40. package/dist/chunk-Y7CIJQ67.js.map +1 -0
  41. package/dist/chunk-YIT6EMBC.js +15 -0
  42. package/dist/chunk-YIT6EMBC.js.map +1 -0
  43. package/dist/{chunk-TDQXOSO3.js → chunk-ZJQS7ZY7.js} +4 -4
  44. package/dist/differenceInHours.d.ts.map +1 -1
  45. package/dist/differenceInHours.js +2 -1
  46. package/dist/differenceInMilliseconds.d.ts.map +1 -1
  47. package/dist/differenceInMilliseconds.js +2 -1
  48. package/dist/differenceInMinutes.d.ts.map +1 -1
  49. package/dist/differenceInMinutes.js +2 -1
  50. package/dist/differenceInSeconds.d.ts.map +1 -1
  51. package/dist/differenceInSeconds.js +2 -1
  52. package/dist/eachDayOfInterval.d.ts +69 -0
  53. package/dist/eachDayOfInterval.d.ts.map +1 -0
  54. package/dist/eachDayOfInterval.js +8 -0
  55. package/dist/eachDayOfInterval.js.map +1 -0
  56. package/dist/eachDayOfInterval.test.d.ts +2 -0
  57. package/dist/eachDayOfInterval.test.d.ts.map +1 -0
  58. package/dist/eachHourOfInterval.d.ts +51 -0
  59. package/dist/eachHourOfInterval.d.ts.map +1 -0
  60. package/dist/eachHourOfInterval.js +8 -0
  61. package/dist/eachHourOfInterval.js.map +1 -0
  62. package/dist/eachHourOfInterval.test.d.ts +2 -0
  63. package/dist/eachHourOfInterval.test.d.ts.map +1 -0
  64. package/dist/eachMinuteOfInterval.d.ts +50 -0
  65. package/dist/eachMinuteOfInterval.d.ts.map +1 -0
  66. package/dist/eachMinuteOfInterval.js +8 -0
  67. package/dist/eachMinuteOfInterval.js.map +1 -0
  68. package/dist/eachMinuteOfInterval.test.d.ts +2 -0
  69. package/dist/eachMinuteOfInterval.test.d.ts.map +1 -0
  70. package/dist/eachMonthOfInterval.d.ts +46 -0
  71. package/dist/eachMonthOfInterval.d.ts.map +1 -0
  72. package/dist/eachMonthOfInterval.js +8 -0
  73. package/dist/eachMonthOfInterval.js.map +1 -0
  74. package/dist/eachMonthOfInterval.test.d.ts +2 -0
  75. package/dist/eachMonthOfInterval.test.d.ts.map +1 -0
  76. package/dist/eachWeekOfInterval.d.ts +58 -0
  77. package/dist/eachWeekOfInterval.d.ts.map +1 -0
  78. package/dist/eachWeekOfInterval.js +8 -0
  79. package/dist/eachWeekOfInterval.js.map +1 -0
  80. package/dist/eachWeekOfInterval.test.d.ts +2 -0
  81. package/dist/eachWeekOfInterval.test.d.ts.map +1 -0
  82. package/dist/eachYearOfInterval.d.ts +55 -0
  83. package/dist/eachYearOfInterval.d.ts.map +1 -0
  84. package/dist/eachYearOfInterval.js +8 -0
  85. package/dist/eachYearOfInterval.js.map +1 -0
  86. package/dist/eachYearOfInterval.test.d.ts +2 -0
  87. package/dist/eachYearOfInterval.test.d.ts.map +1 -0
  88. package/dist/endOfDay.d.ts.map +1 -1
  89. package/dist/endOfDay.js +2 -1
  90. package/dist/endOfMonth.d.ts.map +1 -1
  91. package/dist/endOfMonth.js +2 -1
  92. package/dist/endOfYear.d.ts.map +1 -1
  93. package/dist/endOfYear.js +2 -1
  94. package/dist/index.d.ts +6 -0
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +77 -50
  97. package/dist/intlFormatDistance.js +5 -4
  98. package/dist/isFuture.d.ts +1 -1
  99. package/dist/isFuture.d.ts.map +1 -1
  100. package/dist/isFuture.js +3 -1
  101. package/dist/isPast.d.ts +1 -1
  102. package/dist/isPast.d.ts.map +1 -1
  103. package/dist/isPast.js +3 -1
  104. package/dist/shared/differenceInMilliseconds.d.ts +3 -0
  105. package/dist/shared/differenceInMilliseconds.d.ts.map +1 -0
  106. package/dist/shared/differenceInMilliseconds.js +7 -0
  107. package/dist/shared/differenceInMilliseconds.js.map +1 -0
  108. package/dist/shared/normalizeWithPlainDate.d.ts +15 -0
  109. package/dist/shared/normalizeWithPlainDate.d.ts.map +1 -0
  110. package/dist/shared/normalizeWithPlainDate.js +9 -0
  111. package/dist/shared/normalizeWithPlainDate.js.map +1 -0
  112. package/dist/shared/nowZoned.d.ts +3 -0
  113. package/dist/shared/nowZoned.d.ts.map +1 -0
  114. package/dist/shared/nowZoned.js +8 -0
  115. package/dist/shared/nowZoned.js.map +1 -0
  116. package/dist/startOfDay.d.ts.map +1 -1
  117. package/dist/startOfDay.js +2 -1
  118. package/dist/startOfMonth.d.ts.map +1 -1
  119. package/dist/startOfMonth.js +2 -1
  120. package/dist/startOfYear.d.ts.map +1 -1
  121. package/dist/startOfYear.js +2 -1
  122. package/package.json +1 -1
  123. package/dist/chunk-2H4KLXGL.js +0 -16
  124. package/dist/chunk-2H4KLXGL.js.map +0 -1
  125. package/dist/chunk-7GEIOKVQ.js +0 -19
  126. package/dist/chunk-7GEIOKVQ.js.map +0 -1
  127. package/dist/chunk-D7DPB2JR.js.map +0 -1
  128. package/dist/chunk-GFWC7CHD.js +0 -21
  129. package/dist/chunk-GFWC7CHD.js.map +0 -1
  130. package/dist/chunk-GLGAVKGV.js +0 -24
  131. package/dist/chunk-GLGAVKGV.js.map +0 -1
  132. package/dist/chunk-ID52RFFD.js +0 -19
  133. package/dist/chunk-ID52RFFD.js.map +0 -1
  134. package/dist/chunk-PIDXROVB.js.map +0 -1
  135. package/dist/chunk-PWISCOZV.js +0 -23
  136. package/dist/chunk-PWISCOZV.js.map +0 -1
  137. package/dist/chunk-R5XN76EV.js +0 -16
  138. package/dist/chunk-R5XN76EV.js.map +0 -1
  139. package/dist/chunk-RJY62CDU.js.map +0 -1
  140. package/dist/chunk-XPJFOBPW.js +0 -24
  141. package/dist/chunk-XPJFOBPW.js.map +0 -1
  142. package/dist/chunk-ZHRMURYP.js.map +0 -1
  143. /package/dist/{chunk-TDQXOSO3.js.map → chunk-ZJQS7ZY7.js.map} +0 -0
@@ -1,23 +0,0 @@
1
- import {
2
- getEndOfDay
3
- } from "./chunk-AVGNRINZ.js";
4
- import {
5
- plainDateToZonedDateTime
6
- } from "./chunk-JNA3AFOC.js";
7
- import {
8
- normalizeTemporalInput
9
- } from "./chunk-MJSZNWCV.js";
10
-
11
- // src/endOfMonth.ts
12
- import { Temporal } from "@js-temporal/polyfill";
13
- function endOfMonth(input, timezone) {
14
- const zonedDateTime = input instanceof Temporal.PlainDate ? plainDateToZonedDateTime(input, timezone) : normalizeTemporalInput(input);
15
- const daysInMonth = zonedDateTime.daysInMonth;
16
- const lastDay = zonedDateTime.with({ day: daysInMonth });
17
- return getEndOfDay(lastDay);
18
- }
19
-
20
- export {
21
- endOfMonth
22
- };
23
- //# sourceMappingURL=chunk-PWISCOZV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/endOfMonth.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport type { Timezone } from './types';\nimport { getEndOfDay } from './shared/endOfDay';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { plainDateToZonedDateTime } from './shared/plainDateToZonedDateTime';\n\n/**\n * Returns a ZonedDateTime representing the last moment of the month (last day at 23:59:59.999999999).\n *\n * @param input - A Temporal.Instant (UTC) or Temporal.ZonedDateTime\n * @returns ZonedDateTime at the last day of the month at 23:59:59.999999999\n *\n * @example\n * ```ts\n * // From Instant (always UTC)\n * const instant = Temporal.Instant.from('2025-01-15T12:00:00Z');\n * const end = endOfMonth(instant);\n * // 2025-01-31T23:59:59.999999999Z[UTC]\n * ```\n *\n * @example\n * ```ts\n * // From ZonedDateTime (uses its timezone)\n * const zoned = Temporal.ZonedDateTime.from('2025-02-15T15:30:00-05:00[America/New_York]');\n * const end = endOfMonth(zoned);\n * // 2025-02-28T23:59:59.999999999-05:00[America/New_York]\n * ```\n *\n * @example\n * ```ts\n * // From PlainDate (requires timezone)\n * const date = Temporal.PlainDate.from('2025-02-15');\n * const end = endOfMonth(date, 'America/New_York');\n * // 2025-02-28T23:59:59.999999999-05:00[America/New_York]\n * ```\n */\nexport function endOfMonth(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime;\nexport function endOfMonth(\n input: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime;\nexport function endOfMonth(\n input: Temporal.Instant | Temporal.ZonedDateTime | Temporal.PlainDate,\n timezone?: Timezone\n): Temporal.ZonedDateTime {\n const zonedDateTime =\n input instanceof Temporal.PlainDate\n ? plainDateToZonedDateTime(input, timezone!)\n : normalizeTemporalInput(input);\n\n // Get the number of days in this month\n const daysInMonth = zonedDateTime.daysInMonth;\n\n // Set day to last day of month, then get end of that day\n const lastDay = zonedDateTime.with({ day: daysInMonth });\n\n return getEndOfDay(lastDay);\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAS,gBAAgB;AA2ClB,SAAS,WACd,OACA,UACwB;AACxB,QAAM,gBACJ,iBAAiB,SAAS,YACtB,yBAAyB,OAAO,QAAS,IACzC,uBAAuB,KAAK;AAGlC,QAAM,cAAc,cAAc;AAGlC,QAAM,UAAU,cAAc,KAAK,EAAE,KAAK,YAAY,CAAC;AAEvD,SAAO,YAAY,OAAO;AAC5B;","names":[]}
@@ -1,16 +0,0 @@
1
- import {
2
- normalizeTemporalInput
3
- } from "./chunk-MJSZNWCV.js";
4
-
5
- // src/isFuture.ts
6
- import { Temporal } from "@js-temporal/polyfill";
7
- function isFuture(date) {
8
- const zoned = normalizeTemporalInput(date);
9
- const nowInstant = Temporal.Now.instant();
10
- return Temporal.Instant.compare(zoned.toInstant(), nowInstant) > 0;
11
- }
12
-
13
- export {
14
- isFuture
15
- };
16
- //# sourceMappingURL=chunk-R5XN76EV.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/isFuture.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns true if the given datetime is in the future.\n * Compares by the underlying instant (epoch time) against the current time.\n *\n * @param date - Datetime to check (Instant or ZonedDateTime)\n * @returns true if date is after the current instant, false otherwise\n *\n * @example\n * ```ts\n * const tomorrow = Temporal.Now.zonedDateTimeISO().add({ days: 1 });\n * const yesterday = Temporal.Now.zonedDateTimeISO().subtract({ days: 1 });\n *\n * isFuture(tomorrow); // true\n * isFuture(yesterday); // false\n * ```\n *\n * @example\n * ```ts\n * // Works with Instant too\n * const futureInstant = Temporal.Now.instant().add({ hours: 1 });\n *\n * isFuture(futureInstant); // true\n * ```\n *\n * @example\n * ```ts\n * // Works with any timezone\n * const futureInTokyo = Temporal.ZonedDateTime.from('2100-01-01T00:00:00+09:00[Asia/Tokyo]');\n *\n * isFuture(futureInTokyo); // true\n * ```\n */\nexport function isFuture(\n date: Temporal.Instant | Temporal.ZonedDateTime\n): boolean {\n const zoned = normalizeTemporalInput(date);\n const nowInstant = Temporal.Now.instant();\n\n return Temporal.Instant.compare(zoned.toInstant(), nowInstant) > 0;\n}\n"],"mappings":";;;;;AAAA,SAAS,gBAAgB;AAmClB,SAAS,SACd,MACS;AACT,QAAM,QAAQ,uBAAuB,IAAI;AACzC,QAAM,aAAa,SAAS,IAAI,QAAQ;AAExC,SAAO,SAAS,QAAQ,QAAQ,MAAM,UAAU,GAAG,UAAU,IAAI;AACnE;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/differenceInMinutes.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns the number of minutes between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @returns The number of minutes between the dates\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-20T12:45:00Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:30:00Z');\n *\n * differenceInMinutes(later, earlier); // 15\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-20T16:00:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00-05:00[America/New_York]');\n *\n * differenceInMinutes(later, earlier); // 60\n * ```\n *\n * @example\n * ```ts\n * // Handles different timezones - compares by instant\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n *\n * differenceInMinutes(tokyo, ny); // 0 (same instant)\n * ```\n */\nexport function differenceInMinutes(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n return Math.trunc((zoned1.epochMilliseconds - zoned2.epochMilliseconds) / 60000);\n}\n"],"mappings":";;;;;AAAA,OAAyB;AAqClB,SAAS,oBACd,WACA,aACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,SAAO,KAAK,OAAO,OAAO,oBAAoB,OAAO,qBAAqB,GAAK;AACjF;","names":[]}
@@ -1,24 +0,0 @@
1
- import {
2
- getEndOfDay
3
- } from "./chunk-AVGNRINZ.js";
4
- import {
5
- plainDateToZonedDateTime
6
- } from "./chunk-JNA3AFOC.js";
7
- import {
8
- normalizeTemporalInput
9
- } from "./chunk-MJSZNWCV.js";
10
-
11
- // src/endOfDay.ts
12
- import { Temporal } from "@js-temporal/polyfill";
13
- function endOfDay(input, timezone) {
14
- if (input instanceof Temporal.PlainDate) {
15
- return getEndOfDay(plainDateToZonedDateTime(input, timezone));
16
- }
17
- const zonedDateTime = normalizeTemporalInput(input);
18
- return getEndOfDay(zonedDateTime);
19
- }
20
-
21
- export {
22
- endOfDay
23
- };
24
- //# sourceMappingURL=chunk-XPJFOBPW.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/endOfDay.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport type { Timezone } from './types';\nimport { getEndOfDay } from './shared/endOfDay';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\nimport { plainDateToZonedDateTime } from './shared/plainDateToZonedDateTime';\n\n/**\n * Returns a ZonedDateTime representing the last nanosecond of the day.\n *\n * @param input - A Temporal.Instant (UTC) or Temporal.ZonedDateTime\n * @returns ZonedDateTime at 23:59:59.999999999\n *\n * @example\n * ```ts\n * // From Instant (always UTC)\n * const instant = Temporal.Instant.from('2025-01-20T12:00:00Z');\n * const end = endOfDay(instant);\n * // 2025-01-20T23:59:59.999999999Z[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 end = endOfDay(zoned);\n * // 2025-01-20T23:59:59.999999999-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 end = endOfDay(date, 'America/New_York');\n * // 2025-01-20T23:59:59.999999999-05:00[America/New_York]\n * ```\n */\nexport function endOfDay(\n input: Temporal.Instant | Temporal.ZonedDateTime\n): Temporal.ZonedDateTime;\nexport function endOfDay(\n input: Temporal.PlainDate,\n timezone: Timezone\n): Temporal.ZonedDateTime;\nexport function endOfDay(\n input: Temporal.Instant | Temporal.ZonedDateTime | Temporal.PlainDate,\n timezone?: Timezone\n): Temporal.ZonedDateTime {\n if (input instanceof Temporal.PlainDate) {\n return getEndOfDay(plainDateToZonedDateTime(input, timezone!));\n }\n\n const zonedDateTime = normalizeTemporalInput(input);\n return getEndOfDay(zonedDateTime);\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAS,gBAAgB;AA2ClB,SAAS,SACd,OACA,UACwB;AACxB,MAAI,iBAAiB,SAAS,WAAW;AACvC,WAAO,YAAY,yBAAyB,OAAO,QAAS,CAAC;AAAA,EAC/D;AAEA,QAAM,gBAAgB,uBAAuB,KAAK;AAClD,SAAO,YAAY,aAAa;AAClC;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/differenceInSeconds.ts"],"sourcesContent":["import { Temporal } from '@js-temporal/polyfill';\nimport { normalizeTemporalInput } from './shared/normalizeTemporalInput';\n\n/**\n * Returns the number of seconds between two datetimes.\n * The result is positive if laterDate is after earlierDate, negative if before.\n *\n * @param laterDate - The later datetime (Instant or ZonedDateTime)\n * @param earlierDate - The earlier datetime (Instant or ZonedDateTime)\n * @returns The number of seconds between the dates\n *\n * @example\n * ```ts\n * const later = Temporal.Instant.from('2025-01-20T12:30:25Z');\n * const earlier = Temporal.Instant.from('2025-01-20T12:30:20Z');\n *\n * differenceInSeconds(later, earlier); // 5\n * ```\n *\n * @example\n * ```ts\n * // Works with ZonedDateTime\n * const later = Temporal.ZonedDateTime.from('2025-01-20T15:01:00-05:00[America/New_York]');\n * const earlier = Temporal.ZonedDateTime.from('2025-01-20T15:00:00-05:00[America/New_York]');\n *\n * differenceInSeconds(later, earlier); // 60\n * ```\n *\n * @example\n * ```ts\n * // Handles different timezones - compares by instant\n * const tokyo = Temporal.ZonedDateTime.from('2025-01-21T00:00:00+09:00[Asia/Tokyo]');\n * const ny = Temporal.ZonedDateTime.from('2025-01-20T10:00:00-05:00[America/New_York]');\n *\n * differenceInSeconds(tokyo, ny); // 0 (same instant)\n * ```\n */\nexport function differenceInSeconds(\n laterDate: Temporal.Instant | Temporal.ZonedDateTime,\n earlierDate: Temporal.Instant | Temporal.ZonedDateTime\n): number {\n const zoned1 = normalizeTemporalInput(laterDate);\n const zoned2 = normalizeTemporalInput(earlierDate);\n\n return Math.trunc((zoned1.epochMilliseconds - zoned2.epochMilliseconds) / 1000);\n}\n"],"mappings":";;;;;AAAA,OAAyB;AAqClB,SAAS,oBACd,WACA,aACQ;AACR,QAAM,SAAS,uBAAuB,SAAS;AAC/C,QAAM,SAAS,uBAAuB,WAAW;AAEjD,SAAO,KAAK,OAAO,OAAO,oBAAoB,OAAO,qBAAqB,GAAI;AAChF;","names":[]}