/vendor/golang.org/x/text/unicode/cldr/xml.go

https://gitlab.com/CORP-RESELLER/dashboard · Go · 1417 lines · 1391 code · 9 blank · 17 comment · 0 complexity · b691c7c0375c64c854e0b5ef7d4652fe MD5 · raw file

  1. // This file was generated by go generate; DO NOT EDIT
  2. package cldr
  3. // LDMLBCP47 holds information on allowable values for various variables in LDML.
  4. type LDMLBCP47 struct {
  5. Common
  6. Version *struct {
  7. Common
  8. Number string `xml:"number,attr"`
  9. } `xml:"version"`
  10. Generation *struct {
  11. Common
  12. Date string `xml:"date,attr"`
  13. } `xml:"generation"`
  14. Keyword []*struct {
  15. Common
  16. Key []*struct {
  17. Common
  18. Extension string `xml:"extension,attr"`
  19. Name string `xml:"name,attr"`
  20. Description string `xml:"description,attr"`
  21. Deprecated string `xml:"deprecated,attr"`
  22. Preferred string `xml:"preferred,attr"`
  23. Alias string `xml:"alias,attr"`
  24. Since string `xml:"since,attr"`
  25. Type []*struct {
  26. Common
  27. Name string `xml:"name,attr"`
  28. Description string `xml:"description,attr"`
  29. Deprecated string `xml:"deprecated,attr"`
  30. Preferred string `xml:"preferred,attr"`
  31. Alias string `xml:"alias,attr"`
  32. Since string `xml:"since,attr"`
  33. } `xml:"type"`
  34. } `xml:"key"`
  35. } `xml:"keyword"`
  36. Attribute []*struct {
  37. Common
  38. Name string `xml:"name,attr"`
  39. Description string `xml:"description,attr"`
  40. Deprecated string `xml:"deprecated,attr"`
  41. Preferred string `xml:"preferred,attr"`
  42. Since string `xml:"since,attr"`
  43. } `xml:"attribute"`
  44. }
  45. // SupplementalData holds information relevant for internationalization
  46. // and proper use of CLDR, but that is not contained in the locale hierarchy.
  47. type SupplementalData struct {
  48. Common
  49. Version *struct {
  50. Common
  51. Number string `xml:"number,attr"`
  52. } `xml:"version"`
  53. Generation *struct {
  54. Common
  55. Date string `xml:"date,attr"`
  56. } `xml:"generation"`
  57. CurrencyData *struct {
  58. Common
  59. Fractions []*struct {
  60. Common
  61. Info []*struct {
  62. Common
  63. Iso4217 string `xml:"iso4217,attr"`
  64. Digits string `xml:"digits,attr"`
  65. Rounding string `xml:"rounding,attr"`
  66. CashDigits string `xml:"cashDigits,attr"`
  67. CashRounding string `xml:"cashRounding,attr"`
  68. } `xml:"info"`
  69. } `xml:"fractions"`
  70. Region []*struct {
  71. Common
  72. Iso3166 string `xml:"iso3166,attr"`
  73. Currency []*struct {
  74. Common
  75. Before string `xml:"before,attr"`
  76. From string `xml:"from,attr"`
  77. To string `xml:"to,attr"`
  78. Iso4217 string `xml:"iso4217,attr"`
  79. Digits string `xml:"digits,attr"`
  80. Rounding string `xml:"rounding,attr"`
  81. CashRounding string `xml:"cashRounding,attr"`
  82. Tender string `xml:"tender,attr"`
  83. Alternate []*struct {
  84. Common
  85. Iso4217 string `xml:"iso4217,attr"`
  86. } `xml:"alternate"`
  87. } `xml:"currency"`
  88. } `xml:"region"`
  89. } `xml:"currencyData"`
  90. TerritoryContainment *struct {
  91. Common
  92. Group []*struct {
  93. Common
  94. Contains string `xml:"contains,attr"`
  95. Grouping string `xml:"grouping,attr"`
  96. Status string `xml:"status,attr"`
  97. } `xml:"group"`
  98. } `xml:"territoryContainment"`
  99. SubdivisionContainment *struct {
  100. Common
  101. Subgroup []*struct {
  102. Common
  103. Subtype string `xml:"subtype,attr"`
  104. Contains string `xml:"contains,attr"`
  105. } `xml:"subgroup"`
  106. } `xml:"subdivisionContainment"`
  107. LanguageData *struct {
  108. Common
  109. Language []*struct {
  110. Common
  111. Scripts string `xml:"scripts,attr"`
  112. Territories string `xml:"territories,attr"`
  113. Variants string `xml:"variants,attr"`
  114. } `xml:"language"`
  115. } `xml:"languageData"`
  116. TerritoryInfo *struct {
  117. Common
  118. Territory []*struct {
  119. Common
  120. Gdp string `xml:"gdp,attr"`
  121. LiteracyPercent string `xml:"literacyPercent,attr"`
  122. Population string `xml:"population,attr"`
  123. LanguagePopulation []*struct {
  124. Common
  125. WritingPercent string `xml:"writingPercent,attr"`
  126. PopulationPercent string `xml:"populationPercent,attr"`
  127. OfficialStatus string `xml:"officialStatus,attr"`
  128. } `xml:"languagePopulation"`
  129. } `xml:"territory"`
  130. } `xml:"territoryInfo"`
  131. PostalCodeData *struct {
  132. Common
  133. PostCodeRegex []*struct {
  134. Common
  135. TerritoryId string `xml:"territoryId,attr"`
  136. } `xml:"postCodeRegex"`
  137. } `xml:"postalCodeData"`
  138. CalendarData *struct {
  139. Common
  140. Calendar []*struct {
  141. Common
  142. Territories string `xml:"territories,attr"`
  143. CalendarSystem *Common `xml:"calendarSystem"`
  144. Eras *struct {
  145. Common
  146. Era []*struct {
  147. Common
  148. Start string `xml:"start,attr"`
  149. End string `xml:"end,attr"`
  150. } `xml:"era"`
  151. } `xml:"eras"`
  152. } `xml:"calendar"`
  153. } `xml:"calendarData"`
  154. CalendarPreferenceData *struct {
  155. Common
  156. CalendarPreference []*struct {
  157. Common
  158. Territories string `xml:"territories,attr"`
  159. Ordering string `xml:"ordering,attr"`
  160. } `xml:"calendarPreference"`
  161. } `xml:"calendarPreferenceData"`
  162. WeekData *struct {
  163. Common
  164. MinDays []*struct {
  165. Common
  166. Count string `xml:"count,attr"`
  167. Territories string `xml:"territories,attr"`
  168. } `xml:"minDays"`
  169. FirstDay []*struct {
  170. Common
  171. Day string `xml:"day,attr"`
  172. Territories string `xml:"territories,attr"`
  173. } `xml:"firstDay"`
  174. WeekendStart []*struct {
  175. Common
  176. Day string `xml:"day,attr"`
  177. Territories string `xml:"territories,attr"`
  178. } `xml:"weekendStart"`
  179. WeekendEnd []*struct {
  180. Common
  181. Day string `xml:"day,attr"`
  182. Territories string `xml:"territories,attr"`
  183. } `xml:"weekendEnd"`
  184. } `xml:"weekData"`
  185. TimeData *struct {
  186. Common
  187. Hours []*struct {
  188. Common
  189. Allowed string `xml:"allowed,attr"`
  190. Preferred string `xml:"preferred,attr"`
  191. Regions string `xml:"regions,attr"`
  192. } `xml:"hours"`
  193. } `xml:"timeData"`
  194. MeasurementData *struct {
  195. Common
  196. MeasurementSystem []*struct {
  197. Common
  198. Category string `xml:"category,attr"`
  199. Territories string `xml:"territories,attr"`
  200. } `xml:"measurementSystem"`
  201. PaperSize []*struct {
  202. Common
  203. Territories string `xml:"territories,attr"`
  204. } `xml:"paperSize"`
  205. } `xml:"measurementData"`
  206. TimezoneData *struct {
  207. Common
  208. MapTimezones []*struct {
  209. Common
  210. OtherVersion string `xml:"otherVersion,attr"`
  211. TypeVersion string `xml:"typeVersion,attr"`
  212. MapZone []*struct {
  213. Common
  214. Other string `xml:"other,attr"`
  215. Territory string `xml:"territory,attr"`
  216. } `xml:"mapZone"`
  217. } `xml:"mapTimezones"`
  218. ZoneFormatting []*struct {
  219. Common
  220. Multizone string `xml:"multizone,attr"`
  221. TzidVersion string `xml:"tzidVersion,attr"`
  222. ZoneItem []*struct {
  223. Common
  224. Territory string `xml:"territory,attr"`
  225. Aliases string `xml:"aliases,attr"`
  226. } `xml:"zoneItem"`
  227. } `xml:"zoneFormatting"`
  228. } `xml:"timezoneData"`
  229. Characters *struct {
  230. Common
  231. CharacterFallback []*struct {
  232. Common
  233. Character []*struct {
  234. Common
  235. Value string `xml:"value,attr"`
  236. Substitute []*Common `xml:"substitute"`
  237. } `xml:"character"`
  238. } `xml:"character-fallback"`
  239. } `xml:"characters"`
  240. Transforms *struct {
  241. Common
  242. Transform []*struct {
  243. Common
  244. Source string `xml:"source,attr"`
  245. Target string `xml:"target,attr"`
  246. Variant string `xml:"variant,attr"`
  247. Direction string `xml:"direction,attr"`
  248. Visibility string `xml:"visibility,attr"`
  249. Comment []*Common `xml:"comment"`
  250. TRule []*Common `xml:"tRule"`
  251. } `xml:"transform"`
  252. } `xml:"transforms"`
  253. Metadata *struct {
  254. Common
  255. AttributeOrder *Common `xml:"attributeOrder"`
  256. ElementOrder *Common `xml:"elementOrder"`
  257. SerialElements *Common `xml:"serialElements"`
  258. Suppress *struct {
  259. Common
  260. Attributes []*struct {
  261. Common
  262. Element string `xml:"element,attr"`
  263. Attribute string `xml:"attribute,attr"`
  264. AttributeValue string `xml:"attributeValue,attr"`
  265. } `xml:"attributes"`
  266. } `xml:"suppress"`
  267. Validity *struct {
  268. Common
  269. Variable []*struct {
  270. Common
  271. Id string `xml:"id,attr"`
  272. } `xml:"variable"`
  273. AttributeValues []*struct {
  274. Common
  275. Dtds string `xml:"dtds,attr"`
  276. Elements string `xml:"elements,attr"`
  277. Attributes string `xml:"attributes,attr"`
  278. Order string `xml:"order,attr"`
  279. } `xml:"attributeValues"`
  280. } `xml:"validity"`
  281. Alias *struct {
  282. Common
  283. LanguageAlias []*struct {
  284. Common
  285. Replacement string `xml:"replacement,attr"`
  286. Reason string `xml:"reason,attr"`
  287. } `xml:"languageAlias"`
  288. ScriptAlias []*struct {
  289. Common
  290. Replacement string `xml:"replacement,attr"`
  291. Reason string `xml:"reason,attr"`
  292. } `xml:"scriptAlias"`
  293. TerritoryAlias []*struct {
  294. Common
  295. Replacement string `xml:"replacement,attr"`
  296. Reason string `xml:"reason,attr"`
  297. } `xml:"territoryAlias"`
  298. SubdivisionAlias []*struct {
  299. Common
  300. Replacement string `xml:"replacement,attr"`
  301. Reason string `xml:"reason,attr"`
  302. } `xml:"subdivisionAlias"`
  303. VariantAlias []*struct {
  304. Common
  305. Replacement string `xml:"replacement,attr"`
  306. Reason string `xml:"reason,attr"`
  307. } `xml:"variantAlias"`
  308. ZoneAlias []*struct {
  309. Common
  310. Replacement string `xml:"replacement,attr"`
  311. Reason string `xml:"reason,attr"`
  312. } `xml:"zoneAlias"`
  313. } `xml:"alias"`
  314. Deprecated *struct {
  315. Common
  316. DeprecatedItems []*struct {
  317. Common
  318. Elements string `xml:"elements,attr"`
  319. Attributes string `xml:"attributes,attr"`
  320. Values string `xml:"values,attr"`
  321. } `xml:"deprecatedItems"`
  322. } `xml:"deprecated"`
  323. Distinguishing *struct {
  324. Common
  325. DistinguishingItems []*struct {
  326. Common
  327. Exclude string `xml:"exclude,attr"`
  328. Elements string `xml:"elements,attr"`
  329. Attributes string `xml:"attributes,attr"`
  330. } `xml:"distinguishingItems"`
  331. } `xml:"distinguishing"`
  332. Blocking *struct {
  333. Common
  334. BlockingItems []*struct {
  335. Common
  336. Elements string `xml:"elements,attr"`
  337. } `xml:"blockingItems"`
  338. } `xml:"blocking"`
  339. CoverageAdditions *struct {
  340. Common
  341. LanguageCoverage []*struct {
  342. Common
  343. Values string `xml:"values,attr"`
  344. } `xml:"languageCoverage"`
  345. ScriptCoverage []*struct {
  346. Common
  347. Values string `xml:"values,attr"`
  348. } `xml:"scriptCoverage"`
  349. TerritoryCoverage []*struct {
  350. Common
  351. Values string `xml:"values,attr"`
  352. } `xml:"territoryCoverage"`
  353. CurrencyCoverage []*struct {
  354. Common
  355. Values string `xml:"values,attr"`
  356. } `xml:"currencyCoverage"`
  357. TimezoneCoverage []*struct {
  358. Common
  359. Values string `xml:"values,attr"`
  360. } `xml:"timezoneCoverage"`
  361. } `xml:"coverageAdditions"`
  362. SkipDefaultLocale *struct {
  363. Common
  364. Services string `xml:"services,attr"`
  365. } `xml:"skipDefaultLocale"`
  366. DefaultContent *struct {
  367. Common
  368. Locales string `xml:"locales,attr"`
  369. } `xml:"defaultContent"`
  370. } `xml:"metadata"`
  371. CodeMappings *struct {
  372. Common
  373. LanguageCodes []*struct {
  374. Common
  375. Alpha3 string `xml:"alpha3,attr"`
  376. } `xml:"languageCodes"`
  377. TerritoryCodes []*struct {
  378. Common
  379. Numeric string `xml:"numeric,attr"`
  380. Alpha3 string `xml:"alpha3,attr"`
  381. Fips10 string `xml:"fips10,attr"`
  382. Internet string `xml:"internet,attr"`
  383. } `xml:"territoryCodes"`
  384. CurrencyCodes []*struct {
  385. Common
  386. Numeric string `xml:"numeric,attr"`
  387. } `xml:"currencyCodes"`
  388. } `xml:"codeMappings"`
  389. ParentLocales *struct {
  390. Common
  391. ParentLocale []*struct {
  392. Common
  393. Parent string `xml:"parent,attr"`
  394. Locales string `xml:"locales,attr"`
  395. } `xml:"parentLocale"`
  396. } `xml:"parentLocales"`
  397. LikelySubtags *struct {
  398. Common
  399. LikelySubtag []*struct {
  400. Common
  401. From string `xml:"from,attr"`
  402. To string `xml:"to,attr"`
  403. } `xml:"likelySubtag"`
  404. } `xml:"likelySubtags"`
  405. MetazoneInfo *struct {
  406. Common
  407. Timezone []*struct {
  408. Common
  409. UsesMetazone []*struct {
  410. Common
  411. From string `xml:"from,attr"`
  412. To string `xml:"to,attr"`
  413. Mzone string `xml:"mzone,attr"`
  414. } `xml:"usesMetazone"`
  415. } `xml:"timezone"`
  416. } `xml:"metazoneInfo"`
  417. Plurals []*struct {
  418. Common
  419. PluralRules []*struct {
  420. Common
  421. Locales string `xml:"locales,attr"`
  422. PluralRule []*struct {
  423. Common
  424. Count string `xml:"count,attr"`
  425. } `xml:"pluralRule"`
  426. } `xml:"pluralRules"`
  427. PluralRanges []*struct {
  428. Common
  429. Locales string `xml:"locales,attr"`
  430. PluralRange []*struct {
  431. Common
  432. Start string `xml:"start,attr"`
  433. End string `xml:"end,attr"`
  434. Result string `xml:"result,attr"`
  435. } `xml:"pluralRange"`
  436. } `xml:"pluralRanges"`
  437. } `xml:"plurals"`
  438. TelephoneCodeData *struct {
  439. Common
  440. CodesByTerritory []*struct {
  441. Common
  442. Territory string `xml:"territory,attr"`
  443. TelephoneCountryCode []*struct {
  444. Common
  445. Code string `xml:"code,attr"`
  446. From string `xml:"from,attr"`
  447. To string `xml:"to,attr"`
  448. } `xml:"telephoneCountryCode"`
  449. } `xml:"codesByTerritory"`
  450. } `xml:"telephoneCodeData"`
  451. NumberingSystems *struct {
  452. Common
  453. NumberingSystem []*struct {
  454. Common
  455. Id string `xml:"id,attr"`
  456. Radix string `xml:"radix,attr"`
  457. Digits string `xml:"digits,attr"`
  458. Rules string `xml:"rules,attr"`
  459. } `xml:"numberingSystem"`
  460. } `xml:"numberingSystems"`
  461. Bcp47KeywordMappings *struct {
  462. Common
  463. MapKeys *struct {
  464. Common
  465. KeyMap []*struct {
  466. Common
  467. Bcp47 string `xml:"bcp47,attr"`
  468. } `xml:"keyMap"`
  469. } `xml:"mapKeys"`
  470. MapTypes []*struct {
  471. Common
  472. TypeMap []*struct {
  473. Common
  474. Bcp47 string `xml:"bcp47,attr"`
  475. } `xml:"typeMap"`
  476. } `xml:"mapTypes"`
  477. } `xml:"bcp47KeywordMappings"`
  478. Gender *struct {
  479. Common
  480. PersonList []*struct {
  481. Common
  482. Locales string `xml:"locales,attr"`
  483. } `xml:"personList"`
  484. } `xml:"gender"`
  485. References *struct {
  486. Common
  487. Reference []*struct {
  488. Common
  489. Uri string `xml:"uri,attr"`
  490. } `xml:"reference"`
  491. } `xml:"references"`
  492. LanguageMatching *struct {
  493. Common
  494. LanguageMatches []*struct {
  495. Common
  496. LanguageMatch []*struct {
  497. Common
  498. Desired string `xml:"desired,attr"`
  499. Oneway string `xml:"oneway,attr"`
  500. Percent string `xml:"percent,attr"`
  501. Supported string `xml:"supported,attr"`
  502. } `xml:"languageMatch"`
  503. } `xml:"languageMatches"`
  504. } `xml:"languageMatching"`
  505. DayPeriodRuleSet []*struct {
  506. Common
  507. DayPeriodRules []*struct {
  508. Common
  509. Locales string `xml:"locales,attr"`
  510. DayPeriodRule []*struct {
  511. Common
  512. At string `xml:"at,attr"`
  513. After string `xml:"after,attr"`
  514. Before string `xml:"before,attr"`
  515. From string `xml:"from,attr"`
  516. To string `xml:"to,attr"`
  517. } `xml:"dayPeriodRule"`
  518. } `xml:"dayPeriodRules"`
  519. } `xml:"dayPeriodRuleSet"`
  520. MetaZones *struct {
  521. Common
  522. MetazoneInfo *struct {
  523. Common
  524. Timezone []*struct {
  525. Common
  526. UsesMetazone []*struct {
  527. Common
  528. From string `xml:"from,attr"`
  529. To string `xml:"to,attr"`
  530. Mzone string `xml:"mzone,attr"`
  531. } `xml:"usesMetazone"`
  532. } `xml:"timezone"`
  533. } `xml:"metazoneInfo"`
  534. MapTimezones *struct {
  535. Common
  536. OtherVersion string `xml:"otherVersion,attr"`
  537. TypeVersion string `xml:"typeVersion,attr"`
  538. MapZone []*struct {
  539. Common
  540. Other string `xml:"other,attr"`
  541. Territory string `xml:"territory,attr"`
  542. } `xml:"mapZone"`
  543. } `xml:"mapTimezones"`
  544. } `xml:"metaZones"`
  545. PrimaryZones *struct {
  546. Common
  547. PrimaryZone []*struct {
  548. Common
  549. Iso3166 string `xml:"iso3166,attr"`
  550. } `xml:"primaryZone"`
  551. } `xml:"primaryZones"`
  552. WindowsZones *struct {
  553. Common
  554. MapTimezones *struct {
  555. Common
  556. OtherVersion string `xml:"otherVersion,attr"`
  557. TypeVersion string `xml:"typeVersion,attr"`
  558. MapZone []*struct {
  559. Common
  560. Other string `xml:"other,attr"`
  561. Territory string `xml:"territory,attr"`
  562. } `xml:"mapZone"`
  563. } `xml:"mapTimezones"`
  564. } `xml:"windowsZones"`
  565. CoverageLevels *struct {
  566. Common
  567. ApprovalRequirements *struct {
  568. Common
  569. ApprovalRequirement []*struct {
  570. Common
  571. Votes string `xml:"votes,attr"`
  572. Locales string `xml:"locales,attr"`
  573. Paths string `xml:"paths,attr"`
  574. } `xml:"approvalRequirement"`
  575. } `xml:"approvalRequirements"`
  576. CoverageVariable []*struct {
  577. Common
  578. Key string `xml:"key,attr"`
  579. Value string `xml:"value,attr"`
  580. } `xml:"coverageVariable"`
  581. CoverageLevel []*struct {
  582. Common
  583. InLanguage string `xml:"inLanguage,attr"`
  584. InScript string `xml:"inScript,attr"`
  585. InTerritory string `xml:"inTerritory,attr"`
  586. Value string `xml:"value,attr"`
  587. Match string `xml:"match,attr"`
  588. } `xml:"coverageLevel"`
  589. } `xml:"coverageLevels"`
  590. IdValidity *struct {
  591. Common
  592. Id []*struct {
  593. Common
  594. IdStatus string `xml:"idStatus,attr"`
  595. } `xml:"id"`
  596. } `xml:"idValidity"`
  597. }
  598. // LDML is the top-level type for locale-specific data.
  599. type LDML struct {
  600. Common
  601. Version string `xml:"version,attr"`
  602. Identity *struct {
  603. Common
  604. Version *struct {
  605. Common
  606. Number string `xml:"number,attr"`
  607. } `xml:"version"`
  608. Generation *struct {
  609. Common
  610. Date string `xml:"date,attr"`
  611. } `xml:"generation"`
  612. Language *Common `xml:"language"`
  613. Script *Common `xml:"script"`
  614. Territory *Common `xml:"territory"`
  615. Variant *Common `xml:"variant"`
  616. } `xml:"identity"`
  617. LocaleDisplayNames *LocaleDisplayNames `xml:"localeDisplayNames"`
  618. Layout *struct {
  619. Common
  620. Orientation []*struct {
  621. Common
  622. Characters string `xml:"characters,attr"`
  623. Lines string `xml:"lines,attr"`
  624. CharacterOrder []*Common `xml:"characterOrder"`
  625. LineOrder []*Common `xml:"lineOrder"`
  626. } `xml:"orientation"`
  627. InList []*struct {
  628. Common
  629. Casing string `xml:"casing,attr"`
  630. } `xml:"inList"`
  631. InText []*Common `xml:"inText"`
  632. } `xml:"layout"`
  633. ContextTransforms *struct {
  634. Common
  635. ContextTransformUsage []*struct {
  636. Common
  637. ContextTransform []*Common `xml:"contextTransform"`
  638. } `xml:"contextTransformUsage"`
  639. } `xml:"contextTransforms"`
  640. Characters *struct {
  641. Common
  642. ExemplarCharacters []*Common `xml:"exemplarCharacters"`
  643. Ellipsis []*Common `xml:"ellipsis"`
  644. MoreInformation []*Common `xml:"moreInformation"`
  645. Stopwords []*struct {
  646. Common
  647. StopwordList []*Common `xml:"stopwordList"`
  648. } `xml:"stopwords"`
  649. IndexLabels []*struct {
  650. Common
  651. IndexSeparator []*Common `xml:"indexSeparator"`
  652. CompressedIndexSeparator []*Common `xml:"compressedIndexSeparator"`
  653. IndexRangePattern []*Common `xml:"indexRangePattern"`
  654. IndexLabelBefore []*Common `xml:"indexLabelBefore"`
  655. IndexLabelAfter []*Common `xml:"indexLabelAfter"`
  656. IndexLabel []*struct {
  657. Common
  658. IndexSource string `xml:"indexSource,attr"`
  659. Priority string `xml:"priority,attr"`
  660. } `xml:"indexLabel"`
  661. } `xml:"indexLabels"`
  662. Mapping []*struct {
  663. Common
  664. Registry string `xml:"registry,attr"`
  665. } `xml:"mapping"`
  666. } `xml:"characters"`
  667. Delimiters *struct {
  668. Common
  669. QuotationStart []*Common `xml:"quotationStart"`
  670. QuotationEnd []*Common `xml:"quotationEnd"`
  671. AlternateQuotationStart []*Common `xml:"alternateQuotationStart"`
  672. AlternateQuotationEnd []*Common `xml:"alternateQuotationEnd"`
  673. } `xml:"delimiters"`
  674. Measurement *struct {
  675. Common
  676. MeasurementSystem []*Common `xml:"measurementSystem"`
  677. PaperSize []*struct {
  678. Common
  679. Height []*Common `xml:"height"`
  680. Width []*Common `xml:"width"`
  681. } `xml:"paperSize"`
  682. } `xml:"measurement"`
  683. Dates *struct {
  684. Common
  685. LocalizedPatternChars []*Common `xml:"localizedPatternChars"`
  686. DateRangePattern []*Common `xml:"dateRangePattern"`
  687. Calendars *struct {
  688. Common
  689. Calendar []*Calendar `xml:"calendar"`
  690. } `xml:"calendars"`
  691. Fields *struct {
  692. Common
  693. Field []*struct {
  694. Common
  695. DisplayName []*struct {
  696. Common
  697. Count string `xml:"count,attr"`
  698. } `xml:"displayName"`
  699. Relative []*Common `xml:"relative"`
  700. RelativeTime []*struct {
  701. Common
  702. RelativeTimePattern []*struct {
  703. Common
  704. Count string `xml:"count,attr"`
  705. } `xml:"relativeTimePattern"`
  706. } `xml:"relativeTime"`
  707. } `xml:"field"`
  708. } `xml:"fields"`
  709. TimeZoneNames *TimeZoneNames `xml:"timeZoneNames"`
  710. } `xml:"dates"`
  711. Numbers *Numbers `xml:"numbers"`
  712. Units *struct {
  713. Common
  714. Unit []*struct {
  715. Common
  716. DisplayName []*struct {
  717. Common
  718. Count string `xml:"count,attr"`
  719. } `xml:"displayName"`
  720. UnitPattern []*struct {
  721. Common
  722. Count string `xml:"count,attr"`
  723. } `xml:"unitPattern"`
  724. PerUnitPattern []*Common `xml:"perUnitPattern"`
  725. } `xml:"unit"`
  726. UnitLength []*struct {
  727. Common
  728. CompoundUnit []*struct {
  729. Common
  730. CompoundUnitPattern []*Common `xml:"compoundUnitPattern"`
  731. } `xml:"compoundUnit"`
  732. Unit []*struct {
  733. Common
  734. DisplayName []*struct {
  735. Common
  736. Count string `xml:"count,attr"`
  737. } `xml:"displayName"`
  738. UnitPattern []*struct {
  739. Common
  740. Count string `xml:"count,attr"`
  741. } `xml:"unitPattern"`
  742. PerUnitPattern []*Common `xml:"perUnitPattern"`
  743. } `xml:"unit"`
  744. CoordinateUnit []*struct {
  745. Common
  746. CoordinateUnitPattern []*Common `xml:"coordinateUnitPattern"`
  747. } `xml:"coordinateUnit"`
  748. } `xml:"unitLength"`
  749. DurationUnit []*struct {
  750. Common
  751. DurationUnitPattern []*Common `xml:"durationUnitPattern"`
  752. } `xml:"durationUnit"`
  753. } `xml:"units"`
  754. ListPatterns *struct {
  755. Common
  756. ListPattern []*struct {
  757. Common
  758. ListPatternPart []*Common `xml:"listPatternPart"`
  759. } `xml:"listPattern"`
  760. } `xml:"listPatterns"`
  761. Collations *struct {
  762. Common
  763. Version string `xml:"version,attr"`
  764. DefaultCollation *Common `xml:"defaultCollation"`
  765. Collation []*Collation `xml:"collation"`
  766. } `xml:"collations"`
  767. Posix *struct {
  768. Common
  769. Messages []*struct {
  770. Common
  771. Yesstr []*Common `xml:"yesstr"`
  772. Nostr []*Common `xml:"nostr"`
  773. Yesexpr []*Common `xml:"yesexpr"`
  774. Noexpr []*Common `xml:"noexpr"`
  775. } `xml:"messages"`
  776. } `xml:"posix"`
  777. Segmentations *struct {
  778. Common
  779. Segmentation []*struct {
  780. Common
  781. Variables *struct {
  782. Common
  783. Variable []*struct {
  784. Common
  785. Id string `xml:"id,attr"`
  786. } `xml:"variable"`
  787. } `xml:"variables"`
  788. SegmentRules *struct {
  789. Common
  790. Rule []*struct {
  791. Common
  792. Id string `xml:"id,attr"`
  793. } `xml:"rule"`
  794. } `xml:"segmentRules"`
  795. Exceptions *struct {
  796. Common
  797. Exception []*Common `xml:"exception"`
  798. } `xml:"exceptions"`
  799. Suppressions *struct {
  800. Common
  801. Suppression []*Common `xml:"suppression"`
  802. } `xml:"suppressions"`
  803. } `xml:"segmentation"`
  804. } `xml:"segmentations"`
  805. Rbnf *struct {
  806. Common
  807. RulesetGrouping []*struct {
  808. Common
  809. Ruleset []*struct {
  810. Common
  811. Access string `xml:"access,attr"`
  812. AllowsParsing string `xml:"allowsParsing,attr"`
  813. Rbnfrule []*struct {
  814. Common
  815. Value string `xml:"value,attr"`
  816. Radix string `xml:"radix,attr"`
  817. Decexp string `xml:"decexp,attr"`
  818. } `xml:"rbnfrule"`
  819. } `xml:"ruleset"`
  820. } `xml:"rulesetGrouping"`
  821. } `xml:"rbnf"`
  822. Annotations *struct {
  823. Common
  824. Annotation []*struct {
  825. Common
  826. Cp string `xml:"cp,attr"`
  827. Tts string `xml:"tts,attr"`
  828. } `xml:"annotation"`
  829. } `xml:"annotations"`
  830. Metadata *struct {
  831. Common
  832. CasingData *struct {
  833. Common
  834. CasingItem []*struct {
  835. Common
  836. Override string `xml:"override,attr"`
  837. ForceError string `xml:"forceError,attr"`
  838. } `xml:"casingItem"`
  839. } `xml:"casingData"`
  840. } `xml:"metadata"`
  841. References *struct {
  842. Common
  843. Reference []*struct {
  844. Common
  845. Uri string `xml:"uri,attr"`
  846. } `xml:"reference"`
  847. } `xml:"references"`
  848. }
  849. // Collation contains rules that specify a certain sort-order,
  850. // as a tailoring of the root order.
  851. // The parsed rules are obtained by passing a RuleProcessor to Collation's
  852. // Process method.
  853. type Collation struct {
  854. Common
  855. Visibility string `xml:"visibility,attr"`
  856. Base *Common `xml:"base"`
  857. Import []*struct {
  858. Common
  859. Source string `xml:"source,attr"`
  860. } `xml:"import"`
  861. Settings *struct {
  862. Common
  863. Strength string `xml:"strength,attr"`
  864. Alternate string `xml:"alternate,attr"`
  865. Backwards string `xml:"backwards,attr"`
  866. Normalization string `xml:"normalization,attr"`
  867. CaseLevel string `xml:"caseLevel,attr"`
  868. CaseFirst string `xml:"caseFirst,attr"`
  869. HiraganaQuaternary string `xml:"hiraganaQuaternary,attr"`
  870. MaxVariable string `xml:"maxVariable,attr"`
  871. Numeric string `xml:"numeric,attr"`
  872. Private string `xml:"private,attr"`
  873. VariableTop string `xml:"variableTop,attr"`
  874. Reorder string `xml:"reorder,attr"`
  875. } `xml:"settings"`
  876. SuppressContractions *Common `xml:"suppress_contractions"`
  877. Optimize *Common `xml:"optimize"`
  878. Cr []*Common `xml:"cr"`
  879. rulesElem
  880. }
  881. // Calendar specifies the fields used for formatting and parsing dates and times.
  882. // The month and quarter names are identified numerically, starting at 1.
  883. // The day (of the week) names are identified with short strings, since there is
  884. // no universally-accepted numeric designation.
  885. type Calendar struct {
  886. Common
  887. Months *struct {
  888. Common
  889. MonthContext []*struct {
  890. Common
  891. MonthWidth []*struct {
  892. Common
  893. Month []*struct {
  894. Common
  895. Yeartype string `xml:"yeartype,attr"`
  896. } `xml:"month"`
  897. } `xml:"monthWidth"`
  898. } `xml:"monthContext"`
  899. } `xml:"months"`
  900. MonthNames *struct {
  901. Common
  902. Month []*struct {
  903. Common
  904. Yeartype string `xml:"yeartype,attr"`
  905. } `xml:"month"`
  906. } `xml:"monthNames"`
  907. MonthAbbr *struct {
  908. Common
  909. Month []*struct {
  910. Common
  911. Yeartype string `xml:"yeartype,attr"`
  912. } `xml:"month"`
  913. } `xml:"monthAbbr"`
  914. MonthPatterns *struct {
  915. Common
  916. MonthPatternContext []*struct {
  917. Common
  918. MonthPatternWidth []*struct {
  919. Common
  920. MonthPattern []*Common `xml:"monthPattern"`
  921. } `xml:"monthPatternWidth"`
  922. } `xml:"monthPatternContext"`
  923. } `xml:"monthPatterns"`
  924. Days *struct {
  925. Common
  926. DayContext []*struct {
  927. Common
  928. DayWidth []*struct {
  929. Common
  930. Day []*Common `xml:"day"`
  931. } `xml:"dayWidth"`
  932. } `xml:"dayContext"`
  933. } `xml:"days"`
  934. DayNames *struct {
  935. Common
  936. Day []*Common `xml:"day"`
  937. } `xml:"dayNames"`
  938. DayAbbr *struct {
  939. Common
  940. Day []*Common `xml:"day"`
  941. } `xml:"dayAbbr"`
  942. Quarters *struct {
  943. Common
  944. QuarterContext []*struct {
  945. Common
  946. QuarterWidth []*struct {
  947. Common
  948. Quarter []*Common `xml:"quarter"`
  949. } `xml:"quarterWidth"`
  950. } `xml:"quarterContext"`
  951. } `xml:"quarters"`
  952. Week *struct {
  953. Common
  954. MinDays []*struct {
  955. Common
  956. Count string `xml:"count,attr"`
  957. } `xml:"minDays"`
  958. FirstDay []*struct {
  959. Common
  960. Day string `xml:"day,attr"`
  961. } `xml:"firstDay"`
  962. WeekendStart []*struct {
  963. Common
  964. Day string `xml:"day,attr"`
  965. Time string `xml:"time,attr"`
  966. } `xml:"weekendStart"`
  967. WeekendEnd []*struct {
  968. Common
  969. Day string `xml:"day,attr"`
  970. Time string `xml:"time,attr"`
  971. } `xml:"weekendEnd"`
  972. } `xml:"week"`
  973. Am []*Common `xml:"am"`
  974. Pm []*Common `xml:"pm"`
  975. DayPeriods *struct {
  976. Common
  977. DayPeriodContext []*struct {
  978. Common
  979. DayPeriodWidth []*struct {
  980. Common
  981. DayPeriod []*Common `xml:"dayPeriod"`
  982. } `xml:"dayPeriodWidth"`
  983. } `xml:"dayPeriodContext"`
  984. } `xml:"dayPeriods"`
  985. Eras *struct {
  986. Common
  987. EraNames *struct {
  988. Common
  989. Era []*Common `xml:"era"`
  990. } `xml:"eraNames"`
  991. EraAbbr *struct {
  992. Common
  993. Era []*Common `xml:"era"`
  994. } `xml:"eraAbbr"`
  995. EraNarrow *struct {
  996. Common
  997. Era []*Common `xml:"era"`
  998. } `xml:"eraNarrow"`
  999. } `xml:"eras"`
  1000. CyclicNameSets *struct {
  1001. Common
  1002. CyclicNameSet []*struct {
  1003. Common
  1004. CyclicNameContext []*struct {
  1005. Common
  1006. CyclicNameWidth []*struct {
  1007. Common
  1008. CyclicName []*Common `xml:"cyclicName"`
  1009. } `xml:"cyclicNameWidth"`
  1010. } `xml:"cyclicNameContext"`
  1011. } `xml:"cyclicNameSet"`
  1012. } `xml:"cyclicNameSets"`
  1013. DateFormats *struct {
  1014. Common
  1015. DateFormatLength []*struct {
  1016. Common
  1017. DateFormat []*struct {
  1018. Common
  1019. Pattern []*struct {
  1020. Common
  1021. Numbers string `xml:"numbers,attr"`
  1022. Count string `xml:"count,attr"`
  1023. } `xml:"pattern"`
  1024. DisplayName []*struct {
  1025. Common
  1026. Count string `xml:"count,attr"`
  1027. } `xml:"displayName"`
  1028. } `xml:"dateFormat"`
  1029. } `xml:"dateFormatLength"`
  1030. } `xml:"dateFormats"`
  1031. TimeFormats *struct {
  1032. Common
  1033. TimeFormatLength []*struct {
  1034. Common
  1035. TimeFormat []*struct {
  1036. Common
  1037. Pattern []*struct {
  1038. Common
  1039. Numbers string `xml:"numbers,attr"`
  1040. Count string `xml:"count,attr"`
  1041. } `xml:"pattern"`
  1042. DisplayName []*struct {
  1043. Common
  1044. Count string `xml:"count,attr"`
  1045. } `xml:"displayName"`
  1046. } `xml:"timeFormat"`
  1047. } `xml:"timeFormatLength"`
  1048. } `xml:"timeFormats"`
  1049. DateTimeFormats *struct {
  1050. Common
  1051. DateTimeFormatLength []*struct {
  1052. Common
  1053. DateTimeFormat []*struct {
  1054. Common
  1055. Pattern []*struct {
  1056. Common
  1057. Numbers string `xml:"numbers,attr"`
  1058. Count string `xml:"count,attr"`
  1059. } `xml:"pattern"`
  1060. DisplayName []*struct {
  1061. Common
  1062. Count string `xml:"count,attr"`
  1063. } `xml:"displayName"`
  1064. } `xml:"dateTimeFormat"`
  1065. } `xml:"dateTimeFormatLength"`
  1066. AvailableFormats []*struct {
  1067. Common
  1068. DateFormatItem []*struct {
  1069. Common
  1070. Id string `xml:"id,attr"`
  1071. } `xml:"dateFormatItem"`
  1072. } `xml:"availableFormats"`
  1073. AppendItems []*struct {
  1074. Common
  1075. AppendItem []*struct {
  1076. Common
  1077. Request string `xml:"request,attr"`
  1078. } `xml:"appendItem"`
  1079. } `xml:"appendItems"`
  1080. IntervalFormats []*struct {
  1081. Common
  1082. IntervalFormatFallback []*Common `xml:"intervalFormatFallback"`
  1083. IntervalFormatItem []*struct {
  1084. Common
  1085. Id string `xml:"id,attr"`
  1086. GreatestDifference []*struct {
  1087. Common
  1088. Id string `xml:"id,attr"`
  1089. } `xml:"greatestDifference"`
  1090. } `xml:"intervalFormatItem"`
  1091. } `xml:"intervalFormats"`
  1092. } `xml:"dateTimeFormats"`
  1093. Fields []*struct {
  1094. Common
  1095. Field []*struct {
  1096. Common
  1097. DisplayName []*struct {
  1098. Common
  1099. Count string `xml:"count,attr"`
  1100. } `xml:"displayName"`
  1101. Relative []*Common `xml:"relative"`
  1102. RelativeTime []*struct {
  1103. Common
  1104. RelativeTimePattern []*struct {
  1105. Common
  1106. Count string `xml:"count,attr"`
  1107. } `xml:"relativeTimePattern"`
  1108. } `xml:"relativeTime"`
  1109. } `xml:"field"`
  1110. } `xml:"fields"`
  1111. }
  1112. type TimeZoneNames struct {
  1113. Common
  1114. HourFormat []*Common `xml:"hourFormat"`
  1115. HoursFormat []*Common `xml:"hoursFormat"`
  1116. GmtFormat []*Common `xml:"gmtFormat"`
  1117. GmtZeroFormat []*Common `xml:"gmtZeroFormat"`
  1118. RegionFormat []*Common `xml:"regionFormat"`
  1119. FallbackFormat []*Common `xml:"fallbackFormat"`
  1120. FallbackRegionFormat []*Common `xml:"fallbackRegionFormat"`
  1121. AbbreviationFallback []*Common `xml:"abbreviationFallback"`
  1122. PreferenceOrdering []*Common `xml:"preferenceOrdering"`
  1123. SingleCountries []*struct {
  1124. Common
  1125. List string `xml:"list,attr"`
  1126. } `xml:"singleCountries"`
  1127. Zone []*struct {
  1128. Common
  1129. Long []*struct {
  1130. Common
  1131. Generic []*Common `xml:"generic"`
  1132. Standard []*Common `xml:"standard"`
  1133. Daylight []*Common `xml:"daylight"`
  1134. } `xml:"long"`
  1135. Short []*struct {
  1136. Common
  1137. Generic []*Common `xml:"generic"`
  1138. Standard []*Common `xml:"standard"`
  1139. Daylight []*Common `xml:"daylight"`
  1140. } `xml:"short"`
  1141. CommonlyUsed []*struct {
  1142. Common
  1143. Used string `xml:"used,attr"`
  1144. } `xml:"commonlyUsed"`
  1145. ExemplarCity []*Common `xml:"exemplarCity"`
  1146. } `xml:"zone"`
  1147. Metazone []*struct {
  1148. Common
  1149. Long []*struct {
  1150. Common
  1151. Generic []*Common `xml:"generic"`
  1152. Standard []*Common `xml:"standard"`
  1153. Daylight []*Common `xml:"daylight"`
  1154. } `xml:"long"`
  1155. Short []*struct {
  1156. Common
  1157. Generic []*Common `xml:"generic"`
  1158. Standard []*Common `xml:"standard"`
  1159. Daylight []*Common `xml:"daylight"`
  1160. } `xml:"short"`
  1161. CommonlyUsed []*struct {
  1162. Common
  1163. Used string `xml:"used,attr"`
  1164. } `xml:"commonlyUsed"`
  1165. } `xml:"metazone"`
  1166. }
  1167. // LocaleDisplayNames specifies localized display names for for scripts, languages,
  1168. // countries, currencies, and variants.
  1169. type LocaleDisplayNames struct {
  1170. Common
  1171. LocaleDisplayPattern *struct {
  1172. Common
  1173. LocalePattern []*Common `xml:"localePattern"`
  1174. LocaleSeparator []*Common `xml:"localeSeparator"`
  1175. LocaleKeyTypePattern []*Common `xml:"localeKeyTypePattern"`
  1176. } `xml:"localeDisplayPattern"`
  1177. Languages *struct {
  1178. Common
  1179. Language []*Common `xml:"language"`
  1180. } `xml:"languages"`
  1181. Scripts *struct {
  1182. Common
  1183. Script []*Common `xml:"script"`
  1184. } `xml:"scripts"`
  1185. Territories *struct {
  1186. Common
  1187. Territory []*Common `xml:"territory"`
  1188. } `xml:"territories"`
  1189. Subdivisions *struct {
  1190. Common
  1191. Subdivision []*Common `xml:"subdivision"`
  1192. } `xml:"subdivisions"`
  1193. Variants *struct {
  1194. Common
  1195. Variant []*Common `xml:"variant"`
  1196. } `xml:"variants"`
  1197. Keys *struct {
  1198. Common
  1199. Key []*Common `xml:"key"`
  1200. } `xml:"keys"`
  1201. Types *struct {
  1202. Common
  1203. Type []*struct {
  1204. Common
  1205. Key string `xml:"key,attr"`
  1206. } `xml:"type"`
  1207. } `xml:"types"`
  1208. TransformNames *struct {
  1209. Common
  1210. TransformName []*Common `xml:"transformName"`
  1211. } `xml:"transformNames"`
  1212. MeasurementSystemNames *struct {
  1213. Common
  1214. MeasurementSystemName []*Common `xml:"measurementSystemName"`
  1215. } `xml:"measurementSystemNames"`
  1216. CodePatterns *struct {
  1217. Common
  1218. CodePattern []*Common `xml:"codePattern"`
  1219. } `xml:"codePatterns"`
  1220. }
  1221. // Numbers supplies information for formatting and parsing numbers and currencies.
  1222. type Numbers struct {
  1223. Common
  1224. DefaultNumberingSystem []*Common `xml:"defaultNumberingSystem"`
  1225. OtherNumberingSystems []*struct {
  1226. Common
  1227. Native []*Common `xml:"native"`
  1228. Traditional []*Common `xml:"traditional"`
  1229. Finance []*Common `xml:"finance"`
  1230. } `xml:"otherNumberingSystems"`
  1231. MinimumGroupingDigits []*Common `xml:"minimumGroupingDigits"`
  1232. Symbols []*struct {
  1233. Common
  1234. NumberSystem string `xml:"numberSystem,attr"`
  1235. Decimal []*struct {
  1236. Common
  1237. NumberSystem string `xml:"numberSystem,attr"`
  1238. } `xml:"decimal"`
  1239. Group []*struct {
  1240. Common
  1241. NumberSystem string `xml:"numberSystem,attr"`
  1242. } `xml:"group"`
  1243. List []*struct {
  1244. Common
  1245. NumberSystem string `xml:"numberSystem,attr"`
  1246. } `xml:"list"`
  1247. PercentSign []*struct {
  1248. Common
  1249. NumberSystem string `xml:"numberSystem,attr"`
  1250. } `xml:"percentSign"`
  1251. NativeZeroDigit []*struct {
  1252. Common
  1253. NumberSystem string `xml:"numberSystem,attr"`
  1254. } `xml:"nativeZeroDigit"`
  1255. PatternDigit []*struct {
  1256. Common
  1257. NumberSystem string `xml:"numberSystem,attr"`
  1258. } `xml:"patternDigit"`
  1259. PlusSign []*struct {
  1260. Common
  1261. NumberSystem string `xml:"numberSystem,attr"`
  1262. } `xml:"plusSign"`
  1263. MinusSign []*struct {
  1264. Common
  1265. NumberSystem string `xml:"numberSystem,attr"`
  1266. } `xml:"minusSign"`
  1267. Exponential []*struct {
  1268. Common
  1269. NumberSystem string `xml:"numberSystem,attr"`
  1270. } `xml:"exponential"`
  1271. SuperscriptingExponent []*Common `xml:"superscriptingExponent"`
  1272. PerMille []*struct {
  1273. Common
  1274. NumberSystem string `xml:"numberSystem,attr"`
  1275. } `xml:"perMille"`
  1276. Infinity []*struct {
  1277. Common
  1278. NumberSystem string `xml:"numberSystem,attr"`
  1279. } `xml:"infinity"`
  1280. Nan []*struct {
  1281. Common
  1282. NumberSystem string `xml:"numberSystem,attr"`
  1283. } `xml:"nan"`
  1284. CurrencyDecimal []*struct {
  1285. Common
  1286. NumberSystem string `xml:"numberSystem,attr"`
  1287. } `xml:"currencyDecimal"`
  1288. CurrencyGroup []*struct {
  1289. Common
  1290. NumberSystem string `xml:"numberSystem,attr"`
  1291. } `xml:"currencyGroup"`
  1292. TimeSeparator []*Common `xml:"timeSeparator"`
  1293. } `xml:"symbols"`
  1294. DecimalFormats []*struct {
  1295. Common
  1296. NumberSystem string `xml:"numberSystem,attr"`
  1297. DecimalFormatLength []*struct {
  1298. Common
  1299. DecimalFormat []*struct {
  1300. Common
  1301. Pattern []*struct {
  1302. Common
  1303. Numbers string `xml:"numbers,attr"`
  1304. Count string `xml:"count,attr"`
  1305. } `xml:"pattern"`
  1306. } `xml:"decimalFormat"`
  1307. } `xml:"decimalFormatLength"`
  1308. } `xml:"decimalFormats"`
  1309. ScientificFormats []*struct {
  1310. Common
  1311. NumberSystem string `xml:"numberSystem,attr"`
  1312. ScientificFormatLength []*struct {
  1313. Common
  1314. ScientificFormat []*struct {
  1315. Common
  1316. Pattern []*struct {
  1317. Common
  1318. Numbers string `xml:"numbers,attr"`
  1319. Count string `xml:"count,attr"`
  1320. } `xml:"pattern"`
  1321. } `xml:"scientificFormat"`
  1322. } `xml:"scientificFormatLength"`
  1323. } `xml:"scientificFormats"`
  1324. PercentFormats []*struct {
  1325. Common
  1326. NumberSystem string `xml:"numberSystem,attr"`
  1327. PercentFormatLength []*struct {
  1328. Common
  1329. PercentFormat []*struct {
  1330. Common
  1331. Pattern []*struct {
  1332. Common
  1333. Numbers string `xml:"numbers,attr"`
  1334. Count string `xml:"count,attr"`
  1335. } `xml:"pattern"`
  1336. } `xml:"percentFormat"`
  1337. } `xml:"percentFormatLength"`
  1338. } `xml:"percentFormats"`
  1339. CurrencyFormats []*struct {
  1340. Common
  1341. NumberSystem string `xml:"numberSystem,attr"`
  1342. CurrencySpacing []*struct {
  1343. Common
  1344. BeforeCurrency []*struct {
  1345. Common
  1346. CurrencyMatch []*Common `xml:"currencyMatch"`
  1347. SurroundingMatch []*Common `xml:"surroundingMatch"`
  1348. InsertBetween []*Common `xml:"insertBetween"`
  1349. } `xml:"beforeCurrency"`
  1350. AfterCurrency []*struct {
  1351. Common
  1352. CurrencyMatch []*Common `xml:"currencyMatch"`
  1353. SurroundingMatch []*Common `xml:"surroundingMatch"`
  1354. InsertBetween []*Common `xml:"insertBetween"`
  1355. } `xml:"afterCurrency"`
  1356. } `xml:"currencySpacing"`
  1357. CurrencyFormatLength []*struct {
  1358. Common
  1359. CurrencyFormat []*struct {
  1360. Common
  1361. Pattern []*struct {
  1362. Common
  1363. Numbers string `xml:"numbers,attr"`
  1364. Count string `xml:"count,attr"`
  1365. } `xml:"pattern"`
  1366. } `xml:"currencyFormat"`
  1367. } `xml:"currencyFormatLength"`
  1368. UnitPattern []*struct {
  1369. Common
  1370. Count string `xml:"count,attr"`
  1371. } `xml:"unitPattern"`
  1372. } `xml:"currencyFormats"`
  1373. Currencies *struct {
  1374. Common
  1375. Currency []*struct {
  1376. Common
  1377. Pattern []*struct {
  1378. Common
  1379. Numbers string `xml:"numbers,attr"`
  1380. Count string `xml:"count,attr"`
  1381. } `xml:"pattern"`
  1382. DisplayName []*struct {
  1383. Common
  1384. Count string `xml:"count,attr"`
  1385. } `xml:"displayName"`
  1386. Symbol []*Common `xml:"symbol"`
  1387. Decimal []*struct {
  1388. Common
  1389. NumberSystem string `xml:"numberSystem,attr"`
  1390. } `xml:"decimal"`
  1391. Group []*struct {
  1392. Common
  1393. NumberSystem string `xml:"numberSystem,attr"`
  1394. } `xml:"group"`
  1395. } `xml:"currency"`
  1396. } `xml:"currencies"`
  1397. MiscPatterns []*struct {
  1398. Common
  1399. NumberSystem string `xml:"numberSystem,attr"`
  1400. Pattern []*struct {
  1401. Common
  1402. Numbers string `xml:"numbers,attr"`
  1403. Count string `xml:"count,attr"`
  1404. } `xml:"pattern"`
  1405. } `xml:"miscPatterns"`
  1406. }
  1407. // Version is the version of CLDR from which the XML definitions are generated.
  1408. const Version = "28"