@internationalized/date 3.11.0 → 3.12.1

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 (171) hide show
  1. package/dist/index.cjs +113 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.js +45 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +45 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/dist/{CalendarDate.main.js → private/CalendarDate.cjs} +102 -120
  8. package/dist/private/CalendarDate.cjs.map +1 -0
  9. package/dist/{CalendarDate.mjs → private/CalendarDate.js} +65 -65
  10. package/dist/private/CalendarDate.js.map +1 -0
  11. package/dist/{CalendarDate.module.js → private/CalendarDate.mjs} +99 -117
  12. package/dist/private/CalendarDate.mjs.map +1 -0
  13. package/dist/{DateFormatter.main.js → private/DateFormatter.cjs} +27 -27
  14. package/dist/private/DateFormatter.cjs.map +1 -0
  15. package/dist/{DateFormatter.module.js → private/DateFormatter.js} +23 -23
  16. package/dist/{DateFormatter.module.js.map → private/DateFormatter.js.map} +1 -1
  17. package/dist/{DateFormatter.mjs → private/DateFormatter.mjs} +27 -27
  18. package/dist/private/DateFormatter.mjs.map +1 -0
  19. package/dist/{BuddhistCalendar.main.js → private/calendars/BuddhistCalendar.cjs} +13 -13
  20. package/dist/{BuddhistCalendar.main.js.map → private/calendars/BuddhistCalendar.cjs.map} +1 -1
  21. package/dist/{BuddhistCalendar.module.js → private/calendars/BuddhistCalendar.js} +13 -13
  22. package/dist/{BuddhistCalendar.module.js.map → private/calendars/BuddhistCalendar.js.map} +1 -1
  23. package/dist/{BuddhistCalendar.mjs → private/calendars/BuddhistCalendar.mjs} +13 -13
  24. package/dist/private/calendars/BuddhistCalendar.mjs.map +1 -0
  25. package/dist/{EthiopicCalendar.main.js → private/calendars/EthiopicCalendar.cjs} +32 -32
  26. package/dist/{EthiopicCalendar.main.js.map → private/calendars/EthiopicCalendar.cjs.map} +1 -1
  27. package/dist/{EthiopicCalendar.module.js → private/calendars/EthiopicCalendar.js} +30 -30
  28. package/dist/{EthiopicCalendar.module.js.map → private/calendars/EthiopicCalendar.js.map} +1 -1
  29. package/dist/{EthiopicCalendar.mjs → private/calendars/EthiopicCalendar.mjs} +30 -30
  30. package/dist/private/calendars/EthiopicCalendar.mjs.map +1 -0
  31. package/dist/{GregorianCalendar.main.js → private/calendars/GregorianCalendar.cjs} +31 -31
  32. package/dist/{GregorianCalendar.main.js.map → private/calendars/GregorianCalendar.cjs.map} +1 -1
  33. package/dist/{GregorianCalendar.module.js → private/calendars/GregorianCalendar.js} +27 -27
  34. package/dist/{GregorianCalendar.module.js.map → private/calendars/GregorianCalendar.js.map} +1 -1
  35. package/dist/{GregorianCalendar.mjs → private/calendars/GregorianCalendar.mjs} +27 -27
  36. package/dist/private/calendars/GregorianCalendar.mjs.map +1 -0
  37. package/dist/{HebrewCalendar.main.js → private/calendars/HebrewCalendar.cjs} +44 -44
  38. package/dist/{HebrewCalendar.main.js.map → private/calendars/HebrewCalendar.cjs.map} +1 -1
  39. package/dist/{HebrewCalendar.module.js → private/calendars/HebrewCalendar.js} +44 -44
  40. package/dist/{HebrewCalendar.module.js.map → private/calendars/HebrewCalendar.js.map} +1 -1
  41. package/dist/{HebrewCalendar.mjs → private/calendars/HebrewCalendar.mjs} +44 -44
  42. package/dist/private/calendars/HebrewCalendar.mjs.map +1 -0
  43. package/dist/{IndianCalendar.main.js → private/calendars/IndianCalendar.cjs} +20 -20
  44. package/dist/{IndianCalendar.main.js.map → private/calendars/IndianCalendar.cjs.map} +1 -1
  45. package/dist/{IndianCalendar.module.js → private/calendars/IndianCalendar.js} +20 -20
  46. package/dist/{IndianCalendar.module.js.map → private/calendars/IndianCalendar.js.map} +1 -1
  47. package/dist/{IndianCalendar.mjs → private/calendars/IndianCalendar.mjs} +20 -20
  48. package/dist/private/calendars/IndianCalendar.mjs.map +1 -0
  49. package/dist/private/calendars/IslamicCalendar.cjs +168 -0
  50. package/dist/private/calendars/IslamicCalendar.cjs.map +1 -0
  51. package/dist/private/calendars/IslamicCalendar.js +161 -0
  52. package/dist/{IslamicCalendar.module.js.map → private/calendars/IslamicCalendar.js.map} +1 -1
  53. package/dist/private/calendars/IslamicCalendar.mjs +161 -0
  54. package/dist/private/calendars/IslamicCalendar.mjs.map +1 -0
  55. package/dist/{JapaneseCalendar.main.js → private/calendars/JapaneseCalendar.cjs} +37 -37
  56. package/dist/{JapaneseCalendar.main.js.map → private/calendars/JapaneseCalendar.cjs.map} +1 -1
  57. package/dist/{JapaneseCalendar.module.js → private/calendars/JapaneseCalendar.js} +37 -37
  58. package/dist/{JapaneseCalendar.module.js.map → private/calendars/JapaneseCalendar.js.map} +1 -1
  59. package/dist/{JapaneseCalendar.mjs → private/calendars/JapaneseCalendar.mjs} +37 -37
  60. package/dist/private/calendars/JapaneseCalendar.mjs.map +1 -0
  61. package/dist/{PersianCalendar.main.js → private/calendars/PersianCalendar.cjs} +13 -13
  62. package/dist/{PersianCalendar.main.js.map → private/calendars/PersianCalendar.cjs.map} +1 -1
  63. package/dist/{PersianCalendar.module.js → private/calendars/PersianCalendar.js} +13 -13
  64. package/dist/{PersianCalendar.module.js.map → private/calendars/PersianCalendar.js.map} +1 -1
  65. package/dist/{PersianCalendar.mjs → private/calendars/PersianCalendar.mjs} +13 -13
  66. package/dist/private/calendars/PersianCalendar.mjs.map +1 -0
  67. package/dist/{TaiwanCalendar.main.js → private/calendars/TaiwanCalendar.cjs} +20 -20
  68. package/dist/{TaiwanCalendar.main.js.map → private/calendars/TaiwanCalendar.cjs.map} +1 -1
  69. package/dist/private/calendars/TaiwanCalendar.js +75 -0
  70. package/dist/{TaiwanCalendar.module.js.map → private/calendars/TaiwanCalendar.js.map} +1 -1
  71. package/dist/{TaiwanCalendar.mjs → private/calendars/TaiwanCalendar.mjs} +20 -20
  72. package/dist/private/calendars/TaiwanCalendar.mjs.map +1 -0
  73. package/dist/private/conversion.cjs +241 -0
  74. package/dist/private/conversion.cjs.map +1 -0
  75. package/dist/private/conversion.js +222 -0
  76. package/dist/private/conversion.js.map +1 -0
  77. package/dist/private/conversion.mjs +222 -0
  78. package/dist/private/conversion.mjs.map +1 -0
  79. package/dist/private/createCalendar.cjs +69 -0
  80. package/dist/{createCalendar.main.js.map → private/createCalendar.cjs.map} +1 -1
  81. package/dist/private/createCalendar.js +64 -0
  82. package/dist/{createCalendar.module.js.map → private/createCalendar.js.map} +1 -1
  83. package/dist/private/createCalendar.mjs +64 -0
  84. package/dist/private/createCalendar.mjs.map +1 -0
  85. package/dist/{manipulation.main.js → private/manipulation.cjs} +106 -109
  86. package/dist/private/manipulation.cjs.map +1 -0
  87. package/dist/{manipulation.mjs → private/manipulation.js} +88 -88
  88. package/dist/{manipulation.module.js.map → private/manipulation.js.map} +1 -1
  89. package/dist/{manipulation.module.js → private/manipulation.mjs} +93 -96
  90. package/dist/private/manipulation.mjs.map +1 -0
  91. package/dist/private/queries.cjs +359 -0
  92. package/dist/private/queries.cjs.map +1 -0
  93. package/dist/private/queries.js +326 -0
  94. package/dist/private/queries.js.map +1 -0
  95. package/dist/private/queries.mjs +324 -0
  96. package/dist/private/queries.mjs.map +1 -0
  97. package/dist/private/string.cjs +181 -0
  98. package/dist/private/string.cjs.map +1 -0
  99. package/dist/{string.mjs → private/string.js} +64 -64
  100. package/dist/{string.module.js.map → private/string.js.map} +1 -1
  101. package/dist/private/string.mjs +166 -0
  102. package/dist/private/string.mjs.map +1 -0
  103. package/dist/{utils.main.js → private/utils.cjs} +3 -3
  104. package/dist/{utils.main.js.map → private/utils.cjs.map} +1 -1
  105. package/dist/{utils.module.js → private/utils.js} +3 -3
  106. package/dist/{utils.module.js.map → private/utils.js.map} +1 -1
  107. package/dist/{utils.mjs → private/utils.mjs} +3 -3
  108. package/dist/private/utils.mjs.map +1 -0
  109. package/dist/{weekStartData.main.js → private/weekStartData.cjs} +3 -3
  110. package/dist/{weekStartData.main.js.map → private/weekStartData.cjs.map} +1 -1
  111. package/dist/{weekStartData.module.js → private/weekStartData.js} +3 -3
  112. package/dist/{weekStartData.module.js.map → private/weekStartData.js.map} +1 -1
  113. package/dist/{weekStartData.mjs → private/weekStartData.mjs} +3 -3
  114. package/dist/private/weekStartData.mjs.map +1 -0
  115. package/dist/types/src/CalendarDate.d.ts +177 -0
  116. package/dist/types/src/DateFormatter.d.ts +21 -0
  117. package/dist/types/src/calendars/BuddhistCalendar.d.ts +16 -0
  118. package/dist/types/src/calendars/EthiopicCalendar.d.ts +45 -0
  119. package/dist/types/src/calendars/GregorianCalendar.d.ts +25 -0
  120. package/dist/types/src/calendars/HebrewCalendar.d.ts +21 -0
  121. package/dist/types/src/calendars/IndianCalendar.d.ts +17 -0
  122. package/dist/types/src/calendars/IslamicCalendar.d.ts +48 -0
  123. package/dist/types/src/calendars/JapaneseCalendar.d.ts +21 -0
  124. package/dist/types/src/calendars/PersianCalendar.d.ts +19 -0
  125. package/dist/types/src/calendars/TaiwanCalendar.d.ts +19 -0
  126. package/dist/types/src/conversion.d.ts +42 -0
  127. package/dist/types/src/createCalendar.d.ts +3 -0
  128. package/dist/types/src/index.d.ts +17 -0
  129. package/dist/types/src/manipulation.d.ts +25 -0
  130. package/dist/types/src/queries.d.ts +87 -0
  131. package/dist/types/src/string.d.ts +35 -0
  132. package/dist/types/src/types.d.ts +132 -0
  133. package/dist/types/src/utils.d.ts +4 -0
  134. package/dist/types/src/weekStartData.d.ts +97 -0
  135. package/package.json +26 -11
  136. package/src/CalendarDate.ts +2 -0
  137. package/src/conversion.ts +10 -3
  138. package/src/index.ts +2 -0
  139. package/src/queries.ts +9 -3
  140. package/dist/CalendarDate.main.js.map +0 -1
  141. package/dist/CalendarDate.module.js.map +0 -1
  142. package/dist/DateFormatter.main.js.map +0 -1
  143. package/dist/IslamicCalendar.main.js +0 -168
  144. package/dist/IslamicCalendar.main.js.map +0 -1
  145. package/dist/IslamicCalendar.mjs +0 -161
  146. package/dist/IslamicCalendar.module.js +0 -161
  147. package/dist/TaiwanCalendar.module.js +0 -75
  148. package/dist/conversion.main.js +0 -236
  149. package/dist/conversion.main.js.map +0 -1
  150. package/dist/conversion.mjs +0 -218
  151. package/dist/conversion.module.js +0 -218
  152. package/dist/conversion.module.js.map +0 -1
  153. package/dist/createCalendar.main.js +0 -69
  154. package/dist/createCalendar.mjs +0 -64
  155. package/dist/createCalendar.module.js +0 -64
  156. package/dist/import.mjs +0 -45
  157. package/dist/main.js +0 -112
  158. package/dist/main.js.map +0 -1
  159. package/dist/manipulation.main.js.map +0 -1
  160. package/dist/module.js +0 -45
  161. package/dist/module.js.map +0 -1
  162. package/dist/queries.main.js +0 -354
  163. package/dist/queries.main.js.map +0 -1
  164. package/dist/queries.mjs +0 -320
  165. package/dist/queries.module.js +0 -320
  166. package/dist/queries.module.js.map +0 -1
  167. package/dist/string.main.js +0 -190
  168. package/dist/string.main.js.map +0 -1
  169. package/dist/string.module.js +0 -175
  170. package/dist/types.d.ts +0 -668
  171. package/dist/types.d.ts.map +0 -1
@@ -3,7 +3,7 @@ function $parcel$export(e, n, v, s) {
3
3
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
4
  }
5
5
 
6
- $parcel$export(module.exports, "weekStartData", () => $4d88eff242b38a9e$export$7a5acbd77d414bd9);
6
+ $parcel$export(module.exports, "weekStartData", function () { return $621d1537dc806c0f$export$7a5acbd77d414bd9; });
7
7
  /*
8
8
  * Copyright 2020 Adobe. All rights reserved.
9
9
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -16,7 +16,7 @@ $parcel$export(module.exports, "weekStartData", () => $4d88eff242b38a9e$export$7
16
16
  * governing permissions and limitations under the License.
17
17
  */ // Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json
18
18
  // Locales starting on Sunday have been removed for compression.
19
- const $4d88eff242b38a9e$export$7a5acbd77d414bd9 = {
19
+ const $621d1537dc806c0f$export$7a5acbd77d414bd9 = {
20
20
  '001': 1,
21
21
  AD: 1,
22
22
  AE: 6,
@@ -115,4 +115,4 @@ const $4d88eff242b38a9e$export$7a5acbd77d414bd9 = {
115
115
  };
116
116
 
117
117
 
118
- //# sourceMappingURL=weekStartData.main.js.map
118
+ //# sourceMappingURL=weekStartData.cjs.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;AAAA;;;;;;;;;;CAUC,GAED,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,4CAAgB;IAC3B,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;AACN","sources":["packages/@internationalized/date/src/weekStartData.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nexport const weekStartData = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n"],"names":[],"version":3,"file":"weekStartData.main.js.map"}
1
+ {"mappings":";;;;;;AAAA;;;;;;;;;;CAUC,GAED,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,4CAAgB;IAC3B,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;AACN","sources":["packages/@internationalized/date/src/weekStartData.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nexport const weekStartData = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n"],"names":[],"version":3,"file":"weekStartData.cjs.map"}
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */ // Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json
12
12
  // Locales starting on Sunday have been removed for compression.
13
- const $2fe286d2fb449abb$export$7a5acbd77d414bd9 = {
13
+ const $37d327f63ea476aa$export$7a5acbd77d414bd9 = {
14
14
  '001': 1,
15
15
  AD: 1,
16
16
  AE: 6,
@@ -109,5 +109,5 @@ const $2fe286d2fb449abb$export$7a5acbd77d414bd9 = {
109
109
  };
110
110
 
111
111
 
112
- export {$2fe286d2fb449abb$export$7a5acbd77d414bd9 as weekStartData};
113
- //# sourceMappingURL=weekStartData.module.js.map
112
+ export {$37d327f63ea476aa$export$7a5acbd77d414bd9 as weekStartData};
113
+ //# sourceMappingURL=weekStartData.js.map
@@ -1 +1 @@
1
- {"mappings":"AAAA;;;;;;;;;;CAUC,GAED,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,4CAAgB;IAC3B,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;AACN","sources":["packages/@internationalized/date/src/weekStartData.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nexport const weekStartData = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n"],"names":[],"version":3,"file":"weekStartData.module.js.map"}
1
+ {"mappings":"AAAA;;;;;;;;;;CAUC,GAED,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,4CAAgB;IAC3B,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;AACN","sources":["packages/@internationalized/date/src/weekStartData.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nexport const weekStartData = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n"],"names":[],"version":3,"file":"weekStartData.js.map"}
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */ // Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json
12
12
  // Locales starting on Sunday have been removed for compression.
13
- const $2fe286d2fb449abb$export$7a5acbd77d414bd9 = {
13
+ const $d2ca8165c9aa885a$export$7a5acbd77d414bd9 = {
14
14
  '001': 1,
15
15
  AD: 1,
16
16
  AE: 6,
@@ -109,5 +109,5 @@ const $2fe286d2fb449abb$export$7a5acbd77d414bd9 = {
109
109
  };
110
110
 
111
111
 
112
- export {$2fe286d2fb449abb$export$7a5acbd77d414bd9 as weekStartData};
113
- //# sourceMappingURL=weekStartData.module.js.map
112
+ export {$d2ca8165c9aa885a$export$7a5acbd77d414bd9 as weekStartData};
113
+ //# sourceMappingURL=weekStartData.mjs.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA;;;;;;;;;;CAUC,GAED,6FAA6F;AAC7F,gEAAgE;AACzD,MAAM,4CAAgB;IAC3B,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;AACN","sources":["packages/@internationalized/date/src/weekStartData.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n// Data from https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/weekData.json\n// Locales starting on Sunday have been removed for compression.\nexport const weekStartData = {\n '001': 1,\n AD: 1,\n AE: 6,\n AF: 6,\n AI: 1,\n AL: 1,\n AM: 1,\n AN: 1,\n AR: 1,\n AT: 1,\n AU: 1,\n AX: 1,\n AZ: 1,\n BA: 1,\n BE: 1,\n BG: 1,\n BH: 6,\n BM: 1,\n BN: 1,\n BY: 1,\n CH: 1,\n CL: 1,\n CM: 1,\n CN: 1,\n CR: 1,\n CY: 1,\n CZ: 1,\n DE: 1,\n DJ: 6,\n DK: 1,\n DZ: 6,\n EC: 1,\n EE: 1,\n EG: 6,\n ES: 1,\n FI: 1,\n FJ: 1,\n FO: 1,\n FR: 1,\n GB: 1,\n GE: 1,\n GF: 1,\n GP: 1,\n GR: 1,\n HR: 1,\n HU: 1,\n IE: 1,\n IQ: 6,\n IR: 6,\n IS: 1,\n IT: 1,\n JO: 6,\n KG: 1,\n KW: 6,\n KZ: 1,\n LB: 1,\n LI: 1,\n LK: 1,\n LT: 1,\n LU: 1,\n LV: 1,\n LY: 6,\n MC: 1,\n MD: 1,\n ME: 1,\n MK: 1,\n MN: 1,\n MQ: 1,\n MV: 5,\n MY: 1,\n NL: 1,\n NO: 1,\n NZ: 1,\n OM: 6,\n PL: 1,\n QA: 6,\n RE: 1,\n RO: 1,\n RS: 1,\n RU: 1,\n SD: 6,\n SE: 1,\n SI: 1,\n SK: 1,\n SM: 1,\n SY: 6,\n TJ: 1,\n TM: 1,\n TR: 1,\n UA: 1,\n UY: 1,\n UZ: 1,\n VA: 1,\n VN: 1,\n XK: 1\n};\n"],"names":[],"version":3,"file":"weekStartData.mjs.map"}
@@ -0,0 +1,177 @@
1
+ import { AnyCalendarDate, AnyTime, Calendar, CycleOptions, CycleTimeOptions, DateDuration, DateField, DateFields, DateTimeDuration, Disambiguation, TimeDuration, TimeField, TimeFields } from './types';
2
+ export type DateValue = CalendarDate | CalendarDateTime | ZonedDateTime;
3
+ /** A CalendarDate represents a date without any time components in a specific calendar system. */
4
+ export declare class CalendarDate {
5
+ #private;
6
+ /** The calendar system associated with this date, e.g. Gregorian. */
7
+ readonly calendar: Calendar;
8
+ /** The calendar era for this date, e.g. "BC" or "AD". */
9
+ readonly era: string;
10
+ /** The year of this date within the era. */
11
+ readonly year: number;
12
+ /**
13
+ * The month number within the year. Note that some calendar systems such as Hebrew
14
+ * may have a variable number of months per year. Therefore, month numbers may not
15
+ * always correspond to the same month names in different years.
16
+ */
17
+ readonly month: number;
18
+ /** The day number within the month. */
19
+ readonly day: number;
20
+ constructor(year: number, month: number, day: number);
21
+ constructor(era: string, year: number, month: number, day: number);
22
+ constructor(calendar: Calendar, year: number, month: number, day: number);
23
+ constructor(calendar: Calendar, era: string, year: number, month: number, day: number);
24
+ /** Returns a copy of this date. */
25
+ copy(): CalendarDate;
26
+ /** Returns a new `CalendarDate` with the given duration added to it. */
27
+ add(duration: DateDuration): CalendarDate;
28
+ /** Returns a new `CalendarDate` with the given duration subtracted from it. */
29
+ subtract(duration: DateDuration): CalendarDate;
30
+ /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
31
+ set(fields: DateFields): CalendarDate;
32
+ /**
33
+ * Returns a new `CalendarDate` with the given field adjusted by a specified amount.
34
+ * When the resulting value reaches the limits of the field, it wraps around.
35
+ */
36
+ cycle(field: DateField, amount: number, options?: CycleOptions): CalendarDate;
37
+ /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
38
+ toDate(timeZone: string): Date;
39
+ /** Converts the date to an ISO 8601 formatted string. */
40
+ toString(): string;
41
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
42
+ compare(b: AnyCalendarDate): number;
43
+ }
44
+ /** A Time represents a clock time without any date components. */
45
+ export declare class Time {
46
+ #private;
47
+ /** The hour, numbered from 0 to 23. */
48
+ readonly hour: number;
49
+ /** The minute in the hour. */
50
+ readonly minute: number;
51
+ /** The second in the minute. */
52
+ readonly second: number;
53
+ /** The millisecond in the second. */
54
+ readonly millisecond: number;
55
+ constructor(hour?: number, minute?: number, second?: number, millisecond?: number);
56
+ /** Returns a copy of this time. */
57
+ copy(): Time;
58
+ /** Returns a new `Time` with the given duration added to it. */
59
+ add(duration: TimeDuration): Time;
60
+ /** Returns a new `Time` with the given duration subtracted from it. */
61
+ subtract(duration: TimeDuration): Time;
62
+ /** Returns a new `Time` with the given fields set to the provided values. Other fields will be constrained accordingly. */
63
+ set(fields: TimeFields): Time;
64
+ /**
65
+ * Returns a new `Time` with the given field adjusted by a specified amount.
66
+ * When the resulting value reaches the limits of the field, it wraps around.
67
+ */
68
+ cycle(field: TimeField, amount: number, options?: CycleTimeOptions): Time;
69
+ /** Converts the time to an ISO 8601 formatted string. */
70
+ toString(): string;
71
+ /** Compares this time with another. A negative result indicates that this time is before the given one, and a positive time indicates that it is after. */
72
+ compare(b: AnyTime): number;
73
+ }
74
+ /** A CalendarDateTime represents a date and time without a time zone, in a specific calendar system. */
75
+ export declare class CalendarDateTime {
76
+ #private;
77
+ /** The calendar system associated with this date, e.g. Gregorian. */
78
+ readonly calendar: Calendar;
79
+ /** The calendar era for this date, e.g. "BC" or "AD". */
80
+ readonly era: string;
81
+ /** The year of this date within the era. */
82
+ readonly year: number;
83
+ /**
84
+ * The month number within the year. Note that some calendar systems such as Hebrew
85
+ * may have a variable number of months per year. Therefore, month numbers may not
86
+ * always correspond to the same month names in different years.
87
+ */
88
+ readonly month: number;
89
+ /** The day number within the month. */
90
+ readonly day: number;
91
+ /** The hour in the day, numbered from 0 to 23. */
92
+ readonly hour: number;
93
+ /** The minute in the hour. */
94
+ readonly minute: number;
95
+ /** The second in the minute. */
96
+ readonly second: number;
97
+ /** The millisecond in the second. */
98
+ readonly millisecond: number;
99
+ constructor(year: number, month: number, day: number, hour?: number, minute?: number, second?: number, millisecond?: number);
100
+ constructor(era: string, year: number, month: number, day: number, hour?: number, minute?: number, second?: number, millisecond?: number);
101
+ constructor(calendar: Calendar, year: number, month: number, day: number, hour?: number, minute?: number, second?: number, millisecond?: number);
102
+ constructor(calendar: Calendar, era: string, year: number, month: number, day: number, hour?: number, minute?: number, second?: number, millisecond?: number);
103
+ /** Returns a copy of this date. */
104
+ copy(): CalendarDateTime;
105
+ /** Returns a new `CalendarDateTime` with the given duration added to it. */
106
+ add(duration: DateTimeDuration): CalendarDateTime;
107
+ /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
108
+ subtract(duration: DateTimeDuration): CalendarDateTime;
109
+ /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
110
+ set(fields: DateFields & TimeFields): CalendarDateTime;
111
+ /**
112
+ * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
113
+ * When the resulting value reaches the limits of the field, it wraps around.
114
+ */
115
+ cycle(field: DateField | TimeField, amount: number, options?: CycleTimeOptions): CalendarDateTime;
116
+ /** Converts the date to a native JavaScript Date object in the given time zone. */
117
+ toDate(timeZone: string, disambiguation?: Disambiguation): Date;
118
+ /** Converts the date to an ISO 8601 formatted string. */
119
+ toString(): string;
120
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
121
+ compare(b: CalendarDate | CalendarDateTime | ZonedDateTime): number;
122
+ }
123
+ /** A ZonedDateTime represents a date and time in a specific time zone and calendar system. */
124
+ export declare class ZonedDateTime {
125
+ #private;
126
+ /** The calendar system associated with this date, e.g. Gregorian. */
127
+ readonly calendar: Calendar;
128
+ /** The calendar era for this date, e.g. "BC" or "AD". */
129
+ readonly era: string;
130
+ /** The year of this date within the era. */
131
+ readonly year: number;
132
+ /**
133
+ * The month number within the year. Note that some calendar systems such as Hebrew
134
+ * may have a variable number of months per year. Therefore, month numbers may not
135
+ * always correspond to the same month names in different years.
136
+ */
137
+ readonly month: number;
138
+ /** The day number within the month. */
139
+ readonly day: number;
140
+ /** The hour in the day, numbered from 0 to 23. */
141
+ readonly hour: number;
142
+ /** The minute in the hour. */
143
+ readonly minute: number;
144
+ /** The second in the minute. */
145
+ readonly second: number;
146
+ /** The millisecond in the second. */
147
+ readonly millisecond: number;
148
+ /** The IANA time zone identifier that this date and time is represented in. */
149
+ readonly timeZone: string;
150
+ /** The UTC offset for this time, in milliseconds. */
151
+ readonly offset: number;
152
+ constructor(year: number, month: number, day: number, timeZone: string, offset: number, hour?: number, minute?: number, second?: number, millisecond?: number);
153
+ constructor(era: string, year: number, month: number, day: number, timeZone: string, offset: number, hour?: number, minute?: number, second?: number, millisecond?: number);
154
+ constructor(calendar: Calendar, year: number, month: number, day: number, timeZone: string, offset: number, hour?: number, minute?: number, second?: number, millisecond?: number);
155
+ constructor(calendar: Calendar, era: string, year: number, month: number, day: number, timeZone: string, offset: number, hour?: number, minute?: number, second?: number, millisecond?: number);
156
+ /** Returns a copy of this date. */
157
+ copy(): ZonedDateTime;
158
+ /** Returns a new `ZonedDateTime` with the given duration added to it. */
159
+ add(duration: DateTimeDuration): ZonedDateTime;
160
+ /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
161
+ subtract(duration: DateTimeDuration): ZonedDateTime;
162
+ /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
163
+ set(fields: DateFields & TimeFields, disambiguation?: Disambiguation): ZonedDateTime;
164
+ /**
165
+ * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
166
+ * When the resulting value reaches the limits of the field, it wraps around.
167
+ */
168
+ cycle(field: DateField | TimeField, amount: number, options?: CycleTimeOptions): ZonedDateTime;
169
+ /** Converts the date to a native JavaScript Date object. */
170
+ toDate(): Date;
171
+ /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
172
+ toString(): string;
173
+ /** Converts the date to an ISO 8601 formatted string in UTC. */
174
+ toAbsoluteString(): string;
175
+ /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
176
+ compare(b: CalendarDate | CalendarDateTime | ZonedDateTime): number;
177
+ }
@@ -0,0 +1,21 @@
1
+ interface DateRangeFormatPart extends Intl.DateTimeFormatPart {
2
+ source: 'startRange' | 'endRange' | 'shared';
3
+ }
4
+ /** A wrapper around Intl.DateTimeFormat that fixes various browser bugs, and polyfills new features. */
5
+ export declare class DateFormatter implements Intl.DateTimeFormat {
6
+ private formatter;
7
+ private options;
8
+ private resolvedHourCycle;
9
+ constructor(locale: string, options?: Intl.DateTimeFormatOptions);
10
+ /** Formats a date as a string according to the locale and format options passed to the constructor. */
11
+ format(value: Date): string;
12
+ /** Formats a date to an array of parts such as separators, numbers, punctuation, and more. */
13
+ formatToParts(value: Date): Intl.DateTimeFormatPart[];
14
+ /** Formats a date range as a string. */
15
+ formatRange(start: Date, end: Date): string;
16
+ /** Formats a date range as an array of parts. */
17
+ formatRangeToParts(start: Date, end: Date): DateRangeFormatPart[];
18
+ /** Returns the resolved formatting options based on the values passed to the constructor. */
19
+ resolvedOptions(): Intl.ResolvedDateTimeFormatOptions;
20
+ }
21
+ export {};
@@ -0,0 +1,16 @@
1
+ import { AnyCalendarDate, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { GregorianCalendar } from './GregorianCalendar';
4
+ /**
5
+ * The Buddhist calendar is the same as the Gregorian calendar, but counts years
6
+ * starting from the birth of Buddha in 543 BC (Gregorian). It supports only one
7
+ * era, identified as 'BE'.
8
+ */
9
+ export declare class BuddhistCalendar extends GregorianCalendar {
10
+ identifier: CalendarIdentifier;
11
+ fromJulianDay(jd: number): CalendarDate;
12
+ toJulianDay(date: AnyCalendarDate): number;
13
+ getEras(): string[];
14
+ getDaysInMonth(date: AnyCalendarDate): number;
15
+ balanceDate(): void;
16
+ }
@@ -0,0 +1,45 @@
1
+ import { AnyCalendarDate, Calendar, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { Mutable } from '../utils';
4
+ /**
5
+ * The Ethiopic calendar system is the official calendar used in Ethiopia.
6
+ * It includes 12 months of 30 days each, plus 5 or 6 intercalary days depending
7
+ * on whether it is a leap year. Two eras are supported: 'AA' and 'AM'.
8
+ */
9
+ export declare class EthiopicCalendar implements Calendar {
10
+ identifier: CalendarIdentifier;
11
+ fromJulianDay(jd: number): CalendarDate;
12
+ toJulianDay(date: AnyCalendarDate): number;
13
+ getDaysInMonth(date: AnyCalendarDate): number;
14
+ getMonthsInYear(): number;
15
+ getDaysInYear(date: AnyCalendarDate): number;
16
+ getMaximumMonthsInYear(): number;
17
+ getMaximumDaysInMonth(): number;
18
+ getYearsInEra(date: AnyCalendarDate): number;
19
+ getEras(): string[];
20
+ }
21
+ /**
22
+ * The Ethiopic (Amete Alem) calendar is the same as the modern Ethiopic calendar,
23
+ * except years were measured from a different epoch. Only one era is supported: 'AA'.
24
+ */
25
+ export declare class EthiopicAmeteAlemCalendar extends EthiopicCalendar {
26
+ identifier: CalendarIdentifier;
27
+ fromJulianDay(jd: number): CalendarDate;
28
+ getEras(): string[];
29
+ getYearsInEra(): number;
30
+ }
31
+ /**
32
+ * The Coptic calendar is similar to the Ethiopic calendar.
33
+ * It includes 12 months of 30 days each, plus 5 or 6 intercalary days depending
34
+ * on whether it is a leap year. Two eras are supported: 'BCE' and 'CE'.
35
+ */
36
+ export declare class CopticCalendar extends EthiopicCalendar {
37
+ identifier: CalendarIdentifier;
38
+ fromJulianDay(jd: number): CalendarDate;
39
+ toJulianDay(date: AnyCalendarDate): number;
40
+ getDaysInMonth(date: AnyCalendarDate): number;
41
+ isInverseEra(date: AnyCalendarDate): boolean;
42
+ balanceDate(date: Mutable<AnyCalendarDate>): void;
43
+ getEras(): string[];
44
+ getYearsInEra(date: AnyCalendarDate): number;
45
+ }
@@ -0,0 +1,25 @@
1
+ import { AnyCalendarDate, Calendar, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { Mutable } from '../utils';
4
+ export declare function gregorianToJulianDay(era: string, year: number, month: number, day: number): number;
5
+ export declare function isLeapYear(year: number): boolean;
6
+ export declare function getExtendedYear(era: string, year: number): number;
7
+ export declare function fromExtendedYear(year: number): [string, number];
8
+ /**
9
+ * The Gregorian calendar is the most commonly used calendar system in the world. It supports two eras: BC, and AD.
10
+ * Years always contain 12 months, and 365 or 366 days depending on whether it is a leap year.
11
+ */
12
+ export declare class GregorianCalendar implements Calendar {
13
+ identifier: CalendarIdentifier;
14
+ fromJulianDay(jd: number): CalendarDate;
15
+ toJulianDay(date: AnyCalendarDate): number;
16
+ getDaysInMonth(date: AnyCalendarDate): number;
17
+ getMonthsInYear(date: AnyCalendarDate): number;
18
+ getDaysInYear(date: AnyCalendarDate): number;
19
+ getMaximumMonthsInYear(): number;
20
+ getMaximumDaysInMonth(): number;
21
+ getYearsInEra(date: AnyCalendarDate): number;
22
+ getEras(): string[];
23
+ isInverseEra(date: AnyCalendarDate): boolean;
24
+ balanceDate(date: Mutable<AnyCalendarDate>): void;
25
+ }
@@ -0,0 +1,21 @@
1
+ import { AnyCalendarDate, Calendar, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { Mutable } from '../utils';
4
+ /**
5
+ * The Hebrew calendar is used in Israel and around the world by the Jewish faith.
6
+ * Years include either 12 or 13 months depending on whether it is a leap year.
7
+ * In leap years, an extra month is inserted at month 6.
8
+ */
9
+ export declare class HebrewCalendar implements Calendar {
10
+ identifier: CalendarIdentifier;
11
+ fromJulianDay(jd: number): CalendarDate;
12
+ toJulianDay(date: AnyCalendarDate): number;
13
+ getDaysInMonth(date: AnyCalendarDate): number;
14
+ getMonthsInYear(date: AnyCalendarDate): number;
15
+ getDaysInYear(date: AnyCalendarDate): number;
16
+ getMaximumMonthsInYear(): number;
17
+ getMaximumDaysInMonth(): number;
18
+ getYearsInEra(): number;
19
+ getEras(): string[];
20
+ balanceYearMonth(date: Mutable<AnyCalendarDate>, previousDate: AnyCalendarDate): void;
21
+ }
@@ -0,0 +1,17 @@
1
+ import { AnyCalendarDate, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { GregorianCalendar } from './GregorianCalendar';
4
+ /**
5
+ * The Indian National Calendar is similar to the Gregorian calendar, but with
6
+ * years numbered since the Saka era in 78 AD (Gregorian). There are 12 months
7
+ * in each year, with either 30 or 31 days. Only one era identifier is supported: 'saka'.
8
+ */
9
+ export declare class IndianCalendar extends GregorianCalendar {
10
+ identifier: CalendarIdentifier;
11
+ fromJulianDay(jd: number): CalendarDate;
12
+ toJulianDay(date: AnyCalendarDate): number;
13
+ getDaysInMonth(date: AnyCalendarDate): number;
14
+ getYearsInEra(): number;
15
+ getEras(): string[];
16
+ balanceDate(): void;
17
+ }
@@ -0,0 +1,48 @@
1
+ import { AnyCalendarDate, Calendar, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ /**
4
+ * The Islamic calendar, also known as the "Hijri" calendar, is used throughout much of the Arab world.
5
+ * The civil variant uses simple arithmetic rules rather than astronomical calculations to approximate
6
+ * the traditional calendar, which is based on sighting of the crescent moon. It uses Friday, July 16 622 CE (Julian) as the epoch.
7
+ * Each year has 12 months, with either 354 or 355 days depending on whether it is a leap year.
8
+ * Learn more about the available Islamic calendars [here](https://cldr.unicode.org/development/development-process/design-proposals/islamic-calendar-types).
9
+ */
10
+ export declare class IslamicCivilCalendar implements Calendar {
11
+ identifier: CalendarIdentifier;
12
+ fromJulianDay(jd: number): CalendarDate;
13
+ toJulianDay(date: AnyCalendarDate): number;
14
+ getDaysInMonth(date: AnyCalendarDate): number;
15
+ getMonthsInYear(): number;
16
+ getDaysInYear(date: AnyCalendarDate): number;
17
+ getMaximumMonthsInYear(): number;
18
+ getMaximumDaysInMonth(): number;
19
+ getYearsInEra(): number;
20
+ getEras(): string[];
21
+ }
22
+ /**
23
+ * The Islamic calendar, also known as the "Hijri" calendar, is used throughout much of the Arab world.
24
+ * The tabular variant uses simple arithmetic rules rather than astronomical calculations to approximate
25
+ * the traditional calendar, which is based on sighting of the crescent moon. It uses Thursday, July 15 622 CE (Julian) as the epoch.
26
+ * Each year has 12 months, with either 354 or 355 days depending on whether it is a leap year.
27
+ * Learn more about the available Islamic calendars [here](https://cldr.unicode.org/development/development-process/design-proposals/islamic-calendar-types).
28
+ */
29
+ export declare class IslamicTabularCalendar extends IslamicCivilCalendar {
30
+ identifier: CalendarIdentifier;
31
+ fromJulianDay(jd: number): CalendarDate;
32
+ toJulianDay(date: AnyCalendarDate): number;
33
+ }
34
+ /**
35
+ * The Islamic calendar, also known as the "Hijri" calendar, is used throughout much of the Arab world.
36
+ * The Umalqura variant is primarily used in Saudi Arabia. It is a lunar calendar, based on astronomical
37
+ * calculations that predict the sighting of a crescent moon. Month and year lengths vary between years
38
+ * depending on these calculations.
39
+ * Learn more about the available Islamic calendars [here](https://cldr.unicode.org/development/development-process/design-proposals/islamic-calendar-types).
40
+ */
41
+ export declare class IslamicUmalquraCalendar extends IslamicCivilCalendar {
42
+ identifier: CalendarIdentifier;
43
+ constructor();
44
+ fromJulianDay(jd: number): CalendarDate;
45
+ toJulianDay(date: AnyCalendarDate): number;
46
+ getDaysInMonth(date: AnyCalendarDate): number;
47
+ getDaysInYear(date: AnyCalendarDate): number;
48
+ }
@@ -0,0 +1,21 @@
1
+ import { AnyCalendarDate, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { GregorianCalendar } from './GregorianCalendar';
4
+ import { Mutable } from '../utils';
5
+ /**
6
+ * The Japanese calendar is based on the Gregorian calendar, but with eras for the reign of each Japanese emperor.
7
+ * Whenever a new emperor ascends to the throne, a new era begins and the year starts again from 1.
8
+ * Note that eras before 1868 (Gregorian) are not currently supported by this implementation.
9
+ */
10
+ export declare class JapaneseCalendar extends GregorianCalendar {
11
+ identifier: CalendarIdentifier;
12
+ fromJulianDay(jd: number): CalendarDate;
13
+ toJulianDay(date: AnyCalendarDate): number;
14
+ balanceDate(date: Mutable<AnyCalendarDate>): void;
15
+ constrainDate(date: Mutable<AnyCalendarDate>): void;
16
+ getEras(): string[];
17
+ getYearsInEra(date: AnyCalendarDate): number;
18
+ getDaysInMonth(date: AnyCalendarDate): number;
19
+ getMinimumMonthInYear(date: AnyCalendarDate): number;
20
+ getMinimumDayInMonth(date: AnyCalendarDate): number;
21
+ }
@@ -0,0 +1,19 @@
1
+ import { AnyCalendarDate, Calendar, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ /**
4
+ * The Persian calendar is the main calendar used in Iran and Afghanistan. It has 12 months
5
+ * in each year, the first 6 of which have 31 days, and the next 5 have 30 days. The 12th month
6
+ * has either 29 or 30 days depending on whether it is a leap year. The Persian year starts
7
+ * around the March equinox.
8
+ */
9
+ export declare class PersianCalendar implements Calendar {
10
+ identifier: CalendarIdentifier;
11
+ fromJulianDay(jd: number): CalendarDate;
12
+ toJulianDay(date: AnyCalendarDate): number;
13
+ getMonthsInYear(): number;
14
+ getDaysInMonth(date: AnyCalendarDate): number;
15
+ getMaximumMonthsInYear(): number;
16
+ getMaximumDaysInMonth(): number;
17
+ getEras(): string[];
18
+ getYearsInEra(): number;
19
+ }
@@ -0,0 +1,19 @@
1
+ import { AnyCalendarDate, CalendarIdentifier } from '../types';
2
+ import { CalendarDate } from '../CalendarDate';
3
+ import { GregorianCalendar } from './GregorianCalendar';
4
+ import { Mutable } from '../utils';
5
+ /**
6
+ * The Taiwanese calendar is the same as the Gregorian calendar, but years
7
+ * are numbered starting from 1912 (Gregorian). Two eras are supported:
8
+ * 'before_minguo' and 'minguo'.
9
+ */
10
+ export declare class TaiwanCalendar extends GregorianCalendar {
11
+ identifier: CalendarIdentifier;
12
+ fromJulianDay(jd: number): CalendarDate;
13
+ toJulianDay(date: AnyCalendarDate): number;
14
+ getEras(): string[];
15
+ balanceDate(date: Mutable<AnyCalendarDate>): void;
16
+ isInverseEra(date: AnyCalendarDate): boolean;
17
+ getDaysInMonth(date: AnyCalendarDate): number;
18
+ getYearsInEra(date: AnyCalendarDate): number;
19
+ }
@@ -0,0 +1,42 @@
1
+ import { AnyCalendarDate, AnyDateTime, AnyTime, Calendar, DateFields, Disambiguation, TimeFields } from './types';
2
+ import { CalendarDate, CalendarDateTime, Time, ZonedDateTime } from './CalendarDate';
3
+ export declare function epochFromDate(date: AnyDateTime): number;
4
+ export declare function getTimeZoneOffset(ms: number, timeZone: string): number;
5
+ export declare function possibleAbsolutes(date: CalendarDateTime, timeZone: string): number[];
6
+ export declare function toAbsolute(date: CalendarDate | CalendarDateTime, timeZone: string, disambiguation?: Disambiguation): number;
7
+ export declare function toDate(dateTime: CalendarDate | CalendarDateTime, timeZone: string, disambiguation?: Disambiguation): Date;
8
+ /**
9
+ * Takes a Unix epoch (milliseconds since 1970) and converts it to the provided time zone.
10
+ */
11
+ export declare function fromAbsolute(ms: number, timeZone: string): ZonedDateTime;
12
+ /**
13
+ * Takes a `Date` object and converts it to the provided time zone.
14
+ */
15
+ export declare function fromDate(date: Date, timeZone: string): ZonedDateTime;
16
+ /**
17
+ * Takes a `Date` object and converts it to the time zone identifier for the current user.
18
+ */
19
+ export declare function fromDateToLocal(date: Date): ZonedDateTime;
20
+ /** Converts a value with date components such as a `CalendarDateTime` or `ZonedDateTime` into a `CalendarDate`. */
21
+ export declare function toCalendarDate(dateTime: AnyCalendarDate): CalendarDate;
22
+ export declare function toDateFields(date: AnyCalendarDate): DateFields;
23
+ export declare function toTimeFields(date: AnyTime): TimeFields;
24
+ /**
25
+ * Converts a date value to a `CalendarDateTime`. An optional `Time` value can be passed to set the time
26
+ * of the resulting value, otherwise it will default to midnight.
27
+ */
28
+ export declare function toCalendarDateTime(date: CalendarDate | CalendarDateTime | ZonedDateTime, time?: AnyTime): CalendarDateTime;
29
+ /** Extracts the time components from a value containing a date and time. */
30
+ export declare function toTime(dateTime: CalendarDateTime | ZonedDateTime): Time;
31
+ /** Converts a date from one calendar system to another. */
32
+ export declare function toCalendar<T extends AnyCalendarDate>(date: T, calendar: Calendar): T;
33
+ /**
34
+ * Converts a date value to a `ZonedDateTime` in the provided time zone. The `disambiguation` option can be set
35
+ * to control how values that fall on daylight saving time changes are interpreted.
36
+ */
37
+ export declare function toZoned(date: CalendarDate | CalendarDateTime | ZonedDateTime, timeZone: string, disambiguation?: Disambiguation): ZonedDateTime;
38
+ export declare function zonedToDate(date: ZonedDateTime): Date;
39
+ /** Converts a `ZonedDateTime` from one time zone to another. */
40
+ export declare function toTimeZone(date: ZonedDateTime, timeZone: string): ZonedDateTime;
41
+ /** Converts the given `ZonedDateTime` into the user's local time zone. */
42
+ export declare function toLocalTimeZone(date: ZonedDateTime): ZonedDateTime;
@@ -0,0 +1,3 @@
1
+ import { Calendar, CalendarIdentifier } from './types';
2
+ /** Creates a `Calendar` instance from a Unicode calendar identifier string. */
3
+ export declare function createCalendar(name: CalendarIdentifier): Calendar;
@@ -0,0 +1,17 @@
1
+ export type { AnyCalendarDate, AnyTime, AnyDateTime, Calendar, CalendarIdentifier, DateDuration, TimeDuration, DateTimeDuration, DateFields, TimeFields, DateField, TimeField, Disambiguation, CycleOptions, CycleTimeOptions } from './types';
2
+ export type { DateValue } from './CalendarDate';
3
+ export { CalendarDate, CalendarDateTime, Time, ZonedDateTime } from './CalendarDate';
4
+ export { GregorianCalendar } from './calendars/GregorianCalendar';
5
+ export { JapaneseCalendar } from './calendars/JapaneseCalendar';
6
+ export { BuddhistCalendar } from './calendars/BuddhistCalendar';
7
+ export { TaiwanCalendar } from './calendars/TaiwanCalendar';
8
+ export { PersianCalendar } from './calendars/PersianCalendar';
9
+ export { IndianCalendar } from './calendars/IndianCalendar';
10
+ export { IslamicCivilCalendar, IslamicTabularCalendar, IslamicUmalquraCalendar } from './calendars/IslamicCalendar';
11
+ export { HebrewCalendar } from './calendars/HebrewCalendar';
12
+ export { EthiopicCalendar, EthiopicAmeteAlemCalendar, CopticCalendar } from './calendars/EthiopicCalendar';
13
+ export { createCalendar } from './createCalendar';
14
+ export { toCalendarDate, toCalendarDateTime, toTime, toCalendar, toZoned, toTimeZone, toLocalTimeZone, fromDate, fromDateToLocal, fromAbsolute } from './conversion';
15
+ export { isSameDay, isSameMonth, isSameYear, isEqualDay, isEqualMonth, isEqualYear, isToday, getDayOfWeek, now, today, getHoursInDay, getLocalTimeZone, setLocalTimeZone, resetLocalTimeZone, startOfMonth, startOfWeek, startOfYear, endOfMonth, endOfWeek, endOfYear, getMinimumMonthInYear, getMinimumDayInMonth, getWeeksInMonth, minDate, maxDate, isWeekend, isWeekday, isEqualCalendar } from './queries';
16
+ export { parseDate, parseDateTime, parseTime, parseAbsolute, parseAbsoluteToLocal, parseZonedDateTime, parseDuration } from './string';
17
+ export { DateFormatter } from './DateFormatter';