@swiftbrowser/wasm-sdk-foundation 0.0.0-stage → 0.9.0

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 (368) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +366 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
  6. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
  7. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
  8. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
  9. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
  10. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
  11. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
  12. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
  13. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
  14. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
  15. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
  16. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
  17. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
  18. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
  19. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
  20. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
  21. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
  22. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
  23. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
  24. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
  25. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
  26. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
  27. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
  28. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
  29. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
  30. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
  31. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
  32. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
  33. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
  34. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
  35. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
  36. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
  37. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
  38. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
  39. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
  40. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
  41. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
  42. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
  43. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
  44. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
  45. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
  46. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
  47. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
  48. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
  49. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
  50. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
  51. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
  52. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
  53. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
  54. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
  55. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
  56. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
  57. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
  58. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
  59. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
  60. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
  61. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
  62. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
  63. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
  64. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
  65. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
  66. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
  67. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
  68. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
  69. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
  70. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
  71. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
  72. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
  73. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
  74. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
  75. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
  76. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
  77. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
  78. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
  79. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
  80. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
  81. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
  82. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
  83. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
  84. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
  85. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
  86. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
  87. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
  88. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
  89. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
  90. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
  91. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
  92. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
  93. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
  94. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
  95. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
  96. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
  97. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
  98. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
  99. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
  100. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
  101. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
  102. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
  103. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
  104. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
  105. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
  106. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
  107. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
  108. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
  109. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
  110. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
  111. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
  112. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
  113. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
  114. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
  115. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
  116. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
  117. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
  118. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
  119. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
  120. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
  121. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
  122. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
  123. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
  124. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
  125. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
  126. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
  127. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
  128. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
  129. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
  130. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
  131. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
  132. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
  133. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
  134. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
  135. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
  136. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
  137. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
  138. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
  139. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
  140. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
  141. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
  142. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
  143. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
  144. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
  145. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
  146. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
  147. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
  148. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
  149. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
  150. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
  151. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
  152. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
  153. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
  154. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
  155. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
  156. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
  157. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
  158. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
  159. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
  160. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
  161. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
  162. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
  163. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
  164. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
  165. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
  166. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
  167. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
  168. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
  169. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
  170. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
  171. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
  172. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
  173. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
  174. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
  175. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
  176. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
  177. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
  178. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
  179. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
  180. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
  181. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
  182. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
  183. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
  184. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
  185. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
  186. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
  187. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
  188. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
  189. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
  190. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
  191. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
  192. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
  193. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
  194. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
  195. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
  196. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
  197. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
  198. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
  199. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
  200. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
  201. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
  202. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
  203. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
  204. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
  205. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
  206. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
  207. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
  208. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
  209. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
  210. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
  211. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
  212. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
  213. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
  214. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
  215. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
  216. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
  217. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
  218. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
  219. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
  220. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
  221. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
  222. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
  223. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
  224. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
  225. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
  226. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
  227. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
  228. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
  229. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
  230. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
  231. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
  232. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
  233. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
  234. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
  235. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
  236. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
  237. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
  238. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
  239. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
  240. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
  241. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
  242. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
  243. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
  244. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
  245. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
  246. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
  247. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
  248. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
  249. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
  250. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
  251. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
  252. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
  253. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
  254. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
  255. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
  256. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
  257. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
  258. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
  259. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
  260. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
  261. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
  262. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
  263. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
  264. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
  265. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
  266. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
  267. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
  268. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
  269. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
  270. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
  271. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
  272. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
  273. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
  274. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
  275. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
  276. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
  277. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
  278. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
  279. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
  280. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
  281. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
  282. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
  283. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
  284. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
  285. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
  286. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
  287. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
  288. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
  289. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
  290. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
  291. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
  292. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
  293. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
  294. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
  295. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
  296. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
  297. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
  298. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
  299. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
  300. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
  301. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
  302. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
  303. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
  304. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
  305. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
  306. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
  307. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
  308. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
  309. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
  310. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
  311. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
  312. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
  313. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
  314. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
  315. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
  316. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
  317. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
  318. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
  319. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
  320. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
  321. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
  322. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
  323. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
  324. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
  325. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
  326. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
  327. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
  328. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
  329. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
  330. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
  331. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
  332. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
  333. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
  334. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
  335. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
  336. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
  337. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
  338. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
  339. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
  340. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
  341. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
  342. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
  343. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
  344. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
  345. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
  346. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
  347. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
  348. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
  349. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
  350. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
  351. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
  352. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
  353. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
  354. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
  355. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
  356. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  357. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  358. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  359. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  360. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  361. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
  362. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
  363. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
  364. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
  365. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
  366. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
  367. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
  368. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
@@ -0,0 +1,968 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ ********************************************************************************
5
+ * Copyright (C) 1997-2016, International Business Machines
6
+ * Corporation and others. All Rights Reserved.
7
+ ********************************************************************************
8
+ *
9
+ * File DATEFMT.H
10
+ *
11
+ * Modification History:
12
+ *
13
+ * Date Name Description
14
+ * 02/19/97 aliu Converted from java.
15
+ * 04/01/97 aliu Added support for centuries.
16
+ * 07/23/98 stephen JDK 1.2 sync
17
+ * 11/15/99 weiv Added support for week of year/day of week formatting
18
+ ********************************************************************************
19
+ */
20
+
21
+ #ifndef DATEFMT_H
22
+ #define DATEFMT_H
23
+
24
+ #include <_foundation_unicode/utypes.h>
25
+
26
+ #if U_SHOW_CPLUSPLUS_API
27
+
28
+ #if !UCONFIG_NO_FORMATTING
29
+
30
+ #include <_foundation_unicode/udat.h>
31
+ #include <_foundation_unicode/calendar.h>
32
+ #include <_foundation_unicode/numfmt.h>
33
+ #include <_foundation_unicode/format.h>
34
+ #include <_foundation_unicode/locid.h>
35
+ #include <_foundation_unicode/enumset.h>
36
+ #include <_foundation_unicode/udisplaycontext.h>
37
+
38
+ /**
39
+ * \file
40
+ * \brief C++ API: Abstract class for converting dates.
41
+ */
42
+
43
+ U_NAMESPACE_BEGIN
44
+
45
+ class TimeZone;
46
+ class DateTimePatternGenerator;
47
+
48
+ /**
49
+ * \cond
50
+ * Export an explicit template instantiation. (See digitlst.h, datefmt.h, and others.)
51
+ * (When building DLLs for Windows this is required.)
52
+ */
53
+ #if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN && !defined(U_IN_DOXYGEN)
54
+ template class U_I18N_API EnumSet<UDateFormatBooleanAttribute,
55
+ 0,
56
+ UDAT_BOOLEAN_ATTRIBUTE_COUNT>;
57
+ #endif
58
+ /** \endcond */
59
+
60
+ /**
61
+ * DateFormat is an abstract class for a family of classes that convert dates and
62
+ * times from their internal representations to textual form and back again in a
63
+ * language-independent manner. Converting from the internal representation (milliseconds
64
+ * since midnight, January 1, 1970) to text is known as "formatting," and converting
65
+ * from text to millis is known as "parsing." We currently define only one concrete
66
+ * subclass of DateFormat: SimpleDateFormat, which can handle pretty much all normal
67
+ * date formatting and parsing actions.
68
+ * <P>
69
+ * DateFormat helps you to format and parse dates for any locale. Your code can
70
+ * be completely independent of the locale conventions for months, days of the
71
+ * week, or even the calendar format: lunar vs. solar.
72
+ * <P>
73
+ * To format a date for the current Locale, use one of the static factory
74
+ * methods:
75
+ * <pre>
76
+ * \code
77
+ * DateFormat* dfmt = DateFormat::createDateInstance();
78
+ * UDate myDate = Calendar::getNow();
79
+ * UnicodeString myString;
80
+ * myString = dfmt->format( myDate, myString );
81
+ * \endcode
82
+ * </pre>
83
+ * If you are formatting multiple numbers, it is more efficient to get the
84
+ * format and use it multiple times so that the system doesn't have to fetch the
85
+ * information about the local language and country conventions multiple times.
86
+ * <pre>
87
+ * \code
88
+ * DateFormat* df = DateFormat::createDateInstance();
89
+ * UnicodeString myString;
90
+ * UDate myDateArr[] = { 0.0, 100000000.0, 2000000000.0 }; // test values
91
+ * for (int32_t i = 0; i < 3; ++i) {
92
+ * myString.remove();
93
+ * cout << df->format( myDateArr[i], myString ) << endl;
94
+ * }
95
+ * \endcode
96
+ * </pre>
97
+ * To get specific fields of a date, you can use UFieldPosition to
98
+ * get specific fields.
99
+ * <pre>
100
+ * \code
101
+ * DateFormat* dfmt = DateFormat::createDateInstance();
102
+ * FieldPosition pos(DateFormat::YEAR_FIELD);
103
+ * UnicodeString myString;
104
+ * myString = dfmt->format( myDate, myString );
105
+ * cout << myString << endl;
106
+ * cout << pos.getBeginIndex() << "," << pos. getEndIndex() << endl;
107
+ * \endcode
108
+ * </pre>
109
+ * To format a date for a different Locale, specify it in the call to
110
+ * createDateInstance().
111
+ * <pre>
112
+ * \code
113
+ * DateFormat* df =
114
+ * DateFormat::createDateInstance( DateFormat::SHORT, Locale::getFrance());
115
+ * \endcode
116
+ * </pre>
117
+ * You can use a DateFormat to parse also.
118
+ * <pre>
119
+ * \code
120
+ * UErrorCode status = U_ZERO_ERROR;
121
+ * UDate myDate = df->parse(myString, status);
122
+ * \endcode
123
+ * </pre>
124
+ * Use createDateInstance() to produce the normal date format for that country.
125
+ * There are other static factory methods available. Use createTimeInstance()
126
+ * to produce the normal time format for that country. Use createDateTimeInstance()
127
+ * to produce a DateFormat that formats both date and time. You can pass in
128
+ * different options to these factory methods to control the length of the
129
+ * result; from SHORT to MEDIUM to LONG to FULL. The exact result depends on the
130
+ * locale, but generally:
131
+ * <ul type=round>
132
+ * <li> SHORT is completely numeric, such as 12/13/52 or 3:30pm
133
+ * <li> MEDIUM is longer, such as Jan 12, 1952
134
+ * <li> LONG is longer, such as January 12, 1952 or 3:30:32pm
135
+ * <li> FULL is pretty completely specified, such as
136
+ * Tuesday, April 12, 1952 AD or 3:30:42pm PST.
137
+ * </ul>
138
+ * You can also set the time zone on the format if you wish. If you want even
139
+ * more control over the format or parsing, (or want to give your users more
140
+ * control), you can try casting the DateFormat you get from the factory methods
141
+ * to a SimpleDateFormat. This will work for the majority of countries; just
142
+ * remember to check getDynamicClassID() before carrying out the cast.
143
+ * <P>
144
+ * You can also use forms of the parse and format methods with ParsePosition and
145
+ * FieldPosition to allow you to
146
+ * <ul type=round>
147
+ * <li> Progressively parse through pieces of a string.
148
+ * <li> Align any particular field, or find out where it is for selection
149
+ * on the screen.
150
+ * </ul>
151
+ *
152
+ * <p><em>User subclasses are not supported.</em> While clients may write
153
+ * subclasses, such code will not necessarily work and will not be
154
+ * guaranteed to work stably from release to release.
155
+ */
156
+ class U_I18N_API DateFormat : public Format {
157
+ public:
158
+
159
+ /**
160
+ * Constants for various style patterns. These reflect the order of items in
161
+ * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns,
162
+ * the default date-time pattern, and 4 date-time patterns. Each block of 4 values
163
+ * in the resource occurs in the order full, long, medium, short.
164
+ * @stable ICU 2.4
165
+ */
166
+ enum EStyle
167
+ {
168
+ kNone = -1,
169
+
170
+ kFull = 0,
171
+ kLong = 1,
172
+ kMedium = 2,
173
+ kShort = 3,
174
+
175
+ kDateOffset = kShort + 1,
176
+ // kFull + kDateOffset = 4
177
+ // kLong + kDateOffset = 5
178
+ // kMedium + kDateOffset = 6
179
+ // kShort + kDateOffset = 7
180
+
181
+ kDateTime = 8,
182
+ // Default DateTime
183
+
184
+ kDateTimeOffset = kDateTime + 1,
185
+ // kFull + kDateTimeOffset = 9
186
+ // kLong + kDateTimeOffset = 10
187
+ // kMedium + kDateTimeOffset = 11
188
+ // kShort + kDateTimeOffset = 12
189
+
190
+ // relative dates
191
+ kRelative = (1 << 7),
192
+
193
+ kFullRelative = (kFull | kRelative),
194
+
195
+ kLongRelative = kLong | kRelative,
196
+
197
+ kMediumRelative = kMedium | kRelative,
198
+
199
+ kShortRelative = kShort | kRelative,
200
+
201
+
202
+ kDefault = kMedium,
203
+
204
+
205
+
206
+ /**
207
+ * These constants are provided for backwards compatibility only.
208
+ * Please use the C++ style constants defined above.
209
+ */
210
+ FULL = kFull,
211
+ LONG = kLong,
212
+ MEDIUM = kMedium,
213
+ SHORT = kShort,
214
+ DEFAULT = kDefault,
215
+ DATE_OFFSET = kDateOffset,
216
+ NONE = kNone,
217
+ DATE_TIME = kDateTime
218
+ };
219
+
220
+ /**
221
+ * Destructor.
222
+ * @stable ICU 2.0
223
+ */
224
+ virtual ~DateFormat();
225
+
226
+ /**
227
+ * Clones this object polymorphically.
228
+ * The caller owns the result and should delete it when done.
229
+ * @return clone, or nullptr if an error occurred
230
+ * @stable ICU 2.0
231
+ */
232
+ virtual DateFormat* clone() const override = 0;
233
+
234
+ /**
235
+ * Equality operator. Returns true if the two formats have the same behavior.
236
+ * @stable ICU 2.0
237
+ */
238
+ virtual bool operator==(const Format&) const override;
239
+
240
+
241
+ using Format::format;
242
+
243
+ /**
244
+ * Format an object to produce a string. This method handles Formattable
245
+ * objects with a UDate type. If a the Formattable object type is not a Date,
246
+ * then it returns a failing UErrorCode.
247
+ *
248
+ * @param obj The object to format. Must be a Date.
249
+ * @param appendTo Output parameter to receive result.
250
+ * Result is appended to existing contents.
251
+ * @param pos On input: an alignment field, if desired.
252
+ * On output: the offsets of the alignment field.
253
+ * @param status Output param filled with success/failure status.
254
+ * @return Reference to 'appendTo' parameter.
255
+ * @stable ICU 2.0
256
+ */
257
+ virtual UnicodeString& format(const Formattable& obj,
258
+ UnicodeString& appendTo,
259
+ FieldPosition& pos,
260
+ UErrorCode& status) const override;
261
+
262
+ /**
263
+ * Format an object to produce a string. This method handles Formattable
264
+ * objects with a UDate type. If a the Formattable object type is not a Date,
265
+ * then it returns a failing UErrorCode.
266
+ *
267
+ * @param obj The object to format. Must be a Date.
268
+ * @param appendTo Output parameter to receive result.
269
+ * Result is appended to existing contents.
270
+ * @param posIter On return, can be used to iterate over positions
271
+ * of fields generated by this format call. Field values
272
+ * are defined in UDateFormatField. Can be nullptr.
273
+ * @param status Output param filled with success/failure status.
274
+ * @return Reference to 'appendTo' parameter.
275
+ * @stable ICU 4.4
276
+ */
277
+ virtual UnicodeString& format(const Formattable& obj,
278
+ UnicodeString& appendTo,
279
+ FieldPositionIterator* posIter,
280
+ UErrorCode& status) const override;
281
+ /**
282
+ * Formats a date into a date/time string. This is an abstract method which
283
+ * concrete subclasses must implement.
284
+ * <P>
285
+ * On input, the FieldPosition parameter may have its "field" member filled with
286
+ * an enum value specifying a field. On output, the FieldPosition will be filled
287
+ * in with the text offsets for that field.
288
+ * <P> For example, given a time text
289
+ * "1996.07.10 AD at 15:08:56 PDT", if the given fieldPosition.field is
290
+ * UDAT_YEAR_FIELD, the offsets fieldPosition.beginIndex and
291
+ * statfieldPositionus.getEndIndex will be set to 0 and 4, respectively.
292
+ * <P> Notice
293
+ * that if the same time field appears more than once in a pattern, the status will
294
+ * be set for the first occurrence of that time field. For instance,
295
+ * formatting a UDate to the time string "1 PM PDT (Pacific Daylight Time)"
296
+ * using the pattern "h a z (zzzz)" and the alignment field
297
+ * DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and
298
+ * fieldPosition.getEndIndex will be set to 5 and 8, respectively, for the first
299
+ * occurrence of the timezone pattern character 'z'.
300
+ *
301
+ * @param cal Calendar set to the date and time to be formatted
302
+ * into a date/time string. When the calendar type is
303
+ * different from the internal calendar held by this
304
+ * DateFormat instance, the date and the time zone will
305
+ * be inherited from the input calendar, but other calendar
306
+ * field values will be calculated by the internal calendar.
307
+ * @param appendTo Output parameter to receive result.
308
+ * Result is appended to existing contents.
309
+ * @param fieldPosition On input: an alignment field, if desired (see examples above)
310
+ * On output: the offsets of the alignment field (see examples above)
311
+ * @return Reference to 'appendTo' parameter.
312
+ * @stable ICU 2.1
313
+ */
314
+ virtual UnicodeString& format( Calendar& cal,
315
+ UnicodeString& appendTo,
316
+ FieldPosition& fieldPosition) const = 0;
317
+
318
+ /**
319
+ * Formats a date into a date/time string. Subclasses should implement this method.
320
+ *
321
+ * @param cal Calendar set to the date and time to be formatted
322
+ * into a date/time string. When the calendar type is
323
+ * different from the internal calendar held by this
324
+ * DateFormat instance, the date and the time zone will
325
+ * be inherited from the input calendar, but other calendar
326
+ * field values will be calculated by the internal calendar.
327
+ * @param appendTo Output parameter to receive result.
328
+ * Result is appended to existing contents.
329
+ * @param posIter On return, can be used to iterate over positions
330
+ * of fields generated by this format call. Field values
331
+ * are defined in UDateFormatField. Can be nullptr.
332
+ * @param status error status.
333
+ * @return Reference to 'appendTo' parameter.
334
+ * @stable ICU 4.4
335
+ */
336
+ virtual UnicodeString& format(Calendar& cal,
337
+ UnicodeString& appendTo,
338
+ FieldPositionIterator* posIter,
339
+ UErrorCode& status) const;
340
+ /**
341
+ * Formats a UDate into a date/time string.
342
+ * <P>
343
+ * On input, the FieldPosition parameter may have its "field" member filled with
344
+ * an enum value specifying a field. On output, the FieldPosition will be filled
345
+ * in with the text offsets for that field.
346
+ * <P> For example, given a time text
347
+ * "1996.07.10 AD at 15:08:56 PDT", if the given fieldPosition.field is
348
+ * UDAT_YEAR_FIELD, the offsets fieldPosition.beginIndex and
349
+ * statfieldPositionus.getEndIndex will be set to 0 and 4, respectively.
350
+ * <P> Notice
351
+ * that if the same time field appears more than once in a pattern, the status will
352
+ * be set for the first occurrence of that time field. For instance,
353
+ * formatting a UDate to the time string "1 PM PDT (Pacific Daylight Time)"
354
+ * using the pattern "h a z (zzzz)" and the alignment field
355
+ * DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and
356
+ * fieldPosition.getEndIndex will be set to 5 and 8, respectively, for the first
357
+ * occurrence of the timezone pattern character 'z'.
358
+ *
359
+ * @param date UDate to be formatted into a date/time string.
360
+ * @param appendTo Output parameter to receive result.
361
+ * Result is appended to existing contents.
362
+ * @param fieldPosition On input: an alignment field, if desired (see examples above)
363
+ * On output: the offsets of the alignment field (see examples above)
364
+ * @return Reference to 'appendTo' parameter.
365
+ * @stable ICU 2.0
366
+ */
367
+ UnicodeString& format( UDate date,
368
+ UnicodeString& appendTo,
369
+ FieldPosition& fieldPosition) const;
370
+
371
+ /**
372
+ * Formats a UDate into a date/time string.
373
+ *
374
+ * @param date UDate to be formatted into a date/time string.
375
+ * @param appendTo Output parameter to receive result.
376
+ * Result is appended to existing contents.
377
+ * @param posIter On return, can be used to iterate over positions
378
+ * of fields generated by this format call. Field values
379
+ * are defined in UDateFormatField. Can be nullptr.
380
+ * @param status error status.
381
+ * @return Reference to 'appendTo' parameter.
382
+ * @stable ICU 4.4
383
+ */
384
+ UnicodeString& format(UDate date,
385
+ UnicodeString& appendTo,
386
+ FieldPositionIterator* posIter,
387
+ UErrorCode& status) const;
388
+ /**
389
+ * Formats a UDate into a date/time string. If there is a problem, you won't
390
+ * know, using this method. Use the overloaded format() method which takes a
391
+ * FieldPosition& to detect formatting problems.
392
+ *
393
+ * @param date The UDate value to be formatted into a string.
394
+ * @param appendTo Output parameter to receive result.
395
+ * Result is appended to existing contents.
396
+ * @return Reference to 'appendTo' parameter.
397
+ * @stable ICU 2.0
398
+ */
399
+ UnicodeString& format(UDate date, UnicodeString& appendTo) const;
400
+
401
+ /**
402
+ * Parse a date/time string. For example, a time text "07/10/96 4:5 PM, PDT"
403
+ * will be parsed into a UDate that is equivalent to Date(837039928046).
404
+ * Parsing begins at the beginning of the string and proceeds as far as
405
+ * possible. Assuming no parse errors were encountered, this function
406
+ * doesn't return any information about how much of the string was consumed
407
+ * by the parsing. If you need that information, use the version of
408
+ * parse() that takes a ParsePosition.
409
+ * <P>
410
+ * By default, parsing is lenient: If the input is not in the form used by
411
+ * this object's format method but can still be parsed as a date, then the
412
+ * parse succeeds. Clients may insist on strict adherence to the format by
413
+ * calling setLenient(false).
414
+ * @see DateFormat::setLenient(boolean)
415
+ * <P>
416
+ * Note that the normal date formats associated with some calendars - such
417
+ * as the Chinese lunar calendar - do not specify enough fields to enable
418
+ * dates to be parsed unambiguously. In the case of the Chinese lunar
419
+ * calendar, while the year within the current 60-year cycle is specified,
420
+ * the number of such cycles since the start date of the calendar (in the
421
+ * ERA field of the Calendar object) is not normally part of the format,
422
+ * and parsing may assume the wrong era. For cases such as this it is
423
+ * recommended that clients parse using the method
424
+ * parse(const UnicodeString&, Calendar& cal, ParsePosition&)
425
+ * with the Calendar passed in set to the current date, or to a date
426
+ * within the era/cycle that should be assumed if absent in the format.
427
+ *
428
+ * @param text The date/time string to be parsed into a UDate value.
429
+ * @param status Output param to be set to success/failure code. If
430
+ * 'text' cannot be parsed, it will be set to a failure
431
+ * code.
432
+ * @return The parsed UDate value, if successful.
433
+ * @stable ICU 2.0
434
+ */
435
+ virtual UDate parse( const UnicodeString& text,
436
+ UErrorCode& status) const;
437
+
438
+ /**
439
+ * Parse a date/time string beginning at the given parse position. For
440
+ * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
441
+ * that is equivalent to Date(837039928046).
442
+ * <P>
443
+ * By default, parsing is lenient: If the input is not in the form used by
444
+ * this object's format method but can still be parsed as a date, then the
445
+ * parse succeeds. Clients may insist on strict adherence to the format by
446
+ * calling setLenient(false).
447
+ * @see DateFormat::setLenient(boolean)
448
+ *
449
+ * @param text The date/time string to be parsed.
450
+ * @param cal A Calendar set on input to the date and time to be used for
451
+ * missing values in the date/time string being parsed, and set
452
+ * on output to the parsed date/time. When the calendar type is
453
+ * different from the internal calendar held by this DateFormat
454
+ * instance, the internal calendar will be cloned to a work
455
+ * calendar set to the same milliseconds and time zone as the
456
+ * cal parameter, field values will be parsed based on the work
457
+ * calendar, then the result (milliseconds and time zone) will
458
+ * be set in this calendar.
459
+ * @param pos On input, the position at which to start parsing; on
460
+ * output, the position at which parsing terminated, or the
461
+ * start position if the parse failed.
462
+ * @stable ICU 2.1
463
+ */
464
+ virtual void parse( const UnicodeString& text,
465
+ Calendar& cal,
466
+ ParsePosition& pos) const = 0;
467
+
468
+ /**
469
+ * Parse a date/time string beginning at the given parse position. For
470
+ * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
471
+ * that is equivalent to Date(837039928046).
472
+ * <P>
473
+ * By default, parsing is lenient: If the input is not in the form used by
474
+ * this object's format method but can still be parsed as a date, then the
475
+ * parse succeeds. Clients may insist on strict adherence to the format by
476
+ * calling setLenient(false).
477
+ * @see DateFormat::setLenient(boolean)
478
+ * <P>
479
+ * Note that the normal date formats associated with some calendars - such
480
+ * as the Chinese lunar calendar - do not specify enough fields to enable
481
+ * dates to be parsed unambiguously. In the case of the Chinese lunar
482
+ * calendar, while the year within the current 60-year cycle is specified,
483
+ * the number of such cycles since the start date of the calendar (in the
484
+ * ERA field of the Calendar object) is not normally part of the format,
485
+ * and parsing may assume the wrong era. For cases such as this it is
486
+ * recommended that clients parse using the method
487
+ * parse(const UnicodeString&, Calendar& cal, ParsePosition&)
488
+ * with the Calendar passed in set to the current date, or to a date
489
+ * within the era/cycle that should be assumed if absent in the format.
490
+ *
491
+ * @param text The date/time string to be parsed into a UDate value.
492
+ * @param pos On input, the position at which to start parsing; on
493
+ * output, the position at which parsing terminated, or the
494
+ * start position if the parse failed.
495
+ * @return A valid UDate if the input could be parsed.
496
+ * @stable ICU 2.0
497
+ */
498
+ UDate parse( const UnicodeString& text,
499
+ ParsePosition& pos) const;
500
+
501
+ /**
502
+ * Parse a string to produce an object. This methods handles parsing of
503
+ * date/time strings into Formattable objects with UDate types.
504
+ * <P>
505
+ * Before calling, set parse_pos.index to the offset you want to start
506
+ * parsing at in the source. After calling, parse_pos.index is the end of
507
+ * the text you parsed. If error occurs, index is unchanged.
508
+ * <P>
509
+ * When parsing, leading whitespace is discarded (with a successful parse),
510
+ * while trailing whitespace is left as is.
511
+ * <P>
512
+ * See Format::parseObject() for more.
513
+ *
514
+ * @param source The string to be parsed into an object.
515
+ * @param result Formattable to be set to the parse result.
516
+ * If parse fails, return contents are undefined.
517
+ * @param parse_pos The position to start parsing at. Upon return
518
+ * this param is set to the position after the
519
+ * last character successfully parsed. If the
520
+ * source is not parsed successfully, this param
521
+ * will remain unchanged.
522
+ * @stable ICU 2.0
523
+ */
524
+ virtual void parseObject(const UnicodeString& source,
525
+ Formattable& result,
526
+ ParsePosition& parse_pos) const override;
527
+
528
+ /**
529
+ * Create a default date/time formatter that uses the SHORT style for both
530
+ * the date and the time.
531
+ *
532
+ * @return A date/time formatter which the caller owns.
533
+ * @stable ICU 2.0
534
+ */
535
+ static DateFormat* U_EXPORT2 createInstance();
536
+
537
+ /**
538
+ * Creates a time formatter with the given formatting style for the given
539
+ * locale.
540
+ *
541
+ * @param style The given formatting style. For example,
542
+ * SHORT for "h:mm a" in the US locale. Relative
543
+ * time styles are not currently supported.
544
+ * @param aLocale The given locale.
545
+ * @return A time formatter which the caller owns.
546
+ * @stable ICU 2.0
547
+ */
548
+ static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
549
+ const Locale& aLocale = Locale::getDefault());
550
+
551
+ /**
552
+ * Creates a date formatter with the given formatting style for the given
553
+ * const locale.
554
+ *
555
+ * @param style The given formatting style. For example, SHORT for "M/d/yy" in the
556
+ * US locale. As currently implemented, relative date formatting only
557
+ * affects a limited range of calendar days before or after the
558
+ * current date, based on the CLDR &lt;field type="day"&gt;/&lt;relative&gt; data:
559
+ * For example, in English, "Yesterday", "Today", and "Tomorrow".
560
+ * Outside of this range, dates are formatted using the corresponding
561
+ * non-relative style.
562
+ * @param aLocale The given locale.
563
+ * @return A date formatter which the caller owns.
564
+ * @stable ICU 2.0
565
+ */
566
+ static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
567
+ const Locale& aLocale = Locale::getDefault());
568
+
569
+ /**
570
+ * Creates a date/time formatter with the given formatting styles for the
571
+ * given locale.
572
+ *
573
+ * @param dateStyle The given formatting style for the date portion of the result.
574
+ * For example, SHORT for "M/d/yy" in the US locale. As currently
575
+ * implemented, relative date formatting only affects a limited range
576
+ * of calendar days before or after the current date, based on the
577
+ * CLDR &lt;field type="day"&gt;/&lt;relative&gt; data: For example, in English,
578
+ * "Yesterday", "Today", and "Tomorrow". Outside of this range, dates
579
+ * are formatted using the corresponding non-relative style.
580
+ * @param timeStyle The given formatting style for the time portion of the result.
581
+ * For example, SHORT for "h:mm a" in the US locale. Relative
582
+ * time styles are not currently supported.
583
+ * @param aLocale The given locale.
584
+ * @return A date/time formatter which the caller owns.
585
+ * @stable ICU 2.0
586
+ */
587
+ static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
588
+ EStyle timeStyle = kDefault,
589
+ const Locale& aLocale = Locale::getDefault());
590
+
591
+ #ifndef U_HIDE_INTERNAL_API
592
+ /**
593
+ * Returns the best pattern given a skeleton and locale.
594
+ * @param locale the locale
595
+ * @param skeleton the skeleton
596
+ * @param status ICU error returned here
597
+ * @return the best pattern.
598
+ * @internal For ICU use only.
599
+ */
600
+ static UnicodeString getBestPattern(
601
+ const Locale &locale,
602
+ const UnicodeString &skeleton,
603
+ UErrorCode &status);
604
+ #endif /* U_HIDE_INTERNAL_API */
605
+
606
+ /**
607
+ * Creates a date/time formatter for the given skeleton and
608
+ * default locale.
609
+ *
610
+ * @param skeleton The skeleton e.g "yMMMMd." Fields in the skeleton can
611
+ * be in any order, and this method uses the locale to
612
+ * map the skeleton to a pattern that includes locale
613
+ * specific separators with the fields in the appropriate
614
+ * order for that locale.
615
+ * @param status Any error returned here.
616
+ * @return A date/time formatter which the caller owns.
617
+ * @stable ICU 55
618
+ */
619
+ static DateFormat* U_EXPORT2 createInstanceForSkeleton(
620
+ const UnicodeString& skeleton,
621
+ UErrorCode &status);
622
+
623
+ /**
624
+ * Creates a date/time formatter for the given skeleton and locale.
625
+ *
626
+ * @param skeleton The skeleton e.g "yMMMMd." Fields in the skeleton can
627
+ * be in any order, and this method uses the locale to
628
+ * map the skeleton to a pattern that includes locale
629
+ * specific separators with the fields in the appropriate
630
+ * order for that locale.
631
+ * @param locale The given locale.
632
+ * @param status Any error returned here.
633
+ * @return A date/time formatter which the caller owns.
634
+ * @stable ICU 55
635
+ */
636
+ static DateFormat* U_EXPORT2 createInstanceForSkeleton(
637
+ const UnicodeString& skeleton,
638
+ const Locale &locale,
639
+ UErrorCode &status);
640
+
641
+ /**
642
+ * Creates a date/time formatter for the given skeleton and locale.
643
+ *
644
+ * @param calendarToAdopt the calendar returned DateFormat is to use.
645
+ * @param skeleton The skeleton e.g "yMMMMd." Fields in the skeleton can
646
+ * be in any order, and this method uses the locale to
647
+ * map the skeleton to a pattern that includes locale
648
+ * specific separators with the fields in the appropriate
649
+ * order for that locale.
650
+ * @param locale The given locale.
651
+ * @param status Any error returned here.
652
+ * @return A date/time formatter which the caller owns.
653
+ * @stable ICU 55
654
+ */
655
+ static DateFormat* U_EXPORT2 createInstanceForSkeleton(
656
+ Calendar *calendarToAdopt,
657
+ const UnicodeString& skeleton,
658
+ const Locale &locale,
659
+ UErrorCode &status);
660
+
661
+
662
+ /**
663
+ * Gets the set of locales for which DateFormats are installed.
664
+ * @param count Filled in with the number of locales in the list that is returned.
665
+ * @return the set of locales for which DateFormats are installed. The caller
666
+ * does NOT own this list and must not delete it.
667
+ * @stable ICU 2.0
668
+ */
669
+ static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
670
+
671
+ /**
672
+ * Returns whether both date/time parsing in the encapsulated Calendar object and DateFormat whitespace &
673
+ * numeric processing is lenient.
674
+ * @stable ICU 2.0
675
+ */
676
+ virtual UBool isLenient() const;
677
+
678
+ /**
679
+ * Specifies whether date/time parsing is to be lenient. With
680
+ * lenient parsing, the parser may use heuristics to interpret inputs that
681
+ * do not precisely match this object's format. Without lenient parsing,
682
+ * inputs must match this object's format more closely.
683
+ *
684
+ * Note: ICU 53 introduced finer grained control of leniency (and added
685
+ * new control points) making the preferred method a combination of
686
+ * setCalendarLenient() & setBooleanAttribute() calls.
687
+ * This method supports prior functionality but may not support all
688
+ * future leniency control & behavior of DateFormat. For control of pre 53 leniency,
689
+ * Calendar and DateFormat whitespace & numeric tolerance, this method is safe to
690
+ * use. However, mixing leniency control via this method and modification of the
691
+ * newer attributes via setBooleanAttribute() may produce undesirable
692
+ * results.
693
+ *
694
+ * @param lenient True specifies date/time interpretation to be lenient.
695
+ * @see Calendar::setLenient
696
+ * @stable ICU 2.0
697
+ */
698
+ virtual void setLenient(UBool lenient);
699
+
700
+
701
+ /**
702
+ * Returns whether date/time parsing in the encapsulated Calendar object processing is lenient.
703
+ * @stable ICU 53
704
+ */
705
+ virtual UBool isCalendarLenient() const;
706
+
707
+ /**
708
+ * Specifies whether encapsulated Calendar date/time parsing is to be lenient. With
709
+ * lenient parsing, the parser may use heuristics to interpret inputs that
710
+ * do not precisely match this object's format. Without lenient parsing,
711
+ * inputs must match this object's format more closely.
712
+ * @param lenient when true, parsing is lenient
713
+ * @see com.ibm.icu.util.Calendar#setLenient
714
+ * @stable ICU 53
715
+ */
716
+ virtual void setCalendarLenient(UBool lenient);
717
+
718
+
719
+ /**
720
+ * Gets the calendar associated with this date/time formatter.
721
+ * The calendar is owned by the formatter and must not be modified.
722
+ * Also, the calendar does not reflect the results of a parse operation.
723
+ * To parse to a calendar, use {@link #parse(const UnicodeString&, Calendar& cal, ParsePosition&) const parse(const UnicodeString&, Calendar& cal, ParsePosition&)}
724
+ * @return the calendar associated with this date/time formatter.
725
+ * @stable ICU 2.0
726
+ */
727
+ virtual const Calendar* getCalendar() const;
728
+
729
+ /**
730
+ * Set the calendar to be used by this date format. Initially, the default
731
+ * calendar for the specified or default locale is used. The caller should
732
+ * not delete the Calendar object after it is adopted by this call.
733
+ * Adopting a new calendar will change to the default symbols.
734
+ *
735
+ * @param calendarToAdopt Calendar object to be adopted.
736
+ * @stable ICU 2.0
737
+ */
738
+ virtual void adoptCalendar(Calendar* calendarToAdopt);
739
+
740
+ /**
741
+ * Set the calendar to be used by this date format. Initially, the default
742
+ * calendar for the specified or default locale is used.
743
+ *
744
+ * @param newCalendar Calendar object to be set.
745
+ * @stable ICU 2.0
746
+ */
747
+ virtual void setCalendar(const Calendar& newCalendar);
748
+
749
+
750
+ /**
751
+ * Gets the number formatter which this date/time formatter uses to format
752
+ * and parse the numeric portions of the pattern.
753
+ * @return the number formatter which this date/time formatter uses.
754
+ * @stable ICU 2.0
755
+ */
756
+ virtual const NumberFormat* getNumberFormat() const;
757
+
758
+ /**
759
+ * Allows you to set the number formatter. The caller should
760
+ * not delete the NumberFormat object after it is adopted by this call.
761
+ * @param formatToAdopt NumberFormat object to be adopted.
762
+ * @stable ICU 2.0
763
+ */
764
+ virtual void adoptNumberFormat(NumberFormat* formatToAdopt);
765
+
766
+ /**
767
+ * Allows you to set the number formatter.
768
+ * @param newNumberFormat NumberFormat object to be set.
769
+ * @stable ICU 2.0
770
+ */
771
+ virtual void setNumberFormat(const NumberFormat& newNumberFormat);
772
+
773
+ /**
774
+ * Returns a reference to the TimeZone used by this DateFormat's calendar.
775
+ * @return the time zone associated with the calendar of DateFormat.
776
+ * @stable ICU 2.0
777
+ */
778
+ virtual const TimeZone& getTimeZone() const;
779
+
780
+ /**
781
+ * Sets the time zone for the calendar of this DateFormat object. The caller
782
+ * no longer owns the TimeZone object and should not delete it after this call.
783
+ * @param zoneToAdopt the TimeZone to be adopted.
784
+ * @stable ICU 2.0
785
+ */
786
+ virtual void adoptTimeZone(TimeZone* zoneToAdopt);
787
+
788
+ /**
789
+ * Sets the time zone for the calendar of this DateFormat object.
790
+ * @param zone the new time zone.
791
+ * @stable ICU 2.0
792
+ */
793
+ virtual void setTimeZone(const TimeZone& zone);
794
+
795
+ /**
796
+ * Set a particular UDisplayContext value in the formatter, such as
797
+ * UDISPCTX_CAPITALIZATION_FOR_STANDALONE.
798
+ * @param value The UDisplayContext value to set.
799
+ * @param status Input/output status. If at entry this indicates a failure
800
+ * status, the function will do nothing; otherwise this will be
801
+ * updated with any new status from the function.
802
+ * @stable ICU 53
803
+ */
804
+ virtual void setContext(UDisplayContext value, UErrorCode& status);
805
+
806
+ /**
807
+ * Get the formatter's UDisplayContext value for the specified UDisplayContextType,
808
+ * such as UDISPCTX_TYPE_CAPITALIZATION.
809
+ * @param type The UDisplayContextType whose value to return
810
+ * @param status Input/output status. If at entry this indicates a failure
811
+ * status, the function will do nothing; otherwise this will be
812
+ * updated with any new status from the function.
813
+ * @return The UDisplayContextValue for the specified type.
814
+ * @stable ICU 53
815
+ */
816
+ virtual UDisplayContext getContext(UDisplayContextType type, UErrorCode& status) const;
817
+
818
+ /**
819
+ * Sets an boolean attribute on this DateFormat.
820
+ * May return U_UNSUPPORTED_ERROR if this instance does not support
821
+ * the specified attribute.
822
+ * @param attr the attribute to set
823
+ * @param newvalue new value
824
+ * @param status the error type
825
+ * @return *this - for chaining (example: format.setAttribute(...).setAttribute(...) )
826
+ * @stable ICU 53
827
+ */
828
+
829
+ virtual DateFormat& U_EXPORT2 setBooleanAttribute(UDateFormatBooleanAttribute attr,
830
+ UBool newvalue,
831
+ UErrorCode &status);
832
+
833
+ /**
834
+ * Returns a boolean from this DateFormat
835
+ * May return U_UNSUPPORTED_ERROR if this instance does not support
836
+ * the specified attribute.
837
+ * @param attr the attribute to set
838
+ * @param status the error type
839
+ * @return the attribute value. Undefined if there is an error.
840
+ * @stable ICU 53
841
+ */
842
+ virtual UBool U_EXPORT2 getBooleanAttribute(UDateFormatBooleanAttribute attr, UErrorCode &status) const;
843
+
844
+ protected:
845
+ /**
846
+ * Default constructor. Creates a DateFormat with no Calendar or NumberFormat
847
+ * associated with it. This constructor depends on the subclasses to fill in
848
+ * the calendar and numberFormat fields.
849
+ * @stable ICU 2.0
850
+ */
851
+ DateFormat();
852
+
853
+ /**
854
+ * Copy constructor.
855
+ * @stable ICU 2.0
856
+ */
857
+ DateFormat(const DateFormat&);
858
+
859
+ /**
860
+ * Default assignment operator.
861
+ * @stable ICU 2.0
862
+ */
863
+ DateFormat& operator=(const DateFormat&);
864
+
865
+ /**
866
+ * The calendar that DateFormat uses to produce the time field values needed
867
+ * to implement date/time formatting. Subclasses should generally initialize
868
+ * this to the default calendar for the locale associated with this DateFormat.
869
+ * @stable ICU 2.4
870
+ */
871
+ Calendar* fCalendar;
872
+
873
+ /**
874
+ * The number formatter that DateFormat uses to format numbers in dates and
875
+ * times. Subclasses should generally initialize this to the default number
876
+ * format for the locale associated with this DateFormat.
877
+ * @stable ICU 2.4
878
+ */
879
+ NumberFormat* fNumberFormat;
880
+
881
+
882
+ private:
883
+
884
+ /**
885
+ * Gets the date/time formatter with the given formatting styles for the
886
+ * given locale.
887
+ * @param dateStyle the given date formatting style.
888
+ * @param timeStyle the given time formatting style.
889
+ * @param inLocale the given locale.
890
+ * @return a date/time formatter, or 0 on failure.
891
+ */
892
+ static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
893
+
894
+
895
+ /**
896
+ * enum set of active boolean attributes for this instance
897
+ */
898
+ EnumSet<UDateFormatBooleanAttribute, 0, UDAT_BOOLEAN_ATTRIBUTE_COUNT> fBoolFlags;
899
+
900
+
901
+ UDisplayContext fCapitalizationContext;
902
+ friend class DateFmtKeyByStyle;
903
+
904
+ public:
905
+ #ifndef U_HIDE_OBSOLETE_API
906
+ /**
907
+ * Field selector for FieldPosition for DateFormat fields.
908
+ * @obsolete ICU 3.4 use UDateFormatField instead, since this API will be
909
+ * removed in that release
910
+ */
911
+ enum EField
912
+ {
913
+ // Obsolete; use UDateFormatField instead
914
+ kEraField = UDAT_ERA_FIELD,
915
+ kYearField = UDAT_YEAR_FIELD,
916
+ kMonthField = UDAT_MONTH_FIELD,
917
+ kDateField = UDAT_DATE_FIELD,
918
+ kHourOfDay1Field = UDAT_HOUR_OF_DAY1_FIELD,
919
+ kHourOfDay0Field = UDAT_HOUR_OF_DAY0_FIELD,
920
+ kMinuteField = UDAT_MINUTE_FIELD,
921
+ kSecondField = UDAT_SECOND_FIELD,
922
+ kMillisecondField = UDAT_FRACTIONAL_SECOND_FIELD,
923
+ kDayOfWeekField = UDAT_DAY_OF_WEEK_FIELD,
924
+ kDayOfYearField = UDAT_DAY_OF_YEAR_FIELD,
925
+ kDayOfWeekInMonthField = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD,
926
+ kWeekOfYearField = UDAT_WEEK_OF_YEAR_FIELD,
927
+ kWeekOfMonthField = UDAT_WEEK_OF_MONTH_FIELD,
928
+ kAmPmField = UDAT_AM_PM_FIELD,
929
+ kHour1Field = UDAT_HOUR1_FIELD,
930
+ kHour0Field = UDAT_HOUR0_FIELD,
931
+ kTimezoneField = UDAT_TIMEZONE_FIELD,
932
+ kYearWOYField = UDAT_YEAR_WOY_FIELD,
933
+ kDOWLocalField = UDAT_DOW_LOCAL_FIELD,
934
+ kExtendedYearField = UDAT_EXTENDED_YEAR_FIELD,
935
+ kJulianDayField = UDAT_JULIAN_DAY_FIELD,
936
+ kMillisecondsInDayField = UDAT_MILLISECONDS_IN_DAY_FIELD,
937
+
938
+ // Obsolete; use UDateFormatField instead
939
+ ERA_FIELD = UDAT_ERA_FIELD,
940
+ YEAR_FIELD = UDAT_YEAR_FIELD,
941
+ MONTH_FIELD = UDAT_MONTH_FIELD,
942
+ DATE_FIELD = UDAT_DATE_FIELD,
943
+ HOUR_OF_DAY1_FIELD = UDAT_HOUR_OF_DAY1_FIELD,
944
+ HOUR_OF_DAY0_FIELD = UDAT_HOUR_OF_DAY0_FIELD,
945
+ MINUTE_FIELD = UDAT_MINUTE_FIELD,
946
+ SECOND_FIELD = UDAT_SECOND_FIELD,
947
+ MILLISECOND_FIELD = UDAT_FRACTIONAL_SECOND_FIELD,
948
+ DAY_OF_WEEK_FIELD = UDAT_DAY_OF_WEEK_FIELD,
949
+ DAY_OF_YEAR_FIELD = UDAT_DAY_OF_YEAR_FIELD,
950
+ DAY_OF_WEEK_IN_MONTH_FIELD = UDAT_DAY_OF_WEEK_IN_MONTH_FIELD,
951
+ WEEK_OF_YEAR_FIELD = UDAT_WEEK_OF_YEAR_FIELD,
952
+ WEEK_OF_MONTH_FIELD = UDAT_WEEK_OF_MONTH_FIELD,
953
+ AM_PM_FIELD = UDAT_AM_PM_FIELD,
954
+ HOUR1_FIELD = UDAT_HOUR1_FIELD,
955
+ HOUR0_FIELD = UDAT_HOUR0_FIELD,
956
+ TIMEZONE_FIELD = UDAT_TIMEZONE_FIELD
957
+ };
958
+ #endif /* U_HIDE_OBSOLETE_API */
959
+ };
960
+
961
+ U_NAMESPACE_END
962
+
963
+ #endif /* #if !UCONFIG_NO_FORMATTING */
964
+
965
+ #endif /* U_SHOW_CPLUSPLUS_API */
966
+
967
+ #endif // _DATEFMT
968
+ //eof