data_test.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
  2. package date
  3. var enumMap = map[string]uint16{
  4. "": 0,
  5. "calendars": 0,
  6. "fields": 1,
  7. "timeZoneNames": 2,
  8. "buddhist": 0,
  9. "chinese": 1,
  10. "coptic": 2,
  11. "dangi": 3,
  12. "ethiopic": 4,
  13. "ethiopic-amete-alem": 5,
  14. "generic": 6,
  15. "gregorian": 7,
  16. "hebrew": 8,
  17. "indian": 9,
  18. "islamic": 10,
  19. "islamic-civil": 11,
  20. "islamic-rgsa": 12,
  21. "islamic-tbla": 13,
  22. "islamic-umalqura": 14,
  23. "japanese": 15,
  24. "persian": 16,
  25. "roc": 17,
  26. "months": 0,
  27. "days": 1,
  28. "quarters": 2,
  29. "dayPeriods": 3,
  30. "eras": 4,
  31. "dateFormats": 5,
  32. "timeFormats": 6,
  33. "dateTimeFormats": 7,
  34. "monthPatterns": 8,
  35. "cyclicNameSets": 9,
  36. "format": 0,
  37. "stand-alone": 1,
  38. "numeric": 2,
  39. "widthAbbreviated": 0,
  40. "widthNarrow": 1,
  41. "widthWide": 2,
  42. "widthAll": 3,
  43. "widthShort": 4,
  44. "leap7": 0,
  45. "sun": 0,
  46. "mon": 1,
  47. "tue": 2,
  48. "wed": 3,
  49. "thu": 4,
  50. "fri": 5,
  51. "sat": 6,
  52. "am": 0,
  53. "pm": 1,
  54. "midnight": 2,
  55. "morning1": 3,
  56. "afternoon1": 4,
  57. "evening1": 5,
  58. "night1": 6,
  59. "noon": 7,
  60. "morning2": 8,
  61. "afternoon2": 9,
  62. "night2": 10,
  63. "evening2": 11,
  64. "variant": 1,
  65. "short": 0,
  66. "long": 1,
  67. "full": 2,
  68. "medium": 3,
  69. "dayPartsCycleType": 0,
  70. "daysCycleType": 1,
  71. "monthsCycleType": 2,
  72. "solarTermsCycleType": 3,
  73. "yearsCycleType": 4,
  74. "zodiacsCycleType": 5,
  75. "eraField": 0,
  76. "era-shortField": 1,
  77. "era-narrowField": 2,
  78. "yearField": 3,
  79. "year-shortField": 4,
  80. "year-narrowField": 5,
  81. "quarterField": 6,
  82. "quarter-shortField": 7,
  83. "quarter-narrowField": 8,
  84. "monthField": 9,
  85. "month-shortField": 10,
  86. "month-narrowField": 11,
  87. "weekField": 12,
  88. "week-shortField": 13,
  89. "week-narrowField": 14,
  90. "weekOfMonthField": 15,
  91. "weekOfMonth-shortField": 16,
  92. "weekOfMonth-narrowField": 17,
  93. "dayField": 18,
  94. "day-shortField": 19,
  95. "day-narrowField": 20,
  96. "dayOfYearField": 21,
  97. "dayOfYear-shortField": 22,
  98. "dayOfYear-narrowField": 23,
  99. "weekdayField": 24,
  100. "weekday-shortField": 25,
  101. "weekday-narrowField": 26,
  102. "weekdayOfMonthField": 27,
  103. "weekdayOfMonth-shortField": 28,
  104. "weekdayOfMonth-narrowField": 29,
  105. "sunField": 30,
  106. "sun-shortField": 31,
  107. "sun-narrowField": 32,
  108. "monField": 33,
  109. "mon-shortField": 34,
  110. "mon-narrowField": 35,
  111. "tueField": 36,
  112. "tue-shortField": 37,
  113. "tue-narrowField": 38,
  114. "wedField": 39,
  115. "wed-shortField": 40,
  116. "wed-narrowField": 41,
  117. "thuField": 42,
  118. "thu-shortField": 43,
  119. "thu-narrowField": 44,
  120. "friField": 45,
  121. "fri-shortField": 46,
  122. "fri-narrowField": 47,
  123. "satField": 48,
  124. "sat-shortField": 49,
  125. "sat-narrowField": 50,
  126. "dayperiod-shortField": 51,
  127. "dayperiodField": 52,
  128. "dayperiod-narrowField": 53,
  129. "hourField": 54,
  130. "hour-shortField": 55,
  131. "hour-narrowField": 56,
  132. "minuteField": 57,
  133. "minute-shortField": 58,
  134. "minute-narrowField": 59,
  135. "secondField": 60,
  136. "second-shortField": 61,
  137. "second-narrowField": 62,
  138. "zoneField": 63,
  139. "zone-shortField": 64,
  140. "zone-narrowField": 65,
  141. "displayName": 0,
  142. "relative": 1,
  143. "relativeTime": 2,
  144. "relativePeriod": 3,
  145. "before1": 0,
  146. "current": 1,
  147. "after1": 2,
  148. "before2": 3,
  149. "after2": 4,
  150. "after3": 5,
  151. "future": 0,
  152. "past": 1,
  153. "other": 0,
  154. "one": 1,
  155. "zero": 2,
  156. "two": 3,
  157. "few": 4,
  158. "many": 5,
  159. "zoneFormat": 0,
  160. "regionFormat": 1,
  161. "zone": 2,
  162. "metaZone": 3,
  163. "hourFormat": 0,
  164. "gmtFormat": 1,
  165. "gmtZeroFormat": 2,
  166. "genericTime": 0,
  167. "daylightTime": 1,
  168. "standardTime": 2,
  169. "Etc/UTC": 0,
  170. "Europe/London": 1,
  171. "Europe/Dublin": 2,
  172. "Pacific/Honolulu": 3,
  173. "Afghanistan": 0,
  174. "Africa_Central": 1,
  175. "Africa_Eastern": 2,
  176. "Africa_Southern": 3,
  177. "Africa_Western": 4,
  178. "Alaska": 5,
  179. "Amazon": 6,
  180. "America_Central": 7,
  181. "America_Eastern": 8,
  182. "America_Mountain": 9,
  183. "America_Pacific": 10,
  184. "Anadyr": 11,
  185. "Apia": 12,
  186. "Arabian": 13,
  187. "Argentina": 14,
  188. "Argentina_Western": 15,
  189. "Armenia": 16,
  190. "Atlantic": 17,
  191. "Australia_Central": 18,
  192. "Australia_CentralWestern": 19,
  193. "Australia_Eastern": 20,
  194. "Australia_Western": 21,
  195. "Azerbaijan": 22,
  196. "Azores": 23,
  197. "Bangladesh": 24,
  198. "Bhutan": 25,
  199. "Bolivia": 26,
  200. "Brasilia": 27,
  201. "Brunei": 28,
  202. "Cape_Verde": 29,
  203. "Chamorro": 30,
  204. "Chatham": 31,
  205. "Chile": 32,
  206. "China": 33,
  207. "Choibalsan": 34,
  208. "Christmas": 35,
  209. "Cocos": 36,
  210. "Colombia": 37,
  211. "Cook": 38,
  212. "Cuba": 39,
  213. "Davis": 40,
  214. "DumontDUrville": 41,
  215. "East_Timor": 42,
  216. "Easter": 43,
  217. "Ecuador": 44,
  218. "Europe_Central": 45,
  219. "Europe_Eastern": 46,
  220. "Europe_Further_Eastern": 47,
  221. "Europe_Western": 48,
  222. "Falkland": 49,
  223. "Fiji": 50,
  224. "French_Guiana": 51,
  225. "French_Southern": 52,
  226. "Galapagos": 53,
  227. "Gambier": 54,
  228. "Georgia": 55,
  229. "Gilbert_Islands": 56,
  230. "GMT": 57,
  231. "Greenland_Eastern": 58,
  232. "Greenland_Western": 59,
  233. "Gulf": 60,
  234. "Guyana": 61,
  235. "Hawaii_Aleutian": 62,
  236. "Hong_Kong": 63,
  237. "Hovd": 64,
  238. "India": 65,
  239. "Indian_Ocean": 66,
  240. "Indochina": 67,
  241. "Indonesia_Central": 68,
  242. "Indonesia_Eastern": 69,
  243. "Indonesia_Western": 70,
  244. "Iran": 71,
  245. "Irkutsk": 72,
  246. "Israel": 73,
  247. "Japan": 74,
  248. "Kamchatka": 75,
  249. "Kazakhstan_Eastern": 76,
  250. "Kazakhstan_Western": 77,
  251. "Korea": 78,
  252. "Kosrae": 79,
  253. "Krasnoyarsk": 80,
  254. "Kyrgystan": 81,
  255. "Line_Islands": 82,
  256. "Lord_Howe": 83,
  257. "Macquarie": 84,
  258. "Magadan": 85,
  259. "Malaysia": 86,
  260. "Maldives": 87,
  261. "Marquesas": 88,
  262. "Marshall_Islands": 89,
  263. "Mauritius": 90,
  264. "Mawson": 91,
  265. "Mexico_Northwest": 92,
  266. "Mexico_Pacific": 93,
  267. "Mongolia": 94,
  268. "Moscow": 95,
  269. "Myanmar": 96,
  270. "Nauru": 97,
  271. "Nepal": 98,
  272. "New_Caledonia": 99,
  273. "New_Zealand": 100,
  274. "Newfoundland": 101,
  275. "Niue": 102,
  276. "Norfolk": 103,
  277. "Noronha": 104,
  278. "Novosibirsk": 105,
  279. "Omsk": 106,
  280. "Pakistan": 107,
  281. "Palau": 108,
  282. "Papua_New_Guinea": 109,
  283. "Paraguay": 110,
  284. "Peru": 111,
  285. "Philippines": 112,
  286. "Phoenix_Islands": 113,
  287. "Pierre_Miquelon": 114,
  288. "Pitcairn": 115,
  289. "Ponape": 116,
  290. "Pyongyang": 117,
  291. "Reunion": 118,
  292. "Rothera": 119,
  293. "Sakhalin": 120,
  294. "Samara": 121,
  295. "Samoa": 122,
  296. "Seychelles": 123,
  297. "Singapore": 124,
  298. "Solomon": 125,
  299. "South_Georgia": 126,
  300. "Suriname": 127,
  301. "Syowa": 128,
  302. "Tahiti": 129,
  303. "Taipei": 130,
  304. "Tajikistan": 131,
  305. "Tokelau": 132,
  306. "Tonga": 133,
  307. "Truk": 134,
  308. "Turkmenistan": 135,
  309. "Tuvalu": 136,
  310. "Uruguay": 137,
  311. "Uzbekistan": 138,
  312. "Vanuatu": 139,
  313. "Venezuela": 140,
  314. "Vladivostok": 141,
  315. "Volgograd": 142,
  316. "Vostok": 143,
  317. "Wake": 144,
  318. "Wallis": 145,
  319. "Yakutsk": 146,
  320. "Yekaterinburg": 147,
  321. "Guam": 148,
  322. "North_Mariana": 149,
  323. "Acre": 150,
  324. "Almaty": 151,
  325. "Aqtau": 152,
  326. "Aqtobe": 153,
  327. "Casey": 154,
  328. "Lanka": 155,
  329. "Macau": 156,
  330. "Qyzylorda": 157,
  331. }
  332. // Total table size 0 bytes (0KiB); checksum: 811C9DC5