pango 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +21 -2
  3. data/lib/2.0/pango.so +0 -0
  4. data/vendor/local/bin/derb.exe +0 -0
  5. data/vendor/local/bin/genbrk.exe +0 -0
  6. data/vendor/local/bin/genccode.exe +0 -0
  7. data/vendor/local/bin/gencfu.exe +0 -0
  8. data/vendor/local/bin/gencmn.exe +0 -0
  9. data/vendor/local/bin/gencnval.exe +0 -0
  10. data/vendor/local/bin/gendict.exe +0 -0
  11. data/vendor/local/bin/gennorm2.exe +0 -0
  12. data/vendor/local/bin/genrb.exe +0 -0
  13. data/vendor/local/bin/gensprep.exe +0 -0
  14. data/vendor/local/bin/hb-ot-shape-closure.exe +0 -0
  15. data/vendor/local/bin/hb-shape.exe +0 -0
  16. data/vendor/local/bin/hb-view.exe +0 -0
  17. data/vendor/local/bin/icu-config +820 -0
  18. data/vendor/local/bin/icuinfo.exe +0 -0
  19. data/vendor/local/bin/icupkg.exe +0 -0
  20. data/vendor/local/bin/libharfbuzz-0.dll +0 -0
  21. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  22. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  23. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  24. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  25. data/vendor/local/bin/libstdc++-6.dll +0 -0
  26. data/vendor/local/bin/makeconv.exe +0 -0
  27. data/vendor/local/bin/pango-querymodules.exe +0 -0
  28. data/vendor/local/bin/pango-view.exe +0 -0
  29. data/vendor/local/bin/pkgdata.exe +0 -0
  30. data/vendor/local/bin/uconv.exe +0 -0
  31. data/vendor/local/etc/pango/pango.modules +3 -3
  32. data/vendor/local/include/harfbuzz/hb-blob.h +3 -4
  33. data/vendor/local/include/harfbuzz/hb-buffer.h +22 -1
  34. data/vendor/local/include/harfbuzz/hb-common.h +23 -18
  35. data/vendor/local/include/harfbuzz/hb-icu.h +52 -0
  36. data/vendor/local/include/harfbuzz/hb-ot-font.h +41 -0
  37. data/vendor/local/include/harfbuzz/hb-ot-layout.h +11 -3
  38. data/vendor/local/include/harfbuzz/hb-ot-shape.h +10 -11
  39. data/vendor/local/include/harfbuzz/hb-ot.h +1 -0
  40. data/vendor/local/include/harfbuzz/hb-version.h +7 -7
  41. data/vendor/local/include/layout/LEFontInstance.h +550 -0
  42. data/vendor/local/include/layout/LEGlyphFilter.h +45 -0
  43. data/vendor/local/include/layout/LEGlyphStorage.h +546 -0
  44. data/vendor/local/include/layout/LEInsertionList.h +177 -0
  45. data/vendor/local/include/layout/LELanguages.h +112 -0
  46. data/vendor/local/include/layout/LEScripts.h +263 -0
  47. data/vendor/local/include/layout/LESwaps.h +100 -0
  48. data/vendor/local/include/layout/LETableReference.h +418 -0
  49. data/vendor/local/include/layout/LETypes.h +728 -0
  50. data/vendor/local/include/layout/LayoutEngine.h +518 -0
  51. data/vendor/local/include/layout/ParagraphLayout.h +747 -0
  52. data/vendor/local/include/layout/RunArrays.h +676 -0
  53. data/vendor/local/include/layout/loengine.h +225 -0
  54. data/vendor/local/include/layout/playout.h +466 -0
  55. data/vendor/local/include/layout/plruns.h +441 -0
  56. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  57. data/vendor/local/include/pango-1.0/pango/pango-font.h +3 -1
  58. data/vendor/local/include/pango-1.0/pango/pango-item.h +11 -2
  59. data/vendor/local/include/unicode/alphaindex.h +752 -0
  60. data/vendor/local/include/unicode/appendable.h +232 -0
  61. data/vendor/local/include/unicode/basictz.h +214 -0
  62. data/vendor/local/include/unicode/brkiter.h +655 -0
  63. data/vendor/local/include/unicode/bytestream.h +257 -0
  64. data/vendor/local/include/unicode/bytestrie.h +519 -0
  65. data/vendor/local/include/unicode/bytestriebuilder.h +181 -0
  66. data/vendor/local/include/unicode/calendar.h +2519 -0
  67. data/vendor/local/include/unicode/caniter.h +208 -0
  68. data/vendor/local/include/unicode/chariter.h +722 -0
  69. data/vendor/local/include/unicode/choicfmt.h +594 -0
  70. data/vendor/local/include/unicode/coleitr.h +404 -0
  71. data/vendor/local/include/unicode/coll.h +1267 -0
  72. data/vendor/local/include/unicode/compactdecimalformat.h +330 -0
  73. data/vendor/local/include/unicode/curramt.h +130 -0
  74. data/vendor/local/include/unicode/currpinf.h +258 -0
  75. data/vendor/local/include/unicode/currunit.h +110 -0
  76. data/vendor/local/include/unicode/datefmt.h +883 -0
  77. data/vendor/local/include/unicode/dbbi.h +40 -0
  78. data/vendor/local/include/unicode/dcfmtsym.h +482 -0
  79. data/vendor/local/include/unicode/decimfmt.h +2479 -0
  80. data/vendor/local/include/unicode/docmain.h +215 -0
  81. data/vendor/local/include/unicode/dtfmtsym.h +912 -0
  82. data/vendor/local/include/unicode/dtintrv.h +158 -0
  83. data/vendor/local/include/unicode/dtitvfmt.h +985 -0
  84. data/vendor/local/include/unicode/dtitvinf.h +514 -0
  85. data/vendor/local/include/unicode/dtptngen.h +498 -0
  86. data/vendor/local/include/unicode/dtrule.h +250 -0
  87. data/vendor/local/include/unicode/enumset.h +64 -0
  88. data/vendor/local/include/unicode/errorcode.h +137 -0
  89. data/vendor/local/include/unicode/fieldpos.h +291 -0
  90. data/vendor/local/include/unicode/filteredbrk.h +131 -0
  91. data/vendor/local/include/unicode/fmtable.h +760 -0
  92. data/vendor/local/include/unicode/format.h +305 -0
  93. data/vendor/local/include/unicode/fpositer.h +117 -0
  94. data/vendor/local/include/unicode/gender.h +111 -0
  95. data/vendor/local/include/unicode/gregocal.h +777 -0
  96. data/vendor/local/include/unicode/icudataver.h +41 -0
  97. data/vendor/local/include/unicode/icuplug.h +371 -0
  98. data/vendor/local/include/unicode/idna.h +323 -0
  99. data/vendor/local/include/unicode/listformatter.h +167 -0
  100. data/vendor/local/include/unicode/localpointer.h +304 -0
  101. data/vendor/local/include/unicode/locdspnm.h +204 -0
  102. data/vendor/local/include/unicode/locid.h +815 -0
  103. data/vendor/local/include/unicode/measfmt.h +389 -0
  104. data/vendor/local/include/unicode/measunit.h +1443 -0
  105. data/vendor/local/include/unicode/measure.h +159 -0
  106. data/vendor/local/include/unicode/messagepattern.h +943 -0
  107. data/vendor/local/include/unicode/msgfmt.h +1093 -0
  108. data/vendor/local/include/unicode/normalizer2.h +658 -0
  109. data/vendor/local/include/unicode/normlzr.h +797 -0
  110. data/vendor/local/include/unicode/numfmt.h +1187 -0
  111. data/vendor/local/include/unicode/numsys.h +208 -0
  112. data/vendor/local/include/unicode/parseerr.h +92 -0
  113. data/vendor/local/include/unicode/parsepos.h +230 -0
  114. data/vendor/local/include/unicode/platform.h +751 -0
  115. data/vendor/local/include/unicode/plurfmt.h +615 -0
  116. data/vendor/local/include/unicode/plurrule.h +501 -0
  117. data/vendor/local/include/unicode/ptypes.h +126 -0
  118. data/vendor/local/include/unicode/putil.h +181 -0
  119. data/vendor/local/include/unicode/rbbi.h +782 -0
  120. data/vendor/local/include/unicode/rbnf.h +1032 -0
  121. data/vendor/local/include/unicode/rbtz.h +362 -0
  122. data/vendor/local/include/unicode/regex.h +1857 -0
  123. data/vendor/local/include/unicode/region.h +228 -0
  124. data/vendor/local/include/unicode/reldatefmt.h +498 -0
  125. data/vendor/local/include/unicode/rep.h +261 -0
  126. data/vendor/local/include/unicode/resbund.h +490 -0
  127. data/vendor/local/include/unicode/schriter.h +187 -0
  128. data/vendor/local/include/unicode/scientificformathelper.h +139 -0
  129. data/vendor/local/include/unicode/search.h +575 -0
  130. data/vendor/local/include/unicode/selfmt.h +367 -0
  131. data/vendor/local/include/unicode/simpletz.h +928 -0
  132. data/vendor/local/include/unicode/smpdtfmt.h +1592 -0
  133. data/vendor/local/include/unicode/sortkey.h +338 -0
  134. data/vendor/local/include/unicode/std_string.h +37 -0
  135. data/vendor/local/include/unicode/strenum.h +276 -0
  136. data/vendor/local/include/unicode/stringpiece.h +224 -0
  137. data/vendor/local/include/unicode/stringtriebuilder.h +402 -0
  138. data/vendor/local/include/unicode/stsearch.h +504 -0
  139. data/vendor/local/include/unicode/symtable.h +112 -0
  140. data/vendor/local/include/unicode/tblcoll.h +873 -0
  141. data/vendor/local/include/unicode/timezone.h +948 -0
  142. data/vendor/local/include/unicode/tmunit.h +129 -0
  143. data/vendor/local/include/unicode/tmutamt.h +168 -0
  144. data/vendor/local/include/unicode/tmutfmt.h +243 -0
  145. data/vendor/local/include/unicode/translit.h +1342 -0
  146. data/vendor/local/include/unicode/tzfmt.h +1098 -0
  147. data/vendor/local/include/unicode/tznames.h +404 -0
  148. data/vendor/local/include/unicode/tzrule.h +828 -0
  149. data/vendor/local/include/unicode/tztrans.h +195 -0
  150. data/vendor/local/include/unicode/ubidi.h +2186 -0
  151. data/vendor/local/include/unicode/ubrk.h +540 -0
  152. data/vendor/local/include/unicode/ucal.h +1560 -0
  153. data/vendor/local/include/unicode/ucasemap.h +423 -0
  154. data/vendor/local/include/unicode/ucat.h +158 -0
  155. data/vendor/local/include/unicode/uchar.h +3426 -0
  156. data/vendor/local/include/unicode/ucharstrie.h +576 -0
  157. data/vendor/local/include/unicode/ucharstriebuilder.h +185 -0
  158. data/vendor/local/include/unicode/uchriter.h +381 -0
  159. data/vendor/local/include/unicode/uclean.h +258 -0
  160. data/vendor/local/include/unicode/ucnv.h +2036 -0
  161. data/vendor/local/include/unicode/ucnv_cb.h +162 -0
  162. data/vendor/local/include/unicode/ucnv_err.h +463 -0
  163. data/vendor/local/include/unicode/ucnvsel.h +187 -0
  164. data/vendor/local/include/unicode/ucol.h +1474 -0
  165. data/vendor/local/include/unicode/ucoleitr.h +266 -0
  166. data/vendor/local/include/unicode/uconfig.h +430 -0
  167. data/vendor/local/include/unicode/ucsdet.h +413 -0
  168. data/vendor/local/include/unicode/ucurr.h +424 -0
  169. data/vendor/local/include/unicode/udat.h +1536 -0
  170. data/vendor/local/include/unicode/udata.h +430 -0
  171. data/vendor/local/include/unicode/udateintervalformat.h +181 -0
  172. data/vendor/local/include/unicode/udatpg.h +588 -0
  173. data/vendor/local/include/unicode/udisplaycontext.h +150 -0
  174. data/vendor/local/include/unicode/uenum.h +206 -0
  175. data/vendor/local/include/unicode/uformattable.h +280 -0
  176. data/vendor/local/include/unicode/ugender.h +82 -0
  177. data/vendor/local/include/unicode/uidna.h +762 -0
  178. data/vendor/local/include/unicode/uiter.h +707 -0
  179. data/vendor/local/include/unicode/uldnames.h +302 -0
  180. data/vendor/local/include/unicode/uloc.h +1256 -0
  181. data/vendor/local/include/unicode/ulocdata.h +277 -0
  182. data/vendor/local/include/unicode/umachine.h +356 -0
  183. data/vendor/local/include/unicode/umisc.h +60 -0
  184. data/vendor/local/include/unicode/umsg.h +623 -0
  185. data/vendor/local/include/unicode/unifilt.h +120 -0
  186. data/vendor/local/include/unicode/unifunct.h +125 -0
  187. data/vendor/local/include/unicode/unimatch.h +163 -0
  188. data/vendor/local/include/unicode/unirepl.h +97 -0
  189. data/vendor/local/include/unicode/uniset.h +1691 -0
  190. data/vendor/local/include/unicode/unistr.h +4470 -0
  191. data/vendor/local/include/unicode/unorm.h +561 -0
  192. data/vendor/local/include/unicode/unorm2.h +528 -0
  193. data/vendor/local/include/unicode/unum.h +1328 -0
  194. data/vendor/local/include/unicode/unumsys.h +170 -0
  195. data/vendor/local/include/unicode/uobject.h +320 -0
  196. data/vendor/local/include/unicode/upluralrules.h +145 -0
  197. data/vendor/local/include/unicode/uregex.h +1591 -0
  198. data/vendor/local/include/unicode/uregion.h +248 -0
  199. data/vendor/local/include/unicode/urename.h +1784 -0
  200. data/vendor/local/include/unicode/urep.h +155 -0
  201. data/vendor/local/include/unicode/ures.h +887 -0
  202. data/vendor/local/include/unicode/uscript.h +642 -0
  203. data/vendor/local/include/unicode/usearch.h +885 -0
  204. data/vendor/local/include/unicode/uset.h +1126 -0
  205. data/vendor/local/include/unicode/usetiter.h +318 -0
  206. data/vendor/local/include/unicode/ushape.h +474 -0
  207. data/vendor/local/include/unicode/uspoof.h +1064 -0
  208. data/vendor/local/include/unicode/usprep.h +269 -0
  209. data/vendor/local/include/unicode/ustdio.h +1018 -0
  210. data/vendor/local/include/unicode/ustream.h +68 -0
  211. data/vendor/local/include/unicode/ustring.h +1700 -0
  212. data/vendor/local/include/unicode/ustringtrie.h +95 -0
  213. data/vendor/local/include/unicode/utext.h +1600 -0
  214. data/vendor/local/include/unicode/utf.h +223 -0
  215. data/vendor/local/include/unicode/utf16.h +623 -0
  216. data/vendor/local/include/unicode/utf32.h +23 -0
  217. data/vendor/local/include/unicode/utf8.h +824 -0
  218. data/vendor/local/include/unicode/utf_old.h +1169 -0
  219. data/vendor/local/include/unicode/utmscale.h +481 -0
  220. data/vendor/local/include/unicode/utrace.h +359 -0
  221. data/vendor/local/include/unicode/utrans.h +658 -0
  222. data/vendor/local/include/unicode/utypes.h +723 -0
  223. data/vendor/local/include/unicode/uvernum.h +170 -0
  224. data/vendor/local/include/unicode/uversion.h +193 -0
  225. data/vendor/local/include/unicode/vtzone.h +455 -0
  226. data/vendor/local/lib/girepository-1.0/Pango-1.0.typelib +0 -0
  227. data/vendor/local/lib/girepository-1.0/PangoCairo-1.0.typelib +0 -0
  228. data/vendor/local/lib/girepository-1.0/PangoFT2-1.0.typelib +0 -0
  229. data/vendor/local/lib/icu/54.1/Makefile.inc +293 -0
  230. data/vendor/local/lib/icu/54.1/pkgdata.inc +17 -0
  231. data/vendor/local/lib/icu/Makefile.inc +293 -0
  232. data/vendor/local/lib/icu/pkgdata.inc +17 -0
  233. data/vendor/local/lib/icudt.dll +0 -0
  234. data/vendor/local/lib/icudt54.dll +0 -0
  235. data/vendor/local/lib/icuin.dll +0 -0
  236. data/vendor/local/lib/icuin54.dll +0 -0
  237. data/vendor/local/lib/icuio.dll +0 -0
  238. data/vendor/local/lib/icuio54.dll +0 -0
  239. data/vendor/local/lib/icule.dll +0 -0
  240. data/vendor/local/lib/icule54.dll +0 -0
  241. data/vendor/local/lib/iculx.dll +0 -0
  242. data/vendor/local/lib/iculx54.dll +0 -0
  243. data/vendor/local/lib/icutest.dll +0 -0
  244. data/vendor/local/lib/icutest54.dll +0 -0
  245. data/vendor/local/lib/icutu.dll +0 -0
  246. data/vendor/local/lib/icutu54.dll +0 -0
  247. data/vendor/local/lib/icuuc.dll +0 -0
  248. data/vendor/local/lib/icuuc54.dll +0 -0
  249. data/vendor/local/lib/libharfbuzz-icu.a +0 -0
  250. data/vendor/local/lib/libharfbuzz-icu.la +41 -0
  251. data/vendor/local/lib/libharfbuzz.dll.a +0 -0
  252. data/vendor/local/lib/libharfbuzz.la +3 -3
  253. data/vendor/local/lib/libicudt.dll.a +0 -0
  254. data/vendor/local/lib/libicuin.dll.a +0 -0
  255. data/vendor/local/lib/libicuio.dll.a +0 -0
  256. data/vendor/local/lib/libicule.dll.a +0 -0
  257. data/vendor/local/lib/libiculx.dll.a +0 -0
  258. data/vendor/local/lib/libicutest.dll.a +0 -0
  259. data/vendor/local/lib/libicutu.dll.a +0 -0
  260. data/vendor/local/lib/libicuuc.dll.a +0 -0
  261. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  262. data/vendor/local/lib/libpango-1.0.la +2 -2
  263. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  264. data/vendor/local/lib/libpangocairo-1.0.la +2 -2
  265. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  266. data/vendor/local/lib/libpangoft2-1.0.la +2 -2
  267. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  268. data/vendor/local/lib/libpangowin32-1.0.la +2 -2
  269. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
  270. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
  271. data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +1 -1
  272. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll +0 -0
  273. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.dll.a +0 -0
  274. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-fc.la +1 -1
  275. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
  276. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
  277. data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +1 -1
  278. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
  279. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
  280. data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +1 -1
  281. data/vendor/local/lib/pkgconfig/harfbuzz-icu.pc +13 -0
  282. data/vendor/local/lib/pkgconfig/harfbuzz.pc +1 -1
  283. data/vendor/local/lib/pkgconfig/icu-i18n.pc +38 -0
  284. data/vendor/local/lib/pkgconfig/icu-io.pc +38 -0
  285. data/vendor/local/lib/pkgconfig/icu-le.pc +38 -0
  286. data/vendor/local/lib/pkgconfig/icu-lx.pc +38 -0
  287. data/vendor/local/lib/pkgconfig/icu-uc.pc +38 -0
  288. data/vendor/local/lib/pkgconfig/pango.pc +1 -1
  289. data/vendor/local/lib/pkgconfig/pangocairo.pc +1 -1
  290. data/vendor/local/lib/pkgconfig/pangoft2.pc +1 -1
  291. data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
  292. data/vendor/local/share/gir-1.0/Pango-1.0.gir +3009 -462
  293. data/vendor/local/share/gir-1.0/PangoCairo-1.0.gir +64 -22
  294. data/vendor/local/share/gir-1.0/PangoFT2-1.0.gir +4 -2
  295. data/vendor/local/share/gtk-doc/html/harfbuzz/annotation-glossary.html +30 -26
  296. data/vendor/local/share/gtk-doc/html/harfbuzz/api-index-full.html +343 -313
  297. data/vendor/local/share/gtk-doc/html/harfbuzz/ch01.html +5 -5
  298. data/vendor/local/share/gtk-doc/html/harfbuzz/deprecated-api-index.html +6 -8
  299. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-blob.html +442 -247
  300. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-buffer.html +1389 -654
  301. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-common.html +954 -698
  302. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-coretext.html +95 -18
  303. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-deprecated.html +36 -27
  304. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-face.html +477 -191
  305. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-font.html +1951 -1039
  306. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ft.html +123 -65
  307. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-glib.html +66 -21
  308. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-gobject.html +11 -13
  309. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-graphite2.html +67 -23
  310. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-icu.html +66 -21
  311. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-layout.html +574 -347
  312. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot-tag.html +104 -37
  313. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-ot.html +10 -27
  314. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-set.html +744 -318
  315. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape-plan.html +294 -153
  316. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-shape.html +196 -104
  317. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-unicode.html +1100 -757
  318. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-uniscribe.html +51 -18
  319. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb-version.html +110 -84
  320. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz-hb.html +11 -13
  321. data/vendor/local/share/gtk-doc/html/harfbuzz/harfbuzz.devhelp2 +289 -503
  322. data/vendor/local/share/gtk-doc/html/harfbuzz/index.html +3 -3
  323. data/vendor/local/share/gtk-doc/html/harfbuzz/index.sgml +161 -316
  324. data/vendor/local/share/gtk-doc/html/harfbuzz/object-tree.html +31 -4
  325. data/vendor/local/share/gtk-doc/html/harfbuzz/style.css +260 -105
  326. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +143 -105
  327. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +150 -108
  328. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +163 -112
  329. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +348 -229
  330. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +746 -514
  331. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +9 -9
  332. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +853 -623
  333. data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +29 -13
  334. data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +31 -33
  335. data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +10 -12
  336. data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +12 -14
  337. data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +53 -55
  338. data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +28 -30
  339. data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +29 -31
  340. data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +17 -19
  341. data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +28 -30
  342. data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +17 -19
  343. data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +9 -11
  344. data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +6 -6
  345. data/vendor/local/share/gtk-doc/html/pango/api-index-1-31-0.html +6 -6
  346. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32-4.html +11 -13
  347. data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +7 -9
  348. data/vendor/local/share/gtk-doc/html/pango/api-index-1-34.html +5 -5
  349. data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +49 -51
  350. data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +36 -38
  351. data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +37 -39
  352. data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +68 -70
  353. data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +568 -570
  354. data/vendor/local/share/gtk-doc/html/pango/index.html +3 -3
  355. data/vendor/local/share/gtk-doc/html/pango/index.sgml +229 -399
  356. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +4 -4
  357. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +345 -259
  358. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +979 -664
  359. data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +70 -43
  360. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +349 -229
  361. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +236 -153
  362. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +3100 -2159
  363. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +659 -472
  364. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +1952 -1384
  365. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +3050 -2135
  366. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +676 -463
  367. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +223 -146
  368. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +1589 -1199
  369. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +1072 -842
  370. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +406 -276
  371. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +2541 -1792
  372. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +1479 -1033
  373. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +214 -154
  374. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +374 -291
  375. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +733 -498
  376. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +893 -617
  377. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +59 -59
  378. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +5 -5
  379. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +578 -782
  380. data/vendor/local/share/gtk-doc/html/pango/pango.html +4 -4
  381. data/vendor/local/share/gtk-doc/html/pango/rendering.html +4 -4
  382. data/vendor/local/share/gtk-doc/html/pango/style.css +260 -105
  383. data/vendor/local/share/gtk-doc/html/pango/tools.html +4 -4
  384. data/vendor/local/share/icu/54.1/config/mh-mingw +158 -0
  385. data/vendor/local/share/icu/54.1/install-sh +251 -0
  386. data/vendor/local/share/icu/54.1/license.html +385 -0
  387. data/vendor/local/share/icu/54.1/mkinstalldirs +43 -0
  388. data/vendor/local/share/license/harfbuzz/AUTHORS +1 -0
  389. data/vendor/local/share/man/man1/derb.1 +196 -0
  390. data/vendor/local/share/man/man1/genbrk.1 +112 -0
  391. data/vendor/local/share/man/man1/gencfu.1 +91 -0
  392. data/vendor/local/share/man/man1/gencnval.1 +91 -0
  393. data/vendor/local/share/man/man1/gendict.1 +131 -0
  394. data/vendor/local/share/man/man1/genrb.1 +146 -0
  395. data/vendor/local/share/man/man1/icu-config.1 +288 -0
  396. data/vendor/local/share/man/man1/makeconv.1 +112 -0
  397. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  398. data/vendor/local/share/man/man1/pango-view.1 +1 -118
  399. data/vendor/local/share/man/man1/pkgdata.1 +258 -0
  400. data/vendor/local/share/man/man1/uconv.1 +443 -0
  401. data/vendor/local/share/man/man8/genccode.8 +106 -0
  402. data/vendor/local/share/man/man8/gencmn.8 +129 -0
  403. data/vendor/local/share/man/man8/gensprep.8 +102 -0
  404. data/vendor/local/share/man/man8/icupkg.8 +204 -0
  405. metadata +266 -14
  406. data/lib/1.9/pango.so +0 -0
  407. data/lib/2.1/pango.so +0 -0
@@ -0,0 +1,777 @@
1
+ /*
2
+ * Copyright (C) 1997-2013, International Business Machines Corporation and others.
3
+ * All Rights Reserved.
4
+ ********************************************************************************
5
+ *
6
+ * File GREGOCAL.H
7
+ *
8
+ * Modification History:
9
+ *
10
+ * Date Name Description
11
+ * 04/22/97 aliu Overhauled header.
12
+ * 07/28/98 stephen Sync with JDK 1.2
13
+ * 09/04/98 stephen Re-sync with JDK 8/31 putback
14
+ * 09/14/98 stephen Changed type of kOneDay, kOneWeek to double.
15
+ * Fixed bug in roll()
16
+ * 10/15/99 aliu Fixed j31, incorrect WEEK_OF_YEAR computation.
17
+ * Added documentation of WEEK_OF_YEAR computation.
18
+ * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD.
19
+ * {JDK bug 4210209 4209272}
20
+ * 11/07/2003 srl Update, clean up documentation.
21
+ ********************************************************************************
22
+ */
23
+
24
+ #ifndef GREGOCAL_H
25
+ #define GREGOCAL_H
26
+
27
+ #include "unicode/utypes.h"
28
+
29
+ #if !UCONFIG_NO_FORMATTING
30
+
31
+ #include "unicode/calendar.h"
32
+
33
+ /**
34
+ * \file
35
+ * \brief C++ API: Concrete class which provides the standard calendar.
36
+ */
37
+
38
+ U_NAMESPACE_BEGIN
39
+
40
+ /**
41
+ * Concrete class which provides the standard calendar used by most of the world.
42
+ * <P>
43
+ * The standard (Gregorian) calendar has 2 eras, BC and AD.
44
+ * <P>
45
+ * This implementation handles a single discontinuity, which corresponds by default to
46
+ * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all
47
+ * countries adopted the Gregorian calendar then, so this cutover date may be changed by
48
+ * the caller.
49
+ * <P>
50
+ * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To
51
+ * avoid confusion, this Calendar always uses January 1. A manual adjustment may be made
52
+ * if desired for dates that are prior to the Gregorian changeover and which fall
53
+ * between January 1 and March 24.
54
+ *
55
+ * <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to
56
+ * 53. Week 1 for a year is the first week that contains at least
57
+ * <code>getMinimalDaysInFirstWeek()</code> days from that year. It thus
58
+ * depends on the values of <code>getMinimalDaysInFirstWeek()</code>,
59
+ * <code>getFirstDayOfWeek()</code>, and the day of the week of January 1.
60
+ * Weeks between week 1 of one year and week 1 of the following year are
61
+ * numbered sequentially from 2 to 52 or 53 (as needed).
62
+ *
63
+ * <p>For example, January 1, 1998 was a Thursday. If
64
+ * <code>getFirstDayOfWeek()</code> is <code>MONDAY</code> and
65
+ * <code>getMinimalDaysInFirstWeek()</code> is 4 (these are the values
66
+ * reflecting ISO 8601 and many national standards), then week 1 of 1998 starts
67
+ * on December 29, 1997, and ends on January 4, 1998. If, however,
68
+ * <code>getFirstDayOfWeek()</code> is <code>SUNDAY</code>, then week 1 of 1998
69
+ * starts on January 4, 1998, and ends on January 10, 1998; the first three days
70
+ * of 1998 then are part of week 53 of 1997.
71
+ *
72
+ * <p>Example for using GregorianCalendar:
73
+ * <pre>
74
+ * \code
75
+ * // get the supported ids for GMT-08:00 (Pacific Standard Time)
76
+ * UErrorCode success = U_ZERO_ERROR;
77
+ * const StringEnumeration *ids = TimeZone::createEnumeration(-8 * 60 * 60 * 1000);
78
+ * // if no ids were returned, something is wrong. get out.
79
+ * if (ids == 0 || ids->count(success) == 0) {
80
+ * return;
81
+ * }
82
+ *
83
+ * // begin output
84
+ * cout << "Current Time" << endl;
85
+ *
86
+ * // create a Pacific Standard Time time zone
87
+ * SimpleTimeZone* pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids->unext(NULL, success)));
88
+ *
89
+ * // set up rules for daylight savings time
90
+ * pdt->setStartRule(UCAL_MARCH, 1, UCAL_SUNDAY, 2 * 60 * 60 * 1000);
91
+ * pdt->setEndRule(UCAL_NOVEMBER, 2, UCAL_SUNDAY, 2 * 60 * 60 * 1000);
92
+ *
93
+ * // create a GregorianCalendar with the Pacific Daylight time zone
94
+ * // and the current date and time
95
+ * Calendar* calendar = new GregorianCalendar( pdt, success );
96
+ *
97
+ * // print out a bunch of interesting things
98
+ * cout << "ERA: " << calendar->get( UCAL_ERA, success ) << endl;
99
+ * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
100
+ * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl;
101
+ * cout << "WEEK_OF_YEAR: " << calendar->get( UCAL_WEEK_OF_YEAR, success ) << endl;
102
+ * cout << "WEEK_OF_MONTH: " << calendar->get( UCAL_WEEK_OF_MONTH, success ) << endl;
103
+ * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl;
104
+ * cout << "DAY_OF_MONTH: " << calendar->get( UCAL_DAY_OF_MONTH, success ) << endl;
105
+ * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl;
106
+ * cout << "DAY_OF_WEEK: " << calendar->get( UCAL_DAY_OF_WEEK, success ) << endl;
107
+ * cout << "DAY_OF_WEEK_IN_MONTH: " << calendar->get( UCAL_DAY_OF_WEEK_IN_MONTH, success ) << endl;
108
+ * cout << "AM_PM: " << calendar->get( UCAL_AM_PM, success ) << endl;
109
+ * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl;
110
+ * cout << "HOUR_OF_DAY: " << calendar->get( UCAL_HOUR_OF_DAY, success ) << endl;
111
+ * cout << "MINUTE: " << calendar->get( UCAL_MINUTE, success ) << endl;
112
+ * cout << "SECOND: " << calendar->get( UCAL_SECOND, success ) << endl;
113
+ * cout << "MILLISECOND: " << calendar->get( UCAL_MILLISECOND, success ) << endl;
114
+ * cout << "ZONE_OFFSET: " << (calendar->get( UCAL_ZONE_OFFSET, success )/(60*60*1000)) << endl;
115
+ * cout << "DST_OFFSET: " << (calendar->get( UCAL_DST_OFFSET, success )/(60*60*1000)) << endl;
116
+ *
117
+ * cout << "Current Time, with hour reset to 3" << endl;
118
+ * calendar->clear(UCAL_HOUR_OF_DAY); // so doesn't override
119
+ * calendar->set(UCAL_HOUR, 3);
120
+ * cout << "ERA: " << calendar->get( UCAL_ERA, success ) << endl;
121
+ * cout << "YEAR: " << calendar->get( UCAL_YEAR, success ) << endl;
122
+ * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl;
123
+ * cout << "WEEK_OF_YEAR: " << calendar->get( UCAL_WEEK_OF_YEAR, success ) << endl;
124
+ * cout << "WEEK_OF_MONTH: " << calendar->get( UCAL_WEEK_OF_MONTH, success ) << endl;
125
+ * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl;
126
+ * cout << "DAY_OF_MONTH: " << calendar->get( UCAL_DAY_OF_MONTH, success ) << endl;
127
+ * cout << "DAY_OF_YEAR: " << calendar->get( UCAL_DAY_OF_YEAR, success ) << endl;
128
+ * cout << "DAY_OF_WEEK: " << calendar->get( UCAL_DAY_OF_WEEK, success ) << endl;
129
+ * cout << "DAY_OF_WEEK_IN_MONTH: " << calendar->get( UCAL_DAY_OF_WEEK_IN_MONTH, success ) << endl;
130
+ * cout << "AM_PM: " << calendar->get( UCAL_AM_PM, success ) << endl;
131
+ * cout << "HOUR: " << calendar->get( UCAL_HOUR, success ) << endl;
132
+ * cout << "HOUR_OF_DAY: " << calendar->get( UCAL_HOUR_OF_DAY, success ) << endl;
133
+ * cout << "MINUTE: " << calendar->get( UCAL_MINUTE, success ) << endl;
134
+ * cout << "SECOND: " << calendar->get( UCAL_SECOND, success ) << endl;
135
+ * cout << "MILLISECOND: " << calendar->get( UCAL_MILLISECOND, success ) << endl;
136
+ * cout << "ZONE_OFFSET: " << (calendar->get( UCAL_ZONE_OFFSET, success )/(60*60*1000)) << endl; // in hours
137
+ * cout << "DST_OFFSET: " << (calendar->get( UCAL_DST_OFFSET, success )/(60*60*1000)) << endl; // in hours
138
+ *
139
+ * if (U_FAILURE(success)) {
140
+ * cout << "An error occured. success=" << u_errorName(success) << endl;
141
+ * }
142
+ *
143
+ * delete ids;
144
+ * delete calendar; // also deletes pdt
145
+ * \endcode
146
+ * </pre>
147
+ * @stable ICU 2.0
148
+ */
149
+ class U_I18N_API GregorianCalendar: public Calendar {
150
+ public:
151
+
152
+ /**
153
+ * Useful constants for GregorianCalendar and TimeZone.
154
+ * @stable ICU 2.0
155
+ */
156
+ enum EEras {
157
+ BC,
158
+ AD
159
+ };
160
+
161
+ /**
162
+ * Constructs a default GregorianCalendar using the current time in the default time
163
+ * zone with the default locale.
164
+ *
165
+ * @param success Indicates the status of GregorianCalendar object construction.
166
+ * Returns U_ZERO_ERROR if constructed successfully.
167
+ * @stable ICU 2.0
168
+ */
169
+ GregorianCalendar(UErrorCode& success);
170
+
171
+ /**
172
+ * Constructs a GregorianCalendar based on the current time in the given time zone
173
+ * with the default locale. Clients are no longer responsible for deleting the given
174
+ * time zone object after it's adopted.
175
+ *
176
+ * @param zoneToAdopt The given timezone.
177
+ * @param success Indicates the status of GregorianCalendar object construction.
178
+ * Returns U_ZERO_ERROR if constructed successfully.
179
+ * @stable ICU 2.0
180
+ */
181
+ GregorianCalendar(TimeZone* zoneToAdopt, UErrorCode& success);
182
+
183
+ /**
184
+ * Constructs a GregorianCalendar based on the current time in the given time zone
185
+ * with the default locale.
186
+ *
187
+ * @param zone The given timezone.
188
+ * @param success Indicates the status of GregorianCalendar object construction.
189
+ * Returns U_ZERO_ERROR if constructed successfully.
190
+ * @stable ICU 2.0
191
+ */
192
+ GregorianCalendar(const TimeZone& zone, UErrorCode& success);
193
+
194
+ /**
195
+ * Constructs a GregorianCalendar based on the current time in the default time zone
196
+ * with the given locale.
197
+ *
198
+ * @param aLocale The given locale.
199
+ * @param success Indicates the status of GregorianCalendar object construction.
200
+ * Returns U_ZERO_ERROR if constructed successfully.
201
+ * @stable ICU 2.0
202
+ */
203
+ GregorianCalendar(const Locale& aLocale, UErrorCode& success);
204
+
205
+ /**
206
+ * Constructs a GregorianCalendar based on the current time in the given time zone
207
+ * with the given locale. Clients are no longer responsible for deleting the given
208
+ * time zone object after it's adopted.
209
+ *
210
+ * @param zoneToAdopt The given timezone.
211
+ * @param aLocale The given locale.
212
+ * @param success Indicates the status of GregorianCalendar object construction.
213
+ * Returns U_ZERO_ERROR if constructed successfully.
214
+ * @stable ICU 2.0
215
+ */
216
+ GregorianCalendar(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode& success);
217
+
218
+ /**
219
+ * Constructs a GregorianCalendar based on the current time in the given time zone
220
+ * with the given locale.
221
+ *
222
+ * @param zone The given timezone.
223
+ * @param aLocale The given locale.
224
+ * @param success Indicates the status of GregorianCalendar object construction.
225
+ * Returns U_ZERO_ERROR if constructed successfully.
226
+ * @stable ICU 2.0
227
+ */
228
+ GregorianCalendar(const TimeZone& zone, const Locale& aLocale, UErrorCode& success);
229
+
230
+ /**
231
+ * Constructs a GregorianCalendar with the given AD date set in the default time
232
+ * zone with the default locale.
233
+ *
234
+ * @param year The value used to set the YEAR time field in the calendar.
235
+ * @param month The value used to set the MONTH time field in the calendar. Month
236
+ * value is 0-based. e.g., 0 for January.
237
+ * @param date The value used to set the DATE time field in the calendar.
238
+ * @param success Indicates the status of GregorianCalendar object construction.
239
+ * Returns U_ZERO_ERROR if constructed successfully.
240
+ * @stable ICU 2.0
241
+ */
242
+ GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success);
243
+
244
+ /**
245
+ * Constructs a GregorianCalendar with the given AD date and time set for the
246
+ * default time zone with the default locale.
247
+ *
248
+ * @param year The value used to set the YEAR time field in the calendar.
249
+ * @param month The value used to set the MONTH time field in the calendar. Month
250
+ * value is 0-based. e.g., 0 for January.
251
+ * @param date The value used to set the DATE time field in the calendar.
252
+ * @param hour The value used to set the HOUR_OF_DAY time field in the calendar.
253
+ * @param minute The value used to set the MINUTE time field in the calendar.
254
+ * @param success Indicates the status of GregorianCalendar object construction.
255
+ * Returns U_ZERO_ERROR if constructed successfully.
256
+ * @stable ICU 2.0
257
+ */
258
+ GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success);
259
+
260
+ /**
261
+ * Constructs a GregorianCalendar with the given AD date and time set for the
262
+ * default time zone with the default locale.
263
+ *
264
+ * @param year The value used to set the YEAR time field in the calendar.
265
+ * @param month The value used to set the MONTH time field in the calendar. Month
266
+ * value is 0-based. e.g., 0 for January.
267
+ * @param date The value used to set the DATE time field in the calendar.
268
+ * @param hour The value used to set the HOUR_OF_DAY time field in the calendar.
269
+ * @param minute The value used to set the MINUTE time field in the calendar.
270
+ * @param second The value used to set the SECOND time field in the calendar.
271
+ * @param success Indicates the status of GregorianCalendar object construction.
272
+ * Returns U_ZERO_ERROR if constructed successfully.
273
+ * @stable ICU 2.0
274
+ */
275
+ GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode& success);
276
+
277
+ /**
278
+ * Destructor
279
+ * @stable ICU 2.0
280
+ */
281
+ virtual ~GregorianCalendar();
282
+
283
+ /**
284
+ * Copy constructor
285
+ * @param source the object to be copied.
286
+ * @stable ICU 2.0
287
+ */
288
+ GregorianCalendar(const GregorianCalendar& source);
289
+
290
+ /**
291
+ * Default assignment operator
292
+ * @param right the object to be copied.
293
+ * @stable ICU 2.0
294
+ */
295
+ GregorianCalendar& operator=(const GregorianCalendar& right);
296
+
297
+ /**
298
+ * Create and return a polymorphic copy of this calendar.
299
+ * @return return a polymorphic copy of this calendar.
300
+ * @stable ICU 2.0
301
+ */
302
+ virtual Calendar* clone(void) const;
303
+
304
+ /**
305
+ * Sets the GregorianCalendar change date. This is the point when the switch from
306
+ * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October
307
+ * 15, 1582. Previous to this time and date will be Julian dates.
308
+ *
309
+ * @param date The given Gregorian cutover date.
310
+ * @param success Output param set to success/failure code on exit.
311
+ * @stable ICU 2.0
312
+ */
313
+ void setGregorianChange(UDate date, UErrorCode& success);
314
+
315
+ /**
316
+ * Gets the Gregorian Calendar change date. This is the point when the switch from
317
+ * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October
318
+ * 15, 1582. Previous to this time and date will be Julian dates.
319
+ *
320
+ * @return The Gregorian cutover time for this calendar.
321
+ * @stable ICU 2.0
322
+ */
323
+ UDate getGregorianChange(void) const;
324
+
325
+ /**
326
+ * Return true if the given year is a leap year. Determination of whether a year is
327
+ * a leap year is actually very complicated. We do something crude and mostly
328
+ * correct here, but for a real determination you need a lot of contextual
329
+ * information. For example, in Sweden, the change from Julian to Gregorian happened
330
+ * in a complex way resulting in missed leap years and double leap years between
331
+ * 1700 and 1753. Another example is that after the start of the Julian calendar in
332
+ * 45 B.C., the leap years did not regularize until 8 A.D. This method ignores these
333
+ * quirks, and pays attention only to the Julian onset date and the Gregorian
334
+ * cutover (which can be changed).
335
+ *
336
+ * @param year The given year.
337
+ * @return True if the given year is a leap year; false otherwise.
338
+ * @stable ICU 2.0
339
+ */
340
+ UBool isLeapYear(int32_t year) const;
341
+
342
+ /**
343
+ * Returns TRUE if the given Calendar object is equivalent to this
344
+ * one. Calendar override.
345
+ *
346
+ * @param other the Calendar to be compared with this Calendar
347
+ * @stable ICU 2.4
348
+ */
349
+ virtual UBool isEquivalentTo(const Calendar& other) const;
350
+
351
+ /**
352
+ * (Overrides Calendar) Rolls up or down by the given amount in the specified field.
353
+ * For more information, see the documentation for Calendar::roll().
354
+ *
355
+ * @param field The time field.
356
+ * @param amount Indicates amount to roll.
357
+ * @param status Output param set to success/failure code on exit. If any value
358
+ * previously set in the time field is invalid, this will be set to
359
+ * an error status.
360
+ * @deprecated ICU 2.6. Use roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) instead.
361
+ */
362
+ virtual void roll(EDateFields field, int32_t amount, UErrorCode& status);
363
+
364
+ /**
365
+ * (Overrides Calendar) Rolls up or down by the given amount in the specified field.
366
+ * For more information, see the documentation for Calendar::roll().
367
+ *
368
+ * @param field The time field.
369
+ * @param amount Indicates amount to roll.
370
+ * @param status Output param set to success/failure code on exit. If any value
371
+ * previously set in the time field is invalid, this will be set to
372
+ * an error status.
373
+ * @stable ICU 2.6.
374
+ */
375
+ virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status);
376
+
377
+ #ifndef U_HIDE_DEPRECATED_API
378
+ /**
379
+ * Return the minimum value that this field could have, given the current date.
380
+ * For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
381
+ * @param field the time field.
382
+ * @return the minimum value that this field could have, given the current date.
383
+ * @deprecated ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead.
384
+ */
385
+ int32_t getActualMinimum(EDateFields field) const;
386
+
387
+ /**
388
+ * Return the minimum value that this field could have, given the current date.
389
+ * For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
390
+ * @param field the time field.
391
+ * @param status
392
+ * @return the minimum value that this field could have, given the current date.
393
+ * @deprecated ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead. (Added to ICU 3.0 for signature consistency)
394
+ */
395
+ int32_t getActualMinimum(EDateFields field, UErrorCode& status) const;
396
+ #endif /* U_HIDE_DEPRECATED_API */
397
+
398
+ /**
399
+ * Return the minimum value that this field could have, given the current date.
400
+ * For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
401
+ * @param field the time field.
402
+ * @param status error result.
403
+ * @return the minimum value that this field could have, given the current date.
404
+ * @stable ICU 3.0
405
+ */
406
+ int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const;
407
+
408
+ #ifndef U_HIDE_DEPRECATED_API
409
+ /**
410
+ * Return the maximum value that this field could have, given the current date.
411
+ * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
412
+ * maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar,
413
+ * for some years the actual maximum for MONTH is 12, and for others 13.
414
+ * @param field the time field.
415
+ * @return the maximum value that this field could have, given the current date.
416
+ * @deprecated ICU 2.6. Use getActualMaximum(UCalendarDateFields field) instead.
417
+ */
418
+ int32_t getActualMaximum(EDateFields field) const;
419
+ #endif /* U_HIDE_DEPRECATED_API */
420
+
421
+ /**
422
+ * Return the maximum value that this field could have, given the current date.
423
+ * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
424
+ * maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar,
425
+ * for some years the actual maximum for MONTH is 12, and for others 13.
426
+ * @param field the time field.
427
+ * @param status returns any errors that may result from this function call.
428
+ * @return the maximum value that this field could have, given the current date.
429
+ * @stable ICU 2.6
430
+ */
431
+ virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const;
432
+
433
+ /**
434
+ * (Overrides Calendar) Return true if the current date for this Calendar is in
435
+ * Daylight Savings Time. Recognizes DST_OFFSET, if it is set.
436
+ *
437
+ * @param status Fill-in parameter which receives the status of this operation.
438
+ * @return True if the current date for this Calendar is in Daylight Savings Time,
439
+ * false, otherwise.
440
+ * @stable ICU 2.0
441
+ */
442
+ virtual UBool inDaylightTime(UErrorCode& status) const;
443
+
444
+ public:
445
+
446
+ /**
447
+ * Override Calendar Returns a unique class ID POLYMORPHICALLY. Pure virtual
448
+ * override. This method is to implement a simple version of RTTI, since not all C++
449
+ * compilers support genuine RTTI. Polymorphic operator==() and clone() methods call
450
+ * this method.
451
+ *
452
+ * @return The class ID for this object. All objects of a given class have the
453
+ * same class ID. Objects of other classes have different class IDs.
454
+ * @stable ICU 2.0
455
+ */
456
+ virtual UClassID getDynamicClassID(void) const;
457
+
458
+ /**
459
+ * Return the class ID for this class. This is useful only for comparing to a return
460
+ * value from getDynamicClassID(). For example:
461
+ *
462
+ * Base* polymorphic_pointer = createPolymorphicObject();
463
+ * if (polymorphic_pointer->getDynamicClassID() ==
464
+ * Derived::getStaticClassID()) ...
465
+ *
466
+ * @return The class ID for all objects of this class.
467
+ * @stable ICU 2.0
468
+ */
469
+ static UClassID U_EXPORT2 getStaticClassID(void);
470
+
471
+ /**
472
+ * Returns the calendar type name string for this Calendar object.
473
+ * The returned string is the legacy ICU calendar attribute value,
474
+ * for example, "gregorian" or "japanese".
475
+ *
476
+ * For more details see the Calendar::getType() documentation.
477
+ *
478
+ * @return legacy calendar type name string
479
+ * @stable ICU 49
480
+ */
481
+ virtual const char * getType() const;
482
+
483
+ private:
484
+ GregorianCalendar(); // default constructor not implemented
485
+
486
+ protected:
487
+ /**
488
+ * Return the ERA. We need a special method for this because the
489
+ * default ERA is AD, but a zero (unset) ERA is BC.
490
+ * @return the ERA.
491
+ * @internal
492
+ */
493
+ virtual int32_t internalGetEra() const;
494
+
495
+ /**
496
+ * Return the Julian day number of day before the first day of the
497
+ * given month in the given extended year. Subclasses should override
498
+ * this method to implement their calendar system.
499
+ * @param eyear the extended year
500
+ * @param month the zero-based month, or 0 if useMonth is false
501
+ * @param useMonth if false, compute the day before the first day of
502
+ * the given year, otherwise, compute the day before the first day of
503
+ * the given month
504
+ * @return the Julian day number of the day before the first
505
+ * day of the given month and year
506
+ * @internal
507
+ */
508
+ virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month,
509
+ UBool useMonth) const;
510
+
511
+ /**
512
+ * Subclasses may override this. This method calls
513
+ * handleGetMonthLength() to obtain the calendar-specific month
514
+ * length.
515
+ * @param bestField which field to use to calculate the date
516
+ * @return julian day specified by calendar fields.
517
+ * @internal
518
+ */
519
+ virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ;
520
+
521
+ /**
522
+ * Return the number of days in the given month of the given extended
523
+ * year of this calendar system. Subclasses should override this
524
+ * method if they can provide a more correct or more efficient
525
+ * implementation than the default implementation in Calendar.
526
+ * @internal
527
+ */
528
+ virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month) const;
529
+
530
+ /**
531
+ * Return the number of days in the given extended year of this
532
+ * calendar system. Subclasses should override this method if they can
533
+ * provide a more correct or more efficient implementation than the
534
+ * default implementation in Calendar.
535
+ * @stable ICU 2.0
536
+ */
537
+ virtual int32_t handleGetYearLength(int32_t eyear) const;
538
+
539
+ /**
540
+ * return the length of the given month.
541
+ * @param month the given month.
542
+ * @return the length of the given month.
543
+ * @internal
544
+ */
545
+ virtual int32_t monthLength(int32_t month) const;
546
+
547
+ /**
548
+ * return the length of the month according to the given year.
549
+ * @param month the given month.
550
+ * @param year the given year.
551
+ * @return the length of the month
552
+ * @internal
553
+ */
554
+ virtual int32_t monthLength(int32_t month, int32_t year) const;
555
+
556
+ #ifndef U_HIDE_INTERNAL_API
557
+ /**
558
+ * return the length of the given year.
559
+ * @param year the given year.
560
+ * @return the length of the given year.
561
+ * @internal
562
+ */
563
+ int32_t yearLength(int32_t year) const;
564
+
565
+ /**
566
+ * return the length of the year field.
567
+ * @return the length of the year field
568
+ * @internal
569
+ */
570
+ int32_t yearLength(void) const;
571
+
572
+ /**
573
+ * After adjustments such as add(MONTH), add(YEAR), we don't want the
574
+ * month to jump around. E.g., we don't want Jan 31 + 1 month to go to Mar
575
+ * 3, we want it to go to Feb 28. Adjustments which might run into this
576
+ * problem call this method to retain the proper month.
577
+ * @internal
578
+ */
579
+ void pinDayOfMonth(void);
580
+ #endif /* U_HIDE_INTERNAL_API */
581
+
582
+ /**
583
+ * Return the day number with respect to the epoch. January 1, 1970 (Gregorian)
584
+ * is day zero.
585
+ * @param status Fill-in parameter which receives the status of this operation.
586
+ * @return the day number with respect to the epoch.
587
+ * @internal
588
+ */
589
+ virtual UDate getEpochDay(UErrorCode& status);
590
+
591
+ /**
592
+ * Subclass API for defining limits of different types.
593
+ * Subclasses must implement this method to return limits for the
594
+ * following fields:
595
+ *
596
+ * <pre>UCAL_ERA
597
+ * UCAL_YEAR
598
+ * UCAL_MONTH
599
+ * UCAL_WEEK_OF_YEAR
600
+ * UCAL_WEEK_OF_MONTH
601
+ * UCAL_DATE (DAY_OF_MONTH on Java)
602
+ * UCAL_DAY_OF_YEAR
603
+ * UCAL_DAY_OF_WEEK_IN_MONTH
604
+ * UCAL_YEAR_WOY
605
+ * UCAL_EXTENDED_YEAR</pre>
606
+ *
607
+ * @param field one of the above field numbers
608
+ * @param limitType one of <code>MINIMUM</code>, <code>GREATEST_MINIMUM</code>,
609
+ * <code>LEAST_MAXIMUM</code>, or <code>MAXIMUM</code>
610
+ * @internal
611
+ */
612
+ virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
613
+
614
+ /**
615
+ * Return the extended year defined by the current fields. This will
616
+ * use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such
617
+ * as UCAL_ERA) specific to the calendar system, depending on which set of
618
+ * fields is newer.
619
+ * @return the extended year
620
+ * @internal
621
+ */
622
+ virtual int32_t handleGetExtendedYear();
623
+
624
+ /**
625
+ * Subclasses may override this to convert from week fields
626
+ * (YEAR_WOY and WEEK_OF_YEAR) to an extended year in the case
627
+ * where YEAR, EXTENDED_YEAR are not set.
628
+ * The Gregorian implementation assumes a yearWoy in gregorian format, according to the current era.
629
+ * @return the extended year, UCAL_EXTENDED_YEAR
630
+ * @internal
631
+ */
632
+ virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
633
+
634
+
635
+ /**
636
+ * Subclasses may override this method to compute several fields
637
+ * specific to each calendar system. These are:
638
+ *
639
+ * <ul><li>ERA
640
+ * <li>YEAR
641
+ * <li>MONTH
642
+ * <li>DAY_OF_MONTH
643
+ * <li>DAY_OF_YEAR
644
+ * <li>EXTENDED_YEAR</ul>
645
+ *
646
+ * <p>The GregorianCalendar implementation implements
647
+ * a calendar with the specified Julian/Gregorian cutover date.
648
+ * @internal
649
+ */
650
+ virtual void handleComputeFields(int32_t julianDay, UErrorCode &status);
651
+
652
+ private:
653
+ /**
654
+ * Compute the julian day number of the given year.
655
+ * @param isGregorian if true, using Gregorian calendar, otherwise using Julian calendar
656
+ * @param year the given year.
657
+ * @param isLeap true if the year is a leap year.
658
+ * @return
659
+ */
660
+ static double computeJulianDayOfYear(UBool isGregorian, int32_t year,
661
+ UBool& isLeap);
662
+
663
+ /**
664
+ * Validates the values of the set time fields. True if they're all valid.
665
+ * @return True if the set time fields are all valid.
666
+ */
667
+ UBool validateFields(void) const;
668
+
669
+ /**
670
+ * Validates the value of the given time field. True if it's valid.
671
+ */
672
+ UBool boundsCheck(int32_t value, UCalendarDateFields field) const;
673
+
674
+ /**
675
+ * Return the pseudo-time-stamp for two fields, given their
676
+ * individual pseudo-time-stamps. If either of the fields
677
+ * is unset, then the aggregate is unset. Otherwise, the
678
+ * aggregate is the later of the two stamps.
679
+ * @param stamp_a One given field.
680
+ * @param stamp_b Another given field.
681
+ * @return the pseudo-time-stamp for two fields
682
+ */
683
+ int32_t aggregateStamp(int32_t stamp_a, int32_t stamp_b);
684
+
685
+ /**
686
+ * The point at which the Gregorian calendar rules are used, measured in
687
+ * milliseconds from the standard epoch. Default is October 15, 1582
688
+ * (Gregorian) 00:00:00 UTC, that is, October 4, 1582 (Julian) is followed
689
+ * by October 15, 1582 (Gregorian). This corresponds to Julian day number
690
+ * 2299161. This is measured from the standard epoch, not in Julian Days.
691
+ */
692
+ UDate fGregorianCutover;
693
+
694
+ /**
695
+ * Julian day number of the Gregorian cutover
696
+ */
697
+ int32_t fCutoverJulianDay;
698
+
699
+ /**
700
+ * Midnight, local time (using this Calendar's TimeZone) at or before the
701
+ * gregorianCutover. This is a pure date value with no time of day or
702
+ * timezone component.
703
+ */
704
+ UDate fNormalizedGregorianCutover;// = gregorianCutover;
705
+
706
+ /**
707
+ * The year of the gregorianCutover, with 0 representing
708
+ * 1 BC, -1 representing 2 BC, etc.
709
+ */
710
+ int32_t fGregorianCutoverYear;// = 1582;
711
+
712
+ /**
713
+ * The year of the gregorianCutover, with 0 representing
714
+ * 1 BC, -1 representing 2 BC, etc.
715
+ */
716
+ int32_t fGregorianCutoverJulianDay;// = 2299161;
717
+
718
+ /**
719
+ * Converts time as milliseconds to Julian date. The Julian date used here is not a
720
+ * true Julian date, since it is measured from midnight, not noon.
721
+ *
722
+ * @param millis The given milliseconds.
723
+ * @return The Julian date number.
724
+ */
725
+ static double millisToJulianDay(UDate millis);
726
+
727
+ /**
728
+ * Converts Julian date to time as milliseconds. The Julian date used here is not a
729
+ * true Julian date, since it is measured from midnight, not noon.
730
+ *
731
+ * @param julian The given Julian date number.
732
+ * @return Time as milliseconds.
733
+ */
734
+ static UDate julianDayToMillis(double julian);
735
+
736
+ /**
737
+ * Used by handleComputeJulianDay() and handleComputeMonthStart().
738
+ * Temporary field indicating whether the calendar is currently Gregorian as opposed to Julian.
739
+ */
740
+ UBool fIsGregorian;
741
+
742
+ /**
743
+ * Used by handleComputeJulianDay() and handleComputeMonthStart().
744
+ * Temporary field indicating that the sense of the gregorian cutover should be inverted
745
+ * to handle certain calculations on and around the cutover date.
746
+ */
747
+ UBool fInvertGregorian;
748
+
749
+
750
+ public: // internal implementation
751
+
752
+ /**
753
+ * @return TRUE if this calendar has the notion of a default century
754
+ * @internal
755
+ */
756
+ virtual UBool haveDefaultCentury() const;
757
+
758
+ /**
759
+ * @return the start of the default century
760
+ * @internal
761
+ */
762
+ virtual UDate defaultCenturyStart() const;
763
+
764
+ /**
765
+ * @return the beginning year of the default century
766
+ * @internal
767
+ */
768
+ virtual int32_t defaultCenturyStartYear() const;
769
+ };
770
+
771
+ U_NAMESPACE_END
772
+
773
+ #endif /* #if !UCONFIG_NO_FORMATTING */
774
+
775
+ #endif // _GREGOCAL
776
+ //eof
777
+