atk 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (765) hide show
  1. data/ChangeLog +9 -0
  2. data/Rakefile +8 -70
  3. data/ext/atk/Makefile +160 -0
  4. data/ext/atk/extconf.rb +9 -9
  5. data/ext/atk/rbatkversion.h +24 -0
  6. data/lib/1.8/atk.so +0 -0
  7. data/lib/1.9/atk.so +0 -0
  8. data/vendor/local/lib/pkgconfig/atk.pc +1 -1
  9. metadata +150 -902
  10. data/vendor/local/bin/envsubst.exe +0 -0
  11. data/vendor/local/bin/gettext.exe +0 -0
  12. data/vendor/local/bin/gettext.sh +0 -123
  13. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  14. data/vendor/local/bin/glib-gettextize +0 -188
  15. data/vendor/local/bin/glib-mkenums +0 -537
  16. data/vendor/local/bin/gobject-query.exe +0 -0
  17. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  18. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  19. data/vendor/local/bin/intl.dll +0 -0
  20. data/vendor/local/bin/libasprintf-0.dll +0 -0
  21. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  22. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  23. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  24. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  25. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  26. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  27. data/vendor/local/bin/ngettext.exe +0 -0
  28. data/vendor/local/include/autosprintf.h +0 -66
  29. data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
  30. data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
  31. data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
  32. data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
  33. data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
  34. data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
  35. data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
  36. data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
  37. data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
  38. data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
  39. data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
  40. data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
  41. data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
  42. data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
  43. data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
  44. data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
  45. data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
  46. data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
  47. data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
  48. data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
  49. data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
  50. data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
  51. data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
  52. data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
  53. data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
  54. data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
  55. data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
  56. data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
  57. data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
  58. data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
  59. data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
  60. data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
  61. data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
  62. data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
  63. data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
  64. data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
  65. data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
  66. data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
  67. data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
  68. data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
  69. data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
  70. data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
  71. data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
  72. data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
  73. data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
  74. data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
  75. data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
  76. data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
  77. data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
  78. data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
  79. data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
  80. data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
  81. data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
  82. data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
  83. data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
  84. data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
  85. data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
  86. data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
  87. data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
  88. data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
  89. data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
  90. data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
  91. data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
  92. data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
  93. data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
  94. data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
  95. data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
  96. data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
  97. data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
  98. data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
  99. data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
  100. data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
  101. data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
  102. data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
  103. data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
  104. data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
  105. data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
  106. data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
  107. data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
  108. data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
  109. data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
  110. data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
  111. data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
  112. data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
  113. data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
  114. data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
  115. data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
  116. data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
  117. data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
  118. data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
  119. data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
  120. data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
  121. data/vendor/local/include/glib-2.0/glib-object.h +0 -42
  122. data/vendor/local/include/glib-2.0/glib.h +0 -99
  123. data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
  124. data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
  125. data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
  126. data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
  127. data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
  128. data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
  129. data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
  130. data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
  131. data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
  132. data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
  133. data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
  134. data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
  135. data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
  136. data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
  137. data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
  138. data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
  139. data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
  140. data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
  141. data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
  142. data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
  143. data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
  144. data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
  145. data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
  146. data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
  147. data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
  148. data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
  149. data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
  150. data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
  151. data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
  152. data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
  153. data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
  154. data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
  155. data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
  156. data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
  157. data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
  158. data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
  159. data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
  160. data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
  161. data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
  162. data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
  163. data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
  164. data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
  165. data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
  166. data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
  167. data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
  168. data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
  169. data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
  170. data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
  171. data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
  172. data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
  173. data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
  174. data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
  175. data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
  176. data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
  177. data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
  178. data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
  179. data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
  180. data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
  181. data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
  182. data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
  183. data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
  184. data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
  185. data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
  186. data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
  187. data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
  188. data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
  189. data/vendor/local/include/glib-2.0/gmodule.h +0 -101
  190. data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
  191. data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
  192. data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
  193. data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
  194. data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
  195. data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
  196. data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
  197. data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
  198. data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
  199. data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
  200. data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
  201. data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
  202. data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
  203. data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
  204. data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
  205. data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
  206. data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
  207. data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
  208. data/vendor/local/include/libintl.h +0 -464
  209. data/vendor/local/lib/GNU.Gettext.dll +0 -0
  210. data/vendor/local/lib/gio-2.0.def +0 -1143
  211. data/vendor/local/lib/gio-2.0.lib +0 -0
  212. data/vendor/local/lib/glib-2.0.def +0 -1452
  213. data/vendor/local/lib/glib-2.0.lib +0 -0
  214. data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
  215. data/vendor/local/lib/gmodule-2.0.def +0 -11
  216. data/vendor/local/lib/gmodule-2.0.lib +0 -0
  217. data/vendor/local/lib/gobject-2.0.def +0 -370
  218. data/vendor/local/lib/gobject-2.0.lib +0 -0
  219. data/vendor/local/lib/gthread-2.0.def +0 -3
  220. data/vendor/local/lib/gthread-2.0.lib +0 -0
  221. data/vendor/local/lib/intl.lib +0 -0
  222. data/vendor/local/lib/libasprintf.dll.a +0 -0
  223. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  224. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  225. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  226. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  227. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  228. data/vendor/local/lib/libintl.def +0 -31
  229. data/vendor/local/lib/libintl.dll.a +0 -0
  230. data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
  231. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
  232. data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
  233. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
  234. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
  235. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
  236. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
  237. data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
  238. data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
  239. data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
  240. data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
  241. data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
  242. data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
  243. data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
  244. data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
  245. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
  246. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
  247. data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
  248. data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
  249. data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
  250. data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
  251. data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
  252. data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
  253. data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
  254. data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
  255. data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
  256. data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
  257. data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
  258. data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
  259. data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
  260. data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
  261. data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
  262. data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
  263. data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
  264. data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
  265. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
  266. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
  267. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
  268. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
  269. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
  270. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
  271. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
  272. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
  273. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
  274. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
  275. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
  276. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
  277. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
  278. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
  279. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
  280. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
  281. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
  282. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
  283. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
  284. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
  285. data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
  286. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
  287. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
  288. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
  289. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
  290. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
  291. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
  292. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
  293. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
  294. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
  295. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
  296. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
  297. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
  298. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
  299. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
  300. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
  301. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
  302. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
  303. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
  304. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
  305. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
  306. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
  307. data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
  308. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
  309. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
  310. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
  311. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
  312. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
  313. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
  314. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
  315. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
  316. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
  317. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
  318. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
  319. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
  320. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
  321. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
  322. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
  323. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
  324. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
  325. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
  326. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
  327. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
  328. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
  329. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
  330. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
  331. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
  332. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
  333. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
  334. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
  335. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
  336. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
  337. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
  338. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
  339. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
  340. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
  341. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
  342. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
  343. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
  344. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
  345. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
  346. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
  347. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
  348. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
  349. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
  350. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
  351. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
  352. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
  353. data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
  354. data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
  355. data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
  356. data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
  357. data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
  358. data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
  359. data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
  360. data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
  361. data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
  362. data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
  363. data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
  364. data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
  365. data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
  366. data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
  367. data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
  368. data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
  369. data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
  370. data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
  371. data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
  372. data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
  373. data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
  374. data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
  375. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
  376. data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
  377. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
  378. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
  379. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
  380. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
  381. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
  382. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
  383. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
  384. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
  385. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
  386. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
  387. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
  388. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
  389. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
  390. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
  391. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
  392. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
  393. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
  394. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
  395. data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
  396. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
  397. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
  398. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
  399. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
  400. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
  401. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
  402. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
  403. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
  404. data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
  405. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
  406. data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
  407. data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
  408. data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
  409. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
  410. data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
  411. data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
  412. data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
  413. data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
  414. data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
  415. data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
  416. data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
  417. data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
  418. data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
  419. data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
  420. data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
  421. data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
  422. data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
  423. data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
  424. data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
  425. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
  426. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
  427. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
  428. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
  429. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
  430. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
  431. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
  432. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
  433. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
  434. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
  435. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
  436. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
  437. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
  438. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
  439. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
  440. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
  441. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
  442. data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
  444. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
  445. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
  450. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
  451. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
  452. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
  453. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
  454. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
  455. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
  456. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
  457. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
  458. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
  459. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
  460. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
  461. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
  462. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
  463. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
  464. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
  465. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
  466. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
  467. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
  468. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
  469. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
  470. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
  471. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
  472. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
  473. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
  474. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
  475. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
  476. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
  477. data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
  478. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
  479. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
  480. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
  481. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
  482. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
  483. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
  484. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
  485. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
  486. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
  487. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
  488. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
  489. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
  490. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
  491. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
  492. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
  493. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
  494. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
  495. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
  496. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
  497. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
  498. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
  499. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
  500. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
  501. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
  502. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
  503. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
  504. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
  505. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
  506. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
  507. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
  508. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
  509. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
  510. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
  511. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
  512. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
  513. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
  514. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
  515. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
  516. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
  517. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
  518. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
  519. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
  520. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
  521. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
  522. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
  523. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
  524. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
  525. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
  526. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
  527. data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
  528. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
  529. data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
  530. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
  531. data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
  532. data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
  533. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
  534. data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
  535. data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
  536. data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
  537. data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
  538. data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
  539. data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
  540. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
  541. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
  542. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
  543. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
  544. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
  545. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
  546. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
  547. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
  548. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
  549. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
  550. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
  551. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
  552. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
  553. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
  554. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
  555. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
  556. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
  557. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
  558. data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
  559. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
  560. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
  561. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
  562. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
  563. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
  564. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
  565. data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
  566. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
  567. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
  568. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
  569. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
  570. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
  571. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
  572. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
  573. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
  574. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
  575. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
  576. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
  577. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
  578. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
  579. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
  580. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
  581. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
  582. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
  583. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
  584. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
  585. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
  586. data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
  587. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
  588. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
  589. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
  590. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
  591. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
  592. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
  593. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
  594. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
  595. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
  596. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
  597. data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
  598. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
  599. data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
  600. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
  601. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
  602. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
  603. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
  604. data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
  605. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
  606. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
  607. data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
  608. data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
  609. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
  610. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
  611. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
  612. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
  613. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
  614. data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
  615. data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
  616. data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
  617. data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
  618. data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
  619. data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
  620. data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
  621. data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
  622. data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
  623. data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
  624. data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
  625. data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
  626. data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
  627. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
  628. data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
  629. data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
  630. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  631. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
  632. data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
  633. data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
  634. data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
  635. data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
  636. data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
  637. data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
  638. data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
  639. data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
  640. data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
  641. data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
  642. data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
  643. data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
  644. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
  645. data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
  646. data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
  647. data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
  648. data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
  649. data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
  650. data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
  651. data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
  652. data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
  653. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  654. data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
  655. data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
  656. data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
  657. data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
  658. data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
  659. data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
  660. data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
  661. data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
  662. data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
  663. data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
  664. data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
  665. data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
  666. data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
  667. data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
  668. data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
  669. data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
  670. data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
  671. data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
  672. data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
  673. data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
  674. data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
  675. data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
  676. data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
  677. data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
  678. data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
  679. data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
  680. data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
  681. data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
  682. data/vendor/local/share/locale/locale.alias +0 -77
  683. data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
  684. data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
  685. data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
  686. data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
  687. data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
  688. data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
  689. data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
  690. data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
  691. data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
  692. data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
  693. data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
  694. data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
  695. data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
  696. data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
  697. data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
  698. data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
  699. data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
  700. data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
  701. data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
  702. data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
  703. data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
  704. data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
  705. data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
  706. data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
  707. data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
  708. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
  709. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
  710. data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
  711. data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
  712. data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
  713. data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
  714. data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
  715. data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
  716. data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
  717. data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
  718. data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
  719. data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
  720. data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
  721. data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
  722. data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
  723. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
  724. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
  725. data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
  726. data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
  727. data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
  728. data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
  729. data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
  730. data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
  731. data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
  732. data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
  733. data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
  734. data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
  735. data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
  736. data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
  737. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  738. data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
  739. data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
  740. data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
  741. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
  742. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  743. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
  744. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
  745. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
  746. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
  747. data/vendor/local/share/man/man1/envsubst.1 +0 -54
  748. data/vendor/local/share/man/man1/gettext.1 +0 -69
  749. data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
  750. data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
  751. data/vendor/local/share/man/man1/gobject-query.1 +0 -83
  752. data/vendor/local/share/man/man1/ngettext.1 +0 -68
  753. data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
  754. data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
  755. data/vendor/local/share/man/man3/dcgettext.3 +0 -1
  756. data/vendor/local/share/man/man3/dcngettext.3 +0 -1
  757. data/vendor/local/share/man/man3/dgettext.3 +0 -1
  758. data/vendor/local/share/man/man3/dngettext.3 +0 -1
  759. data/vendor/local/share/man/man3/gettext.3 +0 -99
  760. data/vendor/local/share/man/man3/ngettext.3 +0 -60
  761. data/vendor/local/share/man/man3/textdomain.3 +0 -57
  762. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
  763. data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
  764. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
  765. data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,2201 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>GDateTime</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
- <link rel="home" href="index.html" title="GLib Reference Manual">
8
- <link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
- <link rel="prev" href="glib-GTimeZone.html" title="GTimeZone">
10
- <link rel="next" href="glib-Random-Numbers.html" title="Random Numbers">
11
- <meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
- <link rel="stylesheet" href="style.css" type="text/css">
13
- </head>
14
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="glib-GTimeZone.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">GLib Reference Manual</th>
21
- <td><a accesskey="n" href="glib-Random-Numbers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#glib-GDateTime.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#glib-GDateTime.description" class="shortcut">Description</a>
27
- </td></tr>
28
- </table>
29
- <div class="refentry">
30
- <a name="glib-GDateTime"></a><div class="titlepage"></div>
31
- <div class="refnamediv"><table width="100%"><tr>
32
- <td valign="top">
33
- <h2><span class="refentrytitle"><a name="glib-GDateTime.top_of_page"></a>GDateTime</span></h2>
34
- <p>GDateTime — A structure representing Date and Time</p>
35
- </td>
36
- <td valign="top" align="right"></td>
37
- </tr></table></div>
38
- <div class="refsynopsisdiv">
39
- <a name="glib-GDateTime.synopsis"></a><h2>Synopsis</h2>
40
- <pre class="synopsis">
41
- #include &lt;glib.h&gt;
42
-
43
- typedef <a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan">GTimeSpan</a>;
44
- #define <a class="link" href="glib-GDateTime.html#G-TIME-SPAN-DAY:CAPS" title="G_TIME_SPAN_DAY">G_TIME_SPAN_DAY</a>
45
- #define <a class="link" href="glib-GDateTime.html#G-TIME-SPAN-HOUR:CAPS" title="G_TIME_SPAN_HOUR">G_TIME_SPAN_HOUR</a>
46
- #define <a class="link" href="glib-GDateTime.html#G-TIME-SPAN-MINUTE:CAPS" title="G_TIME_SPAN_MINUTE">G_TIME_SPAN_MINUTE</a>
47
- #define <a class="link" href="glib-GDateTime.html#G-TIME-SPAN-SECOND:CAPS" title="G_TIME_SPAN_SECOND">G_TIME_SPAN_SECOND</a>
48
- #define <a class="link" href="glib-GDateTime.html#G-TIME-SPAN-MILLISECOND:CAPS" title="G_TIME_SPAN_MILLISECOND">G_TIME_SPAN_MILLISECOND</a>
49
-
50
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime">GDateTime</a>;
51
- <span class="returnvalue">void</span> <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()">g_date_time_unref</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
52
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-ref" title="g_date_time_ref ()">g_date_time_ref</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
53
-
54
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-now" title="g_date_time_new_now ()">g_date_time_new_now</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
55
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-now-local" title="g_date_time_new_now_local ()">g_date_time_new_now_local</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
56
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-now-utc" title="g_date_time_new_now_utc ()">g_date_time_new_now_utc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
57
-
58
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-from-unix-local" title="g_date_time_new_from_unix_local ()">g_date_time_new_from_unix_local</a>
59
- (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> t</code></em>);
60
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-from-unix-utc" title="g_date_time_new_from_unix_utc ()">g_date_time_new_from_unix_utc</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> t</code></em>);
61
-
62
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-from-timeval-local" title="g_date_time_new_from_timeval_local ()">g_date_time_new_from_timeval_local</a>
63
- (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);
64
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-from-timeval-utc" title="g_date_time_new_from_timeval_utc ()">g_date_time_new_from_timeval_utc</a>
65
- (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);
66
-
67
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new" title="g_date_time_new ()">g_date_time_new</a> (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
68
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
69
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
70
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
71
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
72
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
73
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);
74
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-local" title="g_date_time_new_local ()">g_date_time_new_local</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
75
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
76
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
77
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
78
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
79
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);
80
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-new-utc" title="g_date_time_new_utc ()">g_date_time_new_utc</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
81
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
82
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
83
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
84
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
85
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);
86
-
87
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add" title="g_date_time_add ()">g_date_time_add</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
88
- <em class="parameter"><code><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a> timespan</code></em>);
89
-
90
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-years" title="g_date_time_add_years ()">g_date_time_add_years</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
91
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> years</code></em>);
92
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-months" title="g_date_time_add_months ()">g_date_time_add_months</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
93
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> months</code></em>);
94
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-weeks" title="g_date_time_add_weeks ()">g_date_time_add_weeks</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
95
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> weeks</code></em>);
96
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-days" title="g_date_time_add_days ()">g_date_time_add_days</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
97
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> days</code></em>);
98
-
99
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-hours" title="g_date_time_add_hours ()">g_date_time_add_hours</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
100
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hours</code></em>);
101
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-minutes" title="g_date_time_add_minutes ()">g_date_time_add_minutes</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
102
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minutes</code></em>);
103
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-seconds" title="g_date_time_add_seconds ()">g_date_time_add_seconds</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
104
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);
105
-
106
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-add-full" title="g_date_time_add_full ()">g_date_time_add_full</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
107
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> years</code></em>,
108
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> months</code></em>,
109
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> days</code></em>,
110
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hours</code></em>,
111
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minutes</code></em>,
112
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);
113
-
114
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-compare" title="g_date_time_compare ()">g_date_time_compare</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt1</code></em>,
115
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt2</code></em>);
116
- <a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="returnvalue">GTimeSpan</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-difference" title="g_date_time_difference ()">g_date_time_difference</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *end</code></em>,
117
- <em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *begin</code></em>);
118
- <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-hash" title="g_date_time_hash ()">g_date_time_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> datetime</code></em>);
119
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-equal" title="g_date_time_equal ()">g_date_time_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt1</code></em>,
120
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt2</code></em>);
121
-
122
- <span class="returnvalue">void</span> <a class="link" href="glib-GDateTime.html#g-date-time-get-ymd" title="g_date_time_get_ymd ()">g_date_time_get_ymd</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
123
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *year</code></em>,
124
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *month</code></em>,
125
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *day</code></em>);
126
-
127
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-year" title="g_date_time_get_year ()">g_date_time_get_year</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
128
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-month" title="g_date_time_get_month ()">g_date_time_get_month</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
129
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-day-of-month" title="g_date_time_get_day_of_month ()">g_date_time_get_day_of_month</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
130
-
131
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-week-numbering-year" title="g_date_time_get_week_numbering_year ()">g_date_time_get_week_numbering_year</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
132
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-week-of-year" title="g_date_time_get_week_of_year ()">g_date_time_get_week_of_year</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
133
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-day-of-week" title="g_date_time_get_day_of_week ()">g_date_time_get_day_of_week</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
134
-
135
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-day-of-year" title="g_date_time_get_day_of_year ()">g_date_time_get_day_of_year</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
136
-
137
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-hour" title="g_date_time_get_hour ()">g_date_time_get_hour</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
138
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-minute" title="g_date_time_get_minute ()">g_date_time_get_minute</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
139
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-second" title="g_date_time_get_second ()">g_date_time_get_second</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
140
- <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-microsecond" title="g_date_time_get_microsecond ()">g_date_time_get_microsecond</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
141
- <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-seconds" title="g_date_time_get_seconds ()">g_date_time_get_seconds</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
142
-
143
- <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-to-unix" title="g_date_time_to_unix ()">g_date_time_to_unix</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
144
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-to-timeval" title="g_date_time_to_timeval ()">g_date_time_to_timeval</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
145
- <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);
146
-
147
- <a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="returnvalue">GTimeSpan</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-get-utc-offset" title="g_date_time_get_utc_offset ()">g_date_time_get_utc_offset</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
148
- const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-get-timezone-abbreviation" title="g_date_time_get_timezone_abbreviation ()">g_date_time_get_timezone_abbreviation</a>
149
- (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
150
- <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GDateTime.html#g-date-time-is-daylight-savings" title="g_date_time_is_daylight_savings ()">g_date_time_is_daylight_savings</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
151
-
152
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-to-timezone" title="g_date_time_to_timezone ()">g_date_time_to_timezone</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
153
- <em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
154
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-to-local" title="g_date_time_to_local ()">g_date_time_to_local</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
155
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-to-utc" title="g_date_time_to_utc ()">g_date_time_to_utc</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
156
-
157
- <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GDateTime.html#g-date-time-format" title="g_date_time_format ()">g_date_time_format</a> (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
158
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>);
159
- </pre>
160
- </div>
161
- <div class="refsect1">
162
- <a name="glib-GDateTime.description"></a><h2>Description</h2>
163
- <p>
164
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is a structure that combines a Gregorian date and time
165
- into a single structure. It provides many conversion and methods to
166
- manipulate dates and times. Time precision is provided down to
167
- microseconds and the time can range (proleptically) from 0001-01-01
168
- 00:00:00 to 9999-12-31 23:59:59.999999. <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> follows POSIX
169
- time in the sense that it is oblivious to leap seconds.
170
- </p>
171
- <p>
172
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is an immutable object; once it has been created it cannot
173
- be modified further. All modifiers will create a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
174
- Nearly all such functions can fail due to the date or time going out
175
- of range, in which case <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> will be returned.
176
- </p>
177
- <p>
178
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is reference counted: the reference count is increased by calling
179
- <a class="link" href="glib-GDateTime.html#g-date-time-ref" title="g_date_time_ref ()"><code class="function">g_date_time_ref()</code></a> and decreased by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>. When the
180
- reference count drops to 0, the resources allocated by the <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
181
- structure are released.
182
- </p>
183
- <p>
184
- Many parts of the API may produce non-obvious results. As an
185
- example, adding two months to January 31st will yield March 31st
186
- whereas adding one month and then one month again will yield either
187
- March 28th or March 29th. Also note that adding 24 hours is not
188
- always the same as adding one day (since days containing daylight
189
- savings time transitions are either 23 or 25 hours in length).
190
- </p>
191
- <p>
192
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is available since GLib 2.26.
193
- </p>
194
- </div>
195
- <div class="refsect1">
196
- <a name="glib-GDateTime.details"></a><h2>Details</h2>
197
- <div class="refsect2">
198
- <a name="GTimeSpan"></a><h3>GTimeSpan</h3>
199
- <pre class="programlisting">typedef gint64 GTimeSpan;
200
- </pre>
201
- <p>
202
- A value representing an interval of time, in microseconds.
203
- </p>
204
- <p class="since">Since 2.26</p>
205
- </div>
206
- <hr>
207
- <div class="refsect2">
208
- <a name="G-TIME-SPAN-DAY:CAPS"></a><h3>G_TIME_SPAN_DAY</h3>
209
- <pre class="programlisting">#define G_TIME_SPAN_DAY (G_GINT64_CONSTANT (86400000000))
210
- </pre>
211
- <p>
212
- Evaluates to a time span of one day.
213
- </p>
214
- <p class="since">Since 2.26</p>
215
- </div>
216
- <hr>
217
- <div class="refsect2">
218
- <a name="G-TIME-SPAN-HOUR:CAPS"></a><h3>G_TIME_SPAN_HOUR</h3>
219
- <pre class="programlisting">#define G_TIME_SPAN_HOUR (G_GINT64_CONSTANT (3600000000))
220
- </pre>
221
- <p>
222
- Evaluates to a time span of one hour.
223
- </p>
224
- <p class="since">Since 2.26</p>
225
- </div>
226
- <hr>
227
- <div class="refsect2">
228
- <a name="G-TIME-SPAN-MINUTE:CAPS"></a><h3>G_TIME_SPAN_MINUTE</h3>
229
- <pre class="programlisting">#define G_TIME_SPAN_MINUTE (G_GINT64_CONSTANT (60000000))
230
- </pre>
231
- <p>
232
- Evaluates to a time span of one minute.
233
- </p>
234
- <p class="since">Since 2.26</p>
235
- </div>
236
- <hr>
237
- <div class="refsect2">
238
- <a name="G-TIME-SPAN-SECOND:CAPS"></a><h3>G_TIME_SPAN_SECOND</h3>
239
- <pre class="programlisting">#define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT (1000000))
240
- </pre>
241
- <p>
242
- Evaluates to a time span of one second.
243
- </p>
244
- <p class="since">Since 2.26</p>
245
- </div>
246
- <hr>
247
- <div class="refsect2">
248
- <a name="G-TIME-SPAN-MILLISECOND:CAPS"></a><h3>G_TIME_SPAN_MILLISECOND</h3>
249
- <pre class="programlisting">#define G_TIME_SPAN_MILLISECOND (G_GINT64_CONSTANT (1000))
250
- </pre>
251
- <p>
252
- Evaluates to a time span of one millisecond.
253
- </p>
254
- <p class="since">Since 2.26</p>
255
- </div>
256
- <hr>
257
- <div class="refsect2">
258
- <a name="GDateTime"></a><h3>GDateTime</h3>
259
- <pre class="programlisting">typedef struct _GDateTime GDateTime;</pre>
260
- <p>
261
- <span class="structname">GDateTime</span> is an opaque structure whose members
262
- cannot be accessed directly.
263
- </p>
264
- <p class="since">Since 2.26</p>
265
- </div>
266
- <hr>
267
- <div class="refsect2">
268
- <a name="g-date-time-unref"></a><h3>g_date_time_unref ()</h3>
269
- <pre class="programlisting"><span class="returnvalue">void</span> g_date_time_unref (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
270
- <p>
271
- Atomically decrements the reference count of <em class="parameter"><code>datetime</code></em> by one.
272
- </p>
273
- <p>
274
- When the reference count reaches zero, the resources allocated by
275
- <em class="parameter"><code>datetime</code></em> are freed
276
- </p>
277
- <div class="variablelist"><table border="0">
278
- <col align="left" valign="top">
279
- <tbody><tr>
280
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
281
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
282
- </td>
283
- </tr></tbody>
284
- </table></div>
285
- <p class="since">Since 2.26</p>
286
- </div>
287
- <hr>
288
- <div class="refsect2">
289
- <a name="g-date-time-ref"></a><h3>g_date_time_ref ()</h3>
290
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_ref (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
291
- <p>
292
- Atomically increments the reference count of <em class="parameter"><code>datetime</code></em> by one.
293
- </p>
294
- <div class="variablelist"><table border="0">
295
- <col align="left" valign="top">
296
- <tbody>
297
- <tr>
298
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
299
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
300
- </td>
301
- </tr>
302
- <tr>
303
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
304
- <td> the <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> with the reference count increased
305
-
306
- </td>
307
- </tr>
308
- </tbody>
309
- </table></div>
310
- <p class="since">Since 2.26</p>
311
- </div>
312
- <hr>
313
- <div class="refsect2">
314
- <a name="g-date-time-new-now"></a><h3>g_date_time_new_now ()</h3>
315
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_now (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
316
- <p>
317
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to this exact instant in the given
318
- time zone <em class="parameter"><code>tz</code></em>. The time is as accurate as the system allows, to a
319
- maximum accuracy of 1 microsecond.
320
- </p>
321
- <p>
322
- This function will always succeed unless the system clock is set to
323
- truly insane values (or unless GLib is still being used after the
324
- year 9999).
325
- </p>
326
- <p>
327
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
328
- when you are done with it.
329
- </p>
330
- <div class="variablelist"><table border="0">
331
- <col align="left" valign="top">
332
- <tbody>
333
- <tr>
334
- <td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
335
- <td>a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
336
- </td>
337
- </tr>
338
- <tr>
339
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
340
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
341
-
342
- </td>
343
- </tr>
344
- </tbody>
345
- </table></div>
346
- <p class="since">Since 2.26</p>
347
- </div>
348
- <hr>
349
- <div class="refsect2">
350
- <a name="g-date-time-new-now-local"></a><h3>g_date_time_new_now_local ()</h3>
351
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_now_local (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
352
- <p>
353
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to this exact instant in the local
354
- time zone.
355
- </p>
356
- <p>
357
- This is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-new-now" title="g_date_time_new_now ()"><code class="function">g_date_time_new_now()</code></a> with the time
358
- zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()"><code class="function">g_time_zone_new_local()</code></a>.
359
- </p>
360
- <div class="variablelist"><table border="0">
361
- <col align="left" valign="top">
362
- <tbody><tr>
363
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
364
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
365
-
366
- </td>
367
- </tr></tbody>
368
- </table></div>
369
- <p class="since">Since 2.26</p>
370
- </div>
371
- <hr>
372
- <div class="refsect2">
373
- <a name="g-date-time-new-now-utc"></a><h3>g_date_time_new_now_utc ()</h3>
374
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_now_utc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
375
- <p>
376
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to this exact instant in UTC.
377
- </p>
378
- <p>
379
- This is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-new-now" title="g_date_time_new_now ()"><code class="function">g_date_time_new_now()</code></a> with the time
380
- zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc" title="g_time_zone_new_utc ()"><code class="function">g_time_zone_new_utc()</code></a>.
381
- </p>
382
- <div class="variablelist"><table border="0">
383
- <col align="left" valign="top">
384
- <tbody><tr>
385
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
386
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
387
-
388
- </td>
389
- </tr></tbody>
390
- </table></div>
391
- <p class="since">Since 2.26</p>
392
- </div>
393
- <hr>
394
- <div class="refsect2">
395
- <a name="g-date-time-new-from-unix-local"></a><h3>g_date_time_new_from_unix_local ()</h3>
396
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_from_unix_local
397
- (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> t</code></em>);</pre>
398
- <p>
399
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given Unix time <em class="parameter"><code>t</code></em> in the
400
- local time zone.
401
- </p>
402
- <p>
403
- Unix time is the number of seconds that have elapsed since 1970-01-01
404
- 00:00:00 UTC, regardless of the local time offset.
405
- </p>
406
- <p>
407
- This call can fail (returning <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>) if <em class="parameter"><code>t</code></em> represents a time outside
408
- of the supported range of <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
409
- </p>
410
- <p>
411
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
412
- when you are done with it.
413
- </p>
414
- <div class="variablelist"><table border="0">
415
- <col align="left" valign="top">
416
- <tbody>
417
- <tr>
418
- <td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
419
- <td>the Unix time
420
- </td>
421
- </tr>
422
- <tr>
423
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
424
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
425
-
426
- </td>
427
- </tr>
428
- </tbody>
429
- </table></div>
430
- <p class="since">Since 2.26</p>
431
- </div>
432
- <hr>
433
- <div class="refsect2">
434
- <a name="g-date-time-new-from-unix-utc"></a><h3>g_date_time_new_from_unix_utc ()</h3>
435
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_from_unix_utc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> t</code></em>);</pre>
436
- <p>
437
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given Unix time <em class="parameter"><code>t</code></em> in UTC.
438
- </p>
439
- <p>
440
- Unix time is the number of seconds that have elapsed since 1970-01-01
441
- 00:00:00 UTC.
442
- </p>
443
- <p>
444
- This call can fail (returning <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>) if <em class="parameter"><code>t</code></em> represents a time outside
445
- of the supported range of <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
446
- </p>
447
- <p>
448
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
449
- when you are done with it.
450
- </p>
451
- <div class="variablelist"><table border="0">
452
- <col align="left" valign="top">
453
- <tbody>
454
- <tr>
455
- <td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
456
- <td>the Unix time
457
- </td>
458
- </tr>
459
- <tr>
460
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
461
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
462
-
463
- </td>
464
- </tr>
465
- </tbody>
466
- </table></div>
467
- <p class="since">Since 2.26</p>
468
- </div>
469
- <hr>
470
- <div class="refsect2">
471
- <a name="g-date-time-new-from-timeval-local"></a><h3>g_date_time_new_from_timeval_local ()</h3>
472
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_from_timeval_local
473
- (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
474
- <p>
475
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> <em class="parameter"><code>tv</code></em> in the
476
- local time zone.
477
- </p>
478
- <p>
479
- The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
480
- seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the
481
- local time offset.
482
- </p>
483
- <p>
484
- This call can fail (returning <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>) if <em class="parameter"><code>tv</code></em> represents a time outside
485
- of the supported range of <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
486
- </p>
487
- <p>
488
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
489
- when you are done with it.
490
- </p>
491
- <div class="variablelist"><table border="0">
492
- <col align="left" valign="top">
493
- <tbody>
494
- <tr>
495
- <td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
496
- <td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
497
- </td>
498
- </tr>
499
- <tr>
500
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
501
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
502
-
503
- </td>
504
- </tr>
505
- </tbody>
506
- </table></div>
507
- <p class="since">Since 2.26</p>
508
- </div>
509
- <hr>
510
- <div class="refsect2">
511
- <a name="g-date-time-new-from-timeval-utc"></a><h3>g_date_time_new_from_timeval_utc ()</h3>
512
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_from_timeval_utc
513
- (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
514
- <p>
515
- Creates a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> <em class="parameter"><code>tv</code></em> in UTC.
516
- </p>
517
- <p>
518
- The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
519
- seconds elapsed since 1970-01-01 00:00:00 UTC.
520
- </p>
521
- <p>
522
- This call can fail (returning <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>) if <em class="parameter"><code>tv</code></em> represents a time outside
523
- of the supported range of <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
524
- </p>
525
- <p>
526
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
527
- when you are done with it.
528
- </p>
529
- <div class="variablelist"><table border="0">
530
- <col align="left" valign="top">
531
- <tbody>
532
- <tr>
533
- <td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
534
- <td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
535
- </td>
536
- </tr>
537
- <tr>
538
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
539
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
540
-
541
- </td>
542
- </tr>
543
- </tbody>
544
- </table></div>
545
- <p class="since">Since 2.26</p>
546
- </div>
547
- <hr>
548
- <div class="refsect2">
549
- <a name="g-date-time-new"></a><h3>g_date_time_new ()</h3>
550
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new (<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>,
551
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
552
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
553
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
554
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
555
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
556
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);</pre>
557
- <p>
558
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given date and time in
559
- the time zone <em class="parameter"><code>tz</code></em>.
560
- </p>
561
- <p>
562
- The <em class="parameter"><code>year</code></em> must be between 1 and 9999, <em class="parameter"><code>month</code></em> between 1 and 12 and <em class="parameter"><code>day</code></em>
563
- between 1 and 28, 29, 30 or 31 depending on the month and the year.
564
- </p>
565
- <p>
566
- <em class="parameter"><code>hour</code></em> must be between 0 and 23 and <em class="parameter"><code>minute</code></em> must be between 0 and 59.
567
- </p>
568
- <p>
569
- <em class="parameter"><code>seconds</code></em> must be at least 0.0 and must be strictly less than 60.0.
570
- It will be rounded down to the nearest microsecond.
571
- </p>
572
- <p>
573
- If the given time is not representable in the given time zone (for
574
- example, 02:30 on March 14th 2010 in Toronto, due to daylight savings
575
- time) then the time will be rounded up to the nearest existing time
576
- (in this case, 03:00). If this matters to you then you should verify
577
- the return value for containing the same as the numbers you gave.
578
- </p>
579
- <p>
580
- In the case that the given time is ambiguous in the given time zone
581
- (for example, 01:30 on November 7th 2010 in Toronto, due to daylight
582
- savings time) then the time falling within standard (ie:
583
- non-daylight) time is taken.
584
- </p>
585
- <p>
586
- It not considered a programmer error for the values to this function
587
- to be out of range, but in the case that they are, the function will
588
- return <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
589
- </p>
590
- <p>
591
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
592
- when you are done with it.
593
- </p>
594
- <div class="variablelist"><table border="0">
595
- <col align="left" valign="top">
596
- <tbody>
597
- <tr>
598
- <td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
599
- <td>a <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
600
- </td>
601
- </tr>
602
- <tr>
603
- <td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
604
- <td>the year component of the date
605
- </td>
606
- </tr>
607
- <tr>
608
- <td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
609
- <td>the month component of the date
610
- </td>
611
- </tr>
612
- <tr>
613
- <td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
614
- <td>the day component of the date
615
- </td>
616
- </tr>
617
- <tr>
618
- <td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
619
- <td>the hour component of the date
620
- </td>
621
- </tr>
622
- <tr>
623
- <td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
624
- <td>the minute component of the date
625
- </td>
626
- </tr>
627
- <tr>
628
- <td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
629
- <td>the number of seconds past the minute
630
- </td>
631
- </tr>
632
- <tr>
633
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
634
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
635
-
636
- </td>
637
- </tr>
638
- </tbody>
639
- </table></div>
640
- <p class="since">Since 2.26</p>
641
- </div>
642
- <hr>
643
- <div class="refsect2">
644
- <a name="g-date-time-new-local"></a><h3>g_date_time_new_local ()</h3>
645
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_local (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
646
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
647
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
648
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
649
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
650
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);</pre>
651
- <p>
652
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given date and time in
653
- the local time zone.
654
- </p>
655
- <p>
656
- This call is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-new" title="g_date_time_new ()"><code class="function">g_date_time_new()</code></a> with the time
657
- zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()"><code class="function">g_time_zone_new_local()</code></a>.
658
- </p>
659
- <div class="variablelist"><table border="0">
660
- <col align="left" valign="top">
661
- <tbody>
662
- <tr>
663
- <td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
664
- <td>the year component of the date
665
- </td>
666
- </tr>
667
- <tr>
668
- <td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
669
- <td>the month component of the date
670
- </td>
671
- </tr>
672
- <tr>
673
- <td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
674
- <td>the day component of the date
675
- </td>
676
- </tr>
677
- <tr>
678
- <td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
679
- <td>the hour component of the date
680
- </td>
681
- </tr>
682
- <tr>
683
- <td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
684
- <td>the minute component of the date
685
- </td>
686
- </tr>
687
- <tr>
688
- <td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
689
- <td>the number of seconds past the minute
690
- </td>
691
- </tr>
692
- <tr>
693
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
694
- <td> a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
695
-
696
- </td>
697
- </tr>
698
- </tbody>
699
- </table></div>
700
- <p class="since">Since 2.26.</p>
701
- </div>
702
- <hr>
703
- <div class="refsect2">
704
- <a name="g-date-time-new-utc"></a><h3>g_date_time_new_utc ()</h3>
705
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_new_utc (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
706
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
707
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
708
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
709
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minute</code></em>,
710
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);</pre>
711
- <p>
712
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the given date and time in
713
- UTC.
714
- </p>
715
- <p>
716
- This call is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-new" title="g_date_time_new ()"><code class="function">g_date_time_new()</code></a> with the time
717
- zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc" title="g_time_zone_new_utc ()"><code class="function">g_time_zone_new_utc()</code></a>.
718
- </p>
719
- <div class="variablelist"><table border="0">
720
- <col align="left" valign="top">
721
- <tbody>
722
- <tr>
723
- <td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
724
- <td>the year component of the date
725
- </td>
726
- </tr>
727
- <tr>
728
- <td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
729
- <td>the month component of the date
730
- </td>
731
- </tr>
732
- <tr>
733
- <td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
734
- <td>the day component of the date
735
- </td>
736
- </tr>
737
- <tr>
738
- <td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
739
- <td>the hour component of the date
740
- </td>
741
- </tr>
742
- <tr>
743
- <td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
744
- <td>the minute component of the date
745
- </td>
746
- </tr>
747
- <tr>
748
- <td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
749
- <td>the number of seconds past the minute
750
- </td>
751
- </tr>
752
- <tr>
753
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
754
- <td> a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
755
-
756
- </td>
757
- </tr>
758
- </tbody>
759
- </table></div>
760
- <p class="since">Since 2.26.</p>
761
- </div>
762
- <hr>
763
- <div class="refsect2">
764
- <a name="g-date-time-add"></a><h3>g_date_time_add ()</h3>
765
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
766
- <em class="parameter"><code><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a> timespan</code></em>);</pre>
767
- <p>
768
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified timespan to the copy.
769
- </p>
770
- <div class="variablelist"><table border="0">
771
- <col align="left" valign="top">
772
- <tbody>
773
- <tr>
774
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
775
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
776
- </td>
777
- </tr>
778
- <tr>
779
- <td><p><span class="term"><em class="parameter"><code>timespan</code></em> :</span></p></td>
780
- <td>a <a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a>
781
- </td>
782
- </tr>
783
- <tr>
784
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
785
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
786
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
787
-
788
- </td>
789
- </tr>
790
- </tbody>
791
- </table></div>
792
- <p class="since">Since 2.26</p>
793
- </div>
794
- <hr>
795
- <div class="refsect2">
796
- <a name="g-date-time-add-years"></a><h3>g_date_time_add_years ()</h3>
797
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_years (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
798
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> years</code></em>);</pre>
799
- <p>
800
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of years to the
801
- copy.
802
- </p>
803
- <div class="variablelist"><table border="0">
804
- <col align="left" valign="top">
805
- <tbody>
806
- <tr>
807
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
808
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
809
- </td>
810
- </tr>
811
- <tr>
812
- <td><p><span class="term"><em class="parameter"><code>years</code></em> :</span></p></td>
813
- <td>the number of years
814
- </td>
815
- </tr>
816
- <tr>
817
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
818
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
819
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
820
-
821
- </td>
822
- </tr>
823
- </tbody>
824
- </table></div>
825
- <p class="since">Since 2.26</p>
826
- </div>
827
- <hr>
828
- <div class="refsect2">
829
- <a name="g-date-time-add-months"></a><h3>g_date_time_add_months ()</h3>
830
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_months (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
831
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> months</code></em>);</pre>
832
- <p>
833
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of months to the
834
- copy.
835
- </p>
836
- <div class="variablelist"><table border="0">
837
- <col align="left" valign="top">
838
- <tbody>
839
- <tr>
840
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
841
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
842
- </td>
843
- </tr>
844
- <tr>
845
- <td><p><span class="term"><em class="parameter"><code>months</code></em> :</span></p></td>
846
- <td>the number of months
847
- </td>
848
- </tr>
849
- <tr>
850
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
851
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
852
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
853
-
854
- </td>
855
- </tr>
856
- </tbody>
857
- </table></div>
858
- <p class="since">Since 2.26</p>
859
- </div>
860
- <hr>
861
- <div class="refsect2">
862
- <a name="g-date-time-add-weeks"></a><h3>g_date_time_add_weeks ()</h3>
863
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_weeks (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
864
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> weeks</code></em>);</pre>
865
- <p>
866
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of weeks to the
867
- copy.
868
- </p>
869
- <div class="variablelist"><table border="0">
870
- <col align="left" valign="top">
871
- <tbody>
872
- <tr>
873
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
874
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
875
- </td>
876
- </tr>
877
- <tr>
878
- <td><p><span class="term"><em class="parameter"><code>weeks</code></em> :</span></p></td>
879
- <td>the number of weeks
880
- </td>
881
- </tr>
882
- <tr>
883
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
884
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
885
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
886
-
887
- </td>
888
- </tr>
889
- </tbody>
890
- </table></div>
891
- <p class="since">Since 2.26</p>
892
- </div>
893
- <hr>
894
- <div class="refsect2">
895
- <a name="g-date-time-add-days"></a><h3>g_date_time_add_days ()</h3>
896
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_days (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
897
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> days</code></em>);</pre>
898
- <p>
899
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of days to the
900
- copy.
901
- </p>
902
- <div class="variablelist"><table border="0">
903
- <col align="left" valign="top">
904
- <tbody>
905
- <tr>
906
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
907
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
908
- </td>
909
- </tr>
910
- <tr>
911
- <td><p><span class="term"><em class="parameter"><code>days</code></em> :</span></p></td>
912
- <td>the number of days
913
- </td>
914
- </tr>
915
- <tr>
916
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
917
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
918
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
919
-
920
- </td>
921
- </tr>
922
- </tbody>
923
- </table></div>
924
- <p class="since">Since 2.26</p>
925
- </div>
926
- <hr>
927
- <div class="refsect2">
928
- <a name="g-date-time-add-hours"></a><h3>g_date_time_add_hours ()</h3>
929
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_hours (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
930
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hours</code></em>);</pre>
931
- <p>
932
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of hours
933
- </p>
934
- <div class="variablelist"><table border="0">
935
- <col align="left" valign="top">
936
- <tbody>
937
- <tr>
938
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
939
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
940
- </td>
941
- </tr>
942
- <tr>
943
- <td><p><span class="term"><em class="parameter"><code>hours</code></em> :</span></p></td>
944
- <td>the number of hours to add
945
- </td>
946
- </tr>
947
- <tr>
948
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
949
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
950
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
951
-
952
- </td>
953
- </tr>
954
- </tbody>
955
- </table></div>
956
- <p class="since">Since 2.26</p>
957
- </div>
958
- <hr>
959
- <div class="refsect2">
960
- <a name="g-date-time-add-minutes"></a><h3>g_date_time_add_minutes ()</h3>
961
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_minutes (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
962
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minutes</code></em>);</pre>
963
- <p>
964
- Creates a copy of <em class="parameter"><code>datetime</code></em> adding the specified number of minutes.
965
- </p>
966
- <div class="variablelist"><table border="0">
967
- <col align="left" valign="top">
968
- <tbody>
969
- <tr>
970
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
971
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
972
- </td>
973
- </tr>
974
- <tr>
975
- <td><p><span class="term"><em class="parameter"><code>minutes</code></em> :</span></p></td>
976
- <td>the number of minutes to add
977
- </td>
978
- </tr>
979
- <tr>
980
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
981
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
982
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
983
-
984
- </td>
985
- </tr>
986
- </tbody>
987
- </table></div>
988
- <p class="since">Since 2.26</p>
989
- </div>
990
- <hr>
991
- <div class="refsect2">
992
- <a name="g-date-time-add-seconds"></a><h3>g_date_time_add_seconds ()</h3>
993
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_seconds (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
994
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);</pre>
995
- <p>
996
- Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of seconds.
997
- </p>
998
- <div class="variablelist"><table border="0">
999
- <col align="left" valign="top">
1000
- <tbody>
1001
- <tr>
1002
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1003
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1004
- </td>
1005
- </tr>
1006
- <tr>
1007
- <td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
1008
- <td>the number of seconds to add
1009
- </td>
1010
- </tr>
1011
- <tr>
1012
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1013
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which should be freed with
1014
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
1015
-
1016
- </td>
1017
- </tr>
1018
- </tbody>
1019
- </table></div>
1020
- <p class="since">Since 2.26</p>
1021
- </div>
1022
- <hr>
1023
- <div class="refsect2">
1024
- <a name="g-date-time-add-full"></a><h3>g_date_time_add_full ()</h3>
1025
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_add_full (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
1026
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> years</code></em>,
1027
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> months</code></em>,
1028
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> days</code></em>,
1029
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hours</code></em>,
1030
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> minutes</code></em>,
1031
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> seconds</code></em>);</pre>
1032
- <p>
1033
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> adding the specified values to the current date and
1034
- time in <em class="parameter"><code>datetime</code></em>.
1035
- </p>
1036
- <div class="variablelist"><table border="0">
1037
- <col align="left" valign="top">
1038
- <tbody>
1039
- <tr>
1040
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1041
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1042
- </td>
1043
- </tr>
1044
- <tr>
1045
- <td><p><span class="term"><em class="parameter"><code>years</code></em> :</span></p></td>
1046
- <td>the number of years to add
1047
- </td>
1048
- </tr>
1049
- <tr>
1050
- <td><p><span class="term"><em class="parameter"><code>months</code></em> :</span></p></td>
1051
- <td>the number of months to add
1052
- </td>
1053
- </tr>
1054
- <tr>
1055
- <td><p><span class="term"><em class="parameter"><code>days</code></em> :</span></p></td>
1056
- <td>the number of days to add
1057
- </td>
1058
- </tr>
1059
- <tr>
1060
- <td><p><span class="term"><em class="parameter"><code>hours</code></em> :</span></p></td>
1061
- <td>the number of hours to add
1062
- </td>
1063
- </tr>
1064
- <tr>
1065
- <td><p><span class="term"><em class="parameter"><code>minutes</code></em> :</span></p></td>
1066
- <td>the number of minutes to add
1067
- </td>
1068
- </tr>
1069
- <tr>
1070
- <td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
1071
- <td>the number of seconds to add
1072
- </td>
1073
- </tr>
1074
- <tr>
1075
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1076
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> that should be freed with
1077
- <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>.
1078
-
1079
- </td>
1080
- </tr>
1081
- </tbody>
1082
- </table></div>
1083
- <p class="since">Since 2.26</p>
1084
- </div>
1085
- <hr>
1086
- <div class="refsect2">
1087
- <a name="g-date-time-compare"></a><h3>g_date_time_compare ()</h3>
1088
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_compare (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt1</code></em>,
1089
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt2</code></em>);</pre>
1090
- <p>
1091
- <span class="type">GCompareFunc-compatible</span> comparison for <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>'s. Both
1092
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>&lt;-- --&gt;'s must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
1093
- </p>
1094
- <div class="variablelist"><table border="0">
1095
- <col align="left" valign="top">
1096
- <tbody>
1097
- <tr>
1098
- <td><p><span class="term"><em class="parameter"><code>dt1</code></em> :</span></p></td>
1099
- <td>first <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare
1100
- </td>
1101
- </tr>
1102
- <tr>
1103
- <td><p><span class="term"><em class="parameter"><code>dt2</code></em> :</span></p></td>
1104
- <td>second <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare
1105
- </td>
1106
- </tr>
1107
- <tr>
1108
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1109
- <td> 0 for equal, less than zero if dt1 is less than dt2, greater
1110
- than zero if dt2 is greator than dt1.
1111
-
1112
- </td>
1113
- </tr>
1114
- </tbody>
1115
- </table></div>
1116
- <p class="since">Since 2.26</p>
1117
- </div>
1118
- <hr>
1119
- <div class="refsect2">
1120
- <a name="g-date-time-difference"></a><h3>g_date_time_difference ()</h3>
1121
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="returnvalue">GTimeSpan</span></a> g_date_time_difference (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *end</code></em>,
1122
- <em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *begin</code></em>);</pre>
1123
- <p>
1124
- Calculates the difference in time between <em class="parameter"><code>end</code></em> and <em class="parameter"><code>begin</code></em>. The
1125
- <a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a> that is returned is effectively <em class="parameter"><code>end</code></em> - <em class="parameter"><code>begin</code></em> (ie:
1126
- positive if the first simparameter is larger).
1127
- </p>
1128
- <div class="variablelist"><table border="0">
1129
- <col align="left" valign="top">
1130
- <tbody>
1131
- <tr>
1132
- <td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
1133
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1134
- </td>
1135
- </tr>
1136
- <tr>
1137
- <td><p><span class="term"><em class="parameter"><code>begin</code></em> :</span></p></td>
1138
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1139
- </td>
1140
- </tr>
1141
- <tr>
1142
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1143
- <td> the difference between the two <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, as a time
1144
- span expressed in microseconds.
1145
-
1146
- </td>
1147
- </tr>
1148
- </tbody>
1149
- </table></div>
1150
- <p class="since">Since 2.26</p>
1151
- </div>
1152
- <hr>
1153
- <div class="refsect2">
1154
- <a name="g-date-time-hash"></a><h3>g_date_time_hash ()</h3>
1155
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_time_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> datetime</code></em>);</pre>
1156
- <p>
1157
- Hashes <em class="parameter"><code>datetime</code></em> into a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a>, suitable for use within <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>.
1158
- </p>
1159
- <div class="variablelist"><table border="0">
1160
- <col align="left" valign="top">
1161
- <tbody>
1162
- <tr>
1163
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1164
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1165
- </td>
1166
- </tr>
1167
- <tr>
1168
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1169
- <td> a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> containing the hash
1170
-
1171
- </td>
1172
- </tr>
1173
- </tbody>
1174
- </table></div>
1175
- <p class="since">Since 2.26</p>
1176
- </div>
1177
- <hr>
1178
- <div class="refsect2">
1179
- <a name="g-date-time-equal"></a><h3>g_date_time_equal ()</h3>
1180
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_time_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt1</code></em>,
1181
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> dt2</code></em>);</pre>
1182
- <p>
1183
- Checks to see if <em class="parameter"><code>dt1</code></em> and <em class="parameter"><code>dt2</code></em> are equal.
1184
- </p>
1185
- <p>
1186
- Equal here means that they represent the same moment after converting
1187
- them to the same time zone.
1188
- </p>
1189
- <div class="variablelist"><table border="0">
1190
- <col align="left" valign="top">
1191
- <tbody>
1192
- <tr>
1193
- <td><p><span class="term"><em class="parameter"><code>dt1</code></em> :</span></p></td>
1194
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1195
- </td>
1196
- </tr>
1197
- <tr>
1198
- <td><p><span class="term"><em class="parameter"><code>dt2</code></em> :</span></p></td>
1199
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1200
- </td>
1201
- </tr>
1202
- <tr>
1203
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1204
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>dt1</code></em> and <em class="parameter"><code>dt2</code></em> are equal
1205
-
1206
- </td>
1207
- </tr>
1208
- </tbody>
1209
- </table></div>
1210
- <p class="since">Since 2.26</p>
1211
- </div>
1212
- <hr>
1213
- <div class="refsect2">
1214
- <a name="g-date-time-get-ymd"></a><h3>g_date_time_get_ymd ()</h3>
1215
- <pre class="programlisting"><span class="returnvalue">void</span> g_date_time_get_ymd (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
1216
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *year</code></em>,
1217
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *month</code></em>,
1218
- <em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *day</code></em>);</pre>
1219
- <p>
1220
- Retrieves the Gregorian day, month, and year of a given <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
1221
- </p>
1222
- <div class="variablelist"><table border="0">
1223
- <col align="left" valign="top">
1224
- <tbody>
1225
- <tr>
1226
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1227
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.
1228
- </td>
1229
- </tr>
1230
- <tr>
1231
- <td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
1232
- <td> the return location for the gregorian year, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
1233
- </td>
1234
- </tr>
1235
- <tr>
1236
- <td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
1237
- <td> the return location for the monty of the year, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
1238
- </td>
1239
- </tr>
1240
- <tr>
1241
- <td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
1242
- <td> the return location for the day of the month, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
1243
- </td>
1244
- </tr>
1245
- </tbody>
1246
- </table></div>
1247
- <p class="since">Since 2.26</p>
1248
- </div>
1249
- <hr>
1250
- <div class="refsect2">
1251
- <a name="g-date-time-get-year"></a><h3>g_date_time_get_year ()</h3>
1252
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_year (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1253
- <p>
1254
- Retrieves the year represented by <em class="parameter"><code>datetime</code></em> in the Gregorian calendar.
1255
- </p>
1256
- <div class="variablelist"><table border="0">
1257
- <col align="left" valign="top">
1258
- <tbody>
1259
- <tr>
1260
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1261
- <td>A <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1262
- </td>
1263
- </tr>
1264
- <tr>
1265
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1266
- <td> the year represented by <em class="parameter"><code>datetime</code></em>
1267
-
1268
- </td>
1269
- </tr>
1270
- </tbody>
1271
- </table></div>
1272
- <p class="since">Since 2.26</p>
1273
- </div>
1274
- <hr>
1275
- <div class="refsect2">
1276
- <a name="g-date-time-get-month"></a><h3>g_date_time_get_month ()</h3>
1277
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_month (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1278
- <p>
1279
- Retrieves the month of the year represented by <em class="parameter"><code>datetime</code></em> in the Gregorian
1280
- calendar.
1281
- </p>
1282
- <div class="variablelist"><table border="0">
1283
- <col align="left" valign="top">
1284
- <tbody>
1285
- <tr>
1286
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1287
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1288
- </td>
1289
- </tr>
1290
- <tr>
1291
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1292
- <td> the month represented by <em class="parameter"><code>datetime</code></em>
1293
-
1294
- </td>
1295
- </tr>
1296
- </tbody>
1297
- </table></div>
1298
- <p class="since">Since 2.26</p>
1299
- </div>
1300
- <hr>
1301
- <div class="refsect2">
1302
- <a name="g-date-time-get-day-of-month"></a><h3>g_date_time_get_day_of_month ()</h3>
1303
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_day_of_month (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1304
- <p>
1305
- Retrieves the day of the month represented by <em class="parameter"><code>datetime</code></em> in the gregorian
1306
- calendar.
1307
- </p>
1308
- <div class="variablelist"><table border="0">
1309
- <col align="left" valign="top">
1310
- <tbody>
1311
- <tr>
1312
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1313
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1314
- </td>
1315
- </tr>
1316
- <tr>
1317
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1318
- <td> the day of the month
1319
-
1320
- </td>
1321
- </tr>
1322
- </tbody>
1323
- </table></div>
1324
- <p class="since">Since 2.26</p>
1325
- </div>
1326
- <hr>
1327
- <div class="refsect2">
1328
- <a name="g-date-time-get-week-numbering-year"></a><h3>g_date_time_get_week_numbering_year ()</h3>
1329
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_week_numbering_year (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1330
- <p>
1331
- Returns the ISO 8601 week-numbering year in which the week containing
1332
- <em class="parameter"><code>datetime</code></em> falls.
1333
- </p>
1334
- <p>
1335
- This function, taken together with <a class="link" href="glib-GDateTime.html#g-date-time-get-week-of-year" title="g_date_time_get_week_of_year ()"><code class="function">g_date_time_get_week_of_year()</code></a> and
1336
- <a class="link" href="glib-GDateTime.html#g-date-time-get-day-of-week" title="g_date_time_get_day_of_week ()"><code class="function">g_date_time_get_day_of_week()</code></a> can be used to determine the full ISO
1337
- week date on which <em class="parameter"><code>datetime</code></em> falls.
1338
- </p>
1339
- <p>
1340
- This is usually equal to the normal Gregorian year (as returned by
1341
- <a class="link" href="glib-GDateTime.html#g-date-time-get-year" title="g_date_time_get_year ()"><code class="function">g_date_time_get_year()</code></a>), except as detailed below:
1342
- </p>
1343
- <p>
1344
- For Thursday, the week-numbering year is always equal to the usual
1345
- calendar year. For other days, the number is such that every day
1346
- within a complete week (Monday to Sunday) is contained within the
1347
- same week-numbering year.
1348
- </p>
1349
- <p>
1350
- For Monday, Tuesday and Wednesday occuring near the end of the year,
1351
- this may mean that the week-numbering year is one greater than the
1352
- calendar year (so that these days have the same week-numbering year
1353
- as the Thursday occuring early in the next year).
1354
- </p>
1355
- <p>
1356
- For Friday, Saturaday and Sunday occuring near the start of the year,
1357
- this may mean that the week-numbering year is one less than the
1358
- calendar year (so that these days have the same week-numbering year
1359
- as the Thursday occuring late in the previous year).
1360
- </p>
1361
- <p>
1362
- An equivalent description is that the week-numbering year is equal to
1363
- the calendar year containing the majority of the days in the current
1364
- week (Monday to Sunday).
1365
- </p>
1366
- <p>
1367
- Note that January 1 0001 in the proleptic Gregorian calendar is a
1368
- Monday, so this function never returns 0.
1369
- </p>
1370
- <div class="variablelist"><table border="0">
1371
- <col align="left" valign="top">
1372
- <tbody>
1373
- <tr>
1374
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1375
- <td>
1376
- </td>
1377
- </tr>
1378
- <tr>
1379
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1380
- <td> the ISO 8601 week-numbering year for <em class="parameter"><code>datetime</code></em>
1381
-
1382
- </td>
1383
- </tr>
1384
- </tbody>
1385
- </table></div>
1386
- <p class="since">Since 2.26</p>
1387
- </div>
1388
- <hr>
1389
- <div class="refsect2">
1390
- <a name="g-date-time-get-week-of-year"></a><h3>g_date_time_get_week_of_year ()</h3>
1391
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_week_of_year (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1392
- <p>
1393
- Returns the ISO 8601 week number for the week containing <em class="parameter"><code>datetime</code></em>.
1394
- The ISO 8601 week number is the same for every day of the week (from
1395
- Moday through Sunday). That can produce some unusual results
1396
- (described below).
1397
- </p>
1398
- <p>
1399
- The first week of the year is week 1. This is the week that contains
1400
- the first Thursday of the year. Equivalently, this is the first week
1401
- that has more than 4 of its days falling within the calendar year.
1402
- </p>
1403
- <p>
1404
- The value 0 is never returned by this function. Days contained
1405
- within a year but occuring before the first ISO 8601 week of that
1406
- year are considered as being contained in the last week of the
1407
- previous year. Similarly, the final days of a calendar year may be
1408
- considered as being part of the first ISO 8601 week of the next year
1409
- if 4 or more days of that week are contained within the new year.
1410
- </p>
1411
- <div class="variablelist"><table border="0">
1412
- <col align="left" valign="top">
1413
- <tbody>
1414
- <tr>
1415
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1416
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1417
- </td>
1418
- </tr>
1419
- <tr>
1420
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1421
- <td> the ISO 8601 week number for <em class="parameter"><code>datetime</code></em>.
1422
-
1423
- </td>
1424
- </tr>
1425
- </tbody>
1426
- </table></div>
1427
- <p class="since">Since 2.26</p>
1428
- </div>
1429
- <hr>
1430
- <div class="refsect2">
1431
- <a name="g-date-time-get-day-of-week"></a><h3>g_date_time_get_day_of_week ()</h3>
1432
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_day_of_week (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1433
- <p>
1434
- Retrieves the ISO 8601 day of the week on which <em class="parameter"><code>datetime</code></em> falls (1 is
1435
- Monday, 2 is Tuesday... 7 is Sunday).
1436
- </p>
1437
- <div class="variablelist"><table border="0">
1438
- <col align="left" valign="top">
1439
- <tbody>
1440
- <tr>
1441
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1442
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1443
- </td>
1444
- </tr>
1445
- <tr>
1446
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1447
- <td> the day of the week
1448
-
1449
- </td>
1450
- </tr>
1451
- </tbody>
1452
- </table></div>
1453
- <p class="since">Since 2.26</p>
1454
- </div>
1455
- <hr>
1456
- <div class="refsect2">
1457
- <a name="g-date-time-get-day-of-year"></a><h3>g_date_time_get_day_of_year ()</h3>
1458
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_day_of_year (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1459
- <p>
1460
- Retrieves the day of the year represented by <em class="parameter"><code>datetime</code></em> in the Gregorian
1461
- calendar.
1462
- </p>
1463
- <div class="variablelist"><table border="0">
1464
- <col align="left" valign="top">
1465
- <tbody>
1466
- <tr>
1467
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1468
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1469
- </td>
1470
- </tr>
1471
- <tr>
1472
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1473
- <td> the day of the year
1474
-
1475
- </td>
1476
- </tr>
1477
- </tbody>
1478
- </table></div>
1479
- <p class="since">Since 2.26</p>
1480
- </div>
1481
- <hr>
1482
- <div class="refsect2">
1483
- <a name="g-date-time-get-hour"></a><h3>g_date_time_get_hour ()</h3>
1484
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_hour (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1485
- <p>
1486
- Retrieves the hour of the day represented by <em class="parameter"><code>datetime</code></em>
1487
- </p>
1488
- <div class="variablelist"><table border="0">
1489
- <col align="left" valign="top">
1490
- <tbody>
1491
- <tr>
1492
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1493
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1494
- </td>
1495
- </tr>
1496
- <tr>
1497
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1498
- <td> the hour of the day
1499
-
1500
- </td>
1501
- </tr>
1502
- </tbody>
1503
- </table></div>
1504
- <p class="since">Since 2.26</p>
1505
- </div>
1506
- <hr>
1507
- <div class="refsect2">
1508
- <a name="g-date-time-get-minute"></a><h3>g_date_time_get_minute ()</h3>
1509
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_minute (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1510
- <p>
1511
- Retrieves the minute of the hour represented by <em class="parameter"><code>datetime</code></em>
1512
- </p>
1513
- <div class="variablelist"><table border="0">
1514
- <col align="left" valign="top">
1515
- <tbody>
1516
- <tr>
1517
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1518
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1519
- </td>
1520
- </tr>
1521
- <tr>
1522
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1523
- <td> the minute of the hour
1524
-
1525
- </td>
1526
- </tr>
1527
- </tbody>
1528
- </table></div>
1529
- <p class="since">Since 2.26</p>
1530
- </div>
1531
- <hr>
1532
- <div class="refsect2">
1533
- <a name="g-date-time-get-second"></a><h3>g_date_time_get_second ()</h3>
1534
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_second (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1535
- <p>
1536
- Retrieves the second of the minute represented by <em class="parameter"><code>datetime</code></em>
1537
- </p>
1538
- <div class="variablelist"><table border="0">
1539
- <col align="left" valign="top">
1540
- <tbody>
1541
- <tr>
1542
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1543
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1544
- </td>
1545
- </tr>
1546
- <tr>
1547
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1548
- <td> the second represented by <em class="parameter"><code>datetime</code></em>
1549
-
1550
- </td>
1551
- </tr>
1552
- </tbody>
1553
- </table></div>
1554
- <p class="since">Since 2.26</p>
1555
- </div>
1556
- <hr>
1557
- <div class="refsect2">
1558
- <a name="g-date-time-get-microsecond"></a><h3>g_date_time_get_microsecond ()</h3>
1559
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_time_get_microsecond (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1560
- <p>
1561
- Retrieves the microsecond of the date represented by <em class="parameter"><code>datetime</code></em>
1562
- </p>
1563
- <div class="variablelist"><table border="0">
1564
- <col align="left" valign="top">
1565
- <tbody>
1566
- <tr>
1567
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1568
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1569
- </td>
1570
- </tr>
1571
- <tr>
1572
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1573
- <td> the microsecond of the second
1574
-
1575
- </td>
1576
- </tr>
1577
- </tbody>
1578
- </table></div>
1579
- <p class="since">Since 2.26</p>
1580
- </div>
1581
- <hr>
1582
- <div class="refsect2">
1583
- <a name="g-date-time-get-seconds"></a><h3>g_date_time_get_seconds ()</h3>
1584
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_date_time_get_seconds (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1585
- <p>
1586
- Retrieves the number of seconds since the start of the last minute,
1587
- including the fractional part.
1588
- </p>
1589
- <div class="variablelist"><table border="0">
1590
- <col align="left" valign="top">
1591
- <tbody>
1592
- <tr>
1593
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1594
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1595
- </td>
1596
- </tr>
1597
- <tr>
1598
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1599
- <td> the number of seconds
1600
-
1601
- </td>
1602
- </tr>
1603
- </tbody>
1604
- </table></div>
1605
- <p class="since">Since 2.26</p>
1606
- </div>
1607
- <hr>
1608
- <div class="refsect2">
1609
- <a name="g-date-time-to-unix"></a><h3>g_date_time_to_unix ()</h3>
1610
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_date_time_to_unix (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1611
- <p>
1612
- Gives the Unix time corresponding to <em class="parameter"><code>datetime</code></em>, rounding down to the
1613
- nearest second.
1614
- </p>
1615
- <p>
1616
- Unix time is the number of seconds that have elapsed since 1970-01-01
1617
- 00:00:00 UTC, regardless of the time zone associated with <em class="parameter"><code>datetime</code></em>.
1618
- </p>
1619
- <div class="variablelist"><table border="0">
1620
- <col align="left" valign="top">
1621
- <tbody>
1622
- <tr>
1623
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1624
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1625
- </td>
1626
- </tr>
1627
- <tr>
1628
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1629
- <td> the Unix time corresponding to <em class="parameter"><code>datetime</code></em>
1630
-
1631
- </td>
1632
- </tr>
1633
- </tbody>
1634
- </table></div>
1635
- <p class="since">Since 2.26</p>
1636
- </div>
1637
- <hr>
1638
- <div class="refsect2">
1639
- <a name="g-date-time-to-timeval"></a><h3>g_date_time_to_timeval ()</h3>
1640
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_time_to_timeval (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
1641
- <em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
1642
- <p>
1643
- Stores the instant in time that <em class="parameter"><code>datetime</code></em> represents into <em class="parameter"><code>tv</code></em>.
1644
- </p>
1645
- <p>
1646
- The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
1647
- seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the time
1648
- zone associated with <em class="parameter"><code>datetime</code></em>.
1649
- </p>
1650
- <p>
1651
- On systems where 'long' is 32bit (ie: all 32bit systems and all
1652
- Windows systems), a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> is incapable of storing the entire
1653
- range of values that <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is capable of expressing. On those
1654
- systems, this function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> to indicate that the time is
1655
- out of range.
1656
- </p>
1657
- <p>
1658
- On systems where 'long' is 64bit, this function never fails.
1659
- </p>
1660
- <div class="variablelist"><table border="0">
1661
- <col align="left" valign="top">
1662
- <tbody>
1663
- <tr>
1664
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1665
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1666
- </td>
1667
- </tr>
1668
- <tr>
1669
- <td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
1670
- <td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> to modify
1671
- </td>
1672
- </tr>
1673
- <tr>
1674
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1675
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if successful, else <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>
1676
-
1677
- </td>
1678
- </tr>
1679
- </tbody>
1680
- </table></div>
1681
- <p class="since">Since 2.26</p>
1682
- </div>
1683
- <hr>
1684
- <div class="refsect2">
1685
- <a name="g-date-time-get-utc-offset"></a><h3>g_date_time_get_utc_offset ()</h3>
1686
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="returnvalue">GTimeSpan</span></a> g_date_time_get_utc_offset (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1687
- <p>
1688
- Determines the offset to UTC in effect at the time and in the time
1689
- zone of <em class="parameter"><code>datetime</code></em>.
1690
- </p>
1691
- <p>
1692
- The offset is the number of microseconds that you add to UTC time to
1693
- arrive at local time for the time zone (ie: negative numbers for time
1694
- zones west of GMT, positive numbers for east).
1695
- </p>
1696
- <p>
1697
- If <em class="parameter"><code>datetime</code></em> represents UTC time, then the offset is always zero.
1698
- </p>
1699
- <div class="variablelist"><table border="0">
1700
- <col align="left" valign="top">
1701
- <tbody>
1702
- <tr>
1703
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1704
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1705
- </td>
1706
- </tr>
1707
- <tr>
1708
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1709
- <td> the number of microseconds that should be added to UTC to
1710
- get the local time
1711
-
1712
- </td>
1713
- </tr>
1714
- </tbody>
1715
- </table></div>
1716
- <p class="since">Since 2.26</p>
1717
- </div>
1718
- <hr>
1719
- <div class="refsect2">
1720
- <a name="g-date-time-get-timezone-abbreviation"></a><h3>g_date_time_get_timezone_abbreviation ()</h3>
1721
- <pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_date_time_get_timezone_abbreviation
1722
- (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1723
- <p>
1724
- Determines the time zone abbreviation to be used at the time and in
1725
- the time zone of <em class="parameter"><code>datetime</code></em>.
1726
- </p>
1727
- <p>
1728
- For example, in Toronto this is currently "EST" during the winter
1729
- months and "EDT" during the summer months when daylight savings
1730
- time is in effect.
1731
- </p>
1732
- <div class="variablelist"><table border="0">
1733
- <col align="left" valign="top">
1734
- <tbody>
1735
- <tr>
1736
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1737
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1738
- </td>
1739
- </tr>
1740
- <tr>
1741
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1742
- <td> the time zone abbreviation. The returned
1743
- string is owned by the <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> and it should not be
1744
- modified or freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1745
- </td>
1746
- </tr>
1747
- </tbody>
1748
- </table></div>
1749
- <p class="since">Since 2.26</p>
1750
- </div>
1751
- <hr>
1752
- <div class="refsect2">
1753
- <a name="g-date-time-is-daylight-savings"></a><h3>g_date_time_is_daylight_savings ()</h3>
1754
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_time_is_daylight_savings (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1755
- <p>
1756
- Determines if daylight savings time is in effect at the time and in
1757
- the time zone of <em class="parameter"><code>datetime</code></em>.
1758
- </p>
1759
- <div class="variablelist"><table border="0">
1760
- <col align="left" valign="top">
1761
- <tbody>
1762
- <tr>
1763
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1764
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1765
- </td>
1766
- </tr>
1767
- <tr>
1768
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1769
- <td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if daylight savings time is in effect
1770
-
1771
- </td>
1772
- </tr>
1773
- </tbody>
1774
- </table></div>
1775
- <p class="since">Since 2.26</p>
1776
- </div>
1777
- <hr>
1778
- <div class="refsect2">
1779
- <a name="g-date-time-to-timezone"></a><h3>g_date_time_to_timezone ()</h3>
1780
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_to_timezone (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
1781
- <em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
1782
- <p>
1783
- Create a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the same instant in time as
1784
- <em class="parameter"><code>datetime</code></em>, but in the time zone <em class="parameter"><code>tz</code></em>.
1785
- </p>
1786
- <p>
1787
- This call can fail in the case that the time goes out of bounds. For
1788
- example, converting 0001-01-01 00:00:00 UTC to a time zone west of
1789
- Greenwich will fail (due to the year 0 being out of range).
1790
- </p>
1791
- <p>
1792
- You should release the return value by calling <a class="link" href="glib-GDateTime.html#g-date-time-unref" title="g_date_time_unref ()"><code class="function">g_date_time_unref()</code></a>
1793
- when you are done with it.
1794
- </p>
1795
- <div class="variablelist"><table border="0">
1796
- <col align="left" valign="top">
1797
- <tbody>
1798
- <tr>
1799
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1800
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1801
- </td>
1802
- </tr>
1803
- <tr>
1804
- <td><p><span class="term"><em class="parameter"><code>tz</code></em> :</span></p></td>
1805
- <td>the new <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
1806
- </td>
1807
- </tr>
1808
- <tr>
1809
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1810
- <td> a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
1811
-
1812
- </td>
1813
- </tr>
1814
- </tbody>
1815
- </table></div>
1816
- <p class="since">Since 2.26</p>
1817
- </div>
1818
- <hr>
1819
- <div class="refsect2">
1820
- <a name="g-date-time-to-local"></a><h3>g_date_time_to_local ()</h3>
1821
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_to_local (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1822
- <p>
1823
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the same instant in time as
1824
- <em class="parameter"><code>datetime</code></em>, but in the local time zone.
1825
- </p>
1826
- <p>
1827
- This call is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-to-timezone" title="g_date_time_to_timezone ()"><code class="function">g_date_time_to_timezone()</code></a> with the
1828
- time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local" title="g_time_zone_new_local ()"><code class="function">g_time_zone_new_local()</code></a>.
1829
- </p>
1830
- <div class="variablelist"><table border="0">
1831
- <col align="left" valign="top">
1832
- <tbody>
1833
- <tr>
1834
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1835
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1836
- </td>
1837
- </tr>
1838
- <tr>
1839
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1840
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1841
-
1842
- </td>
1843
- </tr>
1844
- </tbody>
1845
- </table></div>
1846
- <p class="since">Since 2.26</p>
1847
- </div>
1848
- <hr>
1849
- <div class="refsect2">
1850
- <a name="g-date-time-to-utc"></a><h3>g_date_time_to_utc ()</h3>
1851
- <pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> * g_date_time_to_utc (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
1852
- <p>
1853
- Creates a new <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> corresponding to the same instant in time as
1854
- <em class="parameter"><code>datetime</code></em>, but in UTC.
1855
- </p>
1856
- <p>
1857
- This call is equivalent to calling <a class="link" href="glib-GDateTime.html#g-date-time-to-timezone" title="g_date_time_to_timezone ()"><code class="function">g_date_time_to_timezone()</code></a> with the
1858
- time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc" title="g_time_zone_new_utc ()"><code class="function">g_time_zone_new_utc()</code></a>.
1859
- </p>
1860
- <div class="variablelist"><table border="0">
1861
- <col align="left" valign="top">
1862
- <tbody>
1863
- <tr>
1864
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
1865
- <td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1866
- </td>
1867
- </tr>
1868
- <tr>
1869
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1870
- <td> the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
1871
-
1872
- </td>
1873
- </tr>
1874
- </tbody>
1875
- </table></div>
1876
- <p class="since">Since 2.26</p>
1877
- </div>
1878
- <hr>
1879
- <div class="refsect2">
1880
- <a name="g-date-time-format"></a><h3>g_date_time_format ()</h3>
1881
- <pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_date_time_format (<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>,
1882
- <em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>);</pre>
1883
- <p>
1884
- Creates a newly allocated string representing the requested <em class="parameter"><code>format</code></em>.
1885
- </p>
1886
- <p>
1887
- The following format specifiers are supported:
1888
- </p>
1889
- <p>
1890
- </p>
1891
- <div class="variablelist"><table border="0">
1892
- <col align="left" valign="top">
1893
- <tbody>
1894
- <tr>
1895
- <td><p><span class="term">
1896
- <code class="literal">%<code class="literal">a</code></code>:
1897
- </span></p></td>
1898
- <td>
1899
- the abbreviated weekday name according to the current locale
1900
- </td>
1901
- </tr>
1902
- <tr>
1903
- <td><p><span class="term">
1904
- <code class="literal">%<code class="literal">A</code></code>:
1905
- </span></p></td>
1906
- <td>
1907
- the full weekday name according to the current locale
1908
- </td>
1909
- </tr>
1910
- <tr>
1911
- <td><p><span class="term">
1912
- <code class="literal">%<code class="literal">b</code></code>:
1913
- </span></p></td>
1914
- <td>
1915
- the abbreviated month name according to the current locale
1916
- </td>
1917
- </tr>
1918
- <tr>
1919
- <td><p><span class="term">
1920
- <code class="literal">%<code class="literal">B</code></code>:
1921
- </span></p></td>
1922
- <td>
1923
- the full month name according to the current locale
1924
- </td>
1925
- </tr>
1926
- <tr>
1927
- <td><p><span class="term">
1928
- <code class="literal">%<code class="literal">d</code></code>:
1929
- </span></p></td>
1930
- <td>
1931
- the day of the month as a decimal number (range 01 to 31)
1932
- </td>
1933
- </tr>
1934
- <tr>
1935
- <td><p><span class="term">
1936
- <code class="literal">%<code class="literal">e</code></code>:
1937
- </span></p></td>
1938
- <td>
1939
- the day of the month as a decimal number (range 1 to 31)
1940
- </td>
1941
- </tr>
1942
- <tr>
1943
- <td><p><span class="term">
1944
- <code class="literal">%<code class="literal">F</code></code>:
1945
- </span></p></td>
1946
- <td>
1947
- equivalent to <code class="literal">%<code class="literal">Y</code>-%<code class="literal">m</code>-%<code class="literal">d</code></code> (the ISO 8601 date
1948
- format)
1949
- </td>
1950
- </tr>
1951
- <tr>
1952
- <td><p><span class="term">
1953
- <code class="literal">%<code class="literal">h</code></code>:
1954
- </span></p></td>
1955
- <td>
1956
- equivalent to <code class="literal">%<code class="literal">b</code></code>
1957
- </td>
1958
- </tr>
1959
- <tr>
1960
- <td><p><span class="term">
1961
- <code class="literal">%<code class="literal">H</code></code>:
1962
- </span></p></td>
1963
- <td>
1964
- the hour as a decimal number using a 24-hour clock (range 00 to
1965
- 23)
1966
- </td>
1967
- </tr>
1968
- <tr>
1969
- <td><p><span class="term">
1970
- <code class="literal">%<code class="literal">I</code></code>:
1971
- </span></p></td>
1972
- <td>
1973
- the hour as a decimal number using a 12-hour clock (range 01 to
1974
- 12)
1975
- </td>
1976
- </tr>
1977
- <tr>
1978
- <td><p><span class="term">
1979
- <code class="literal">%<code class="literal">j</code></code>:
1980
- </span></p></td>
1981
- <td>
1982
- the day of the year as a decimal number (range 001 to 366)
1983
- </td>
1984
- </tr>
1985
- <tr>
1986
- <td><p><span class="term">
1987
- <code class="literal">%<code class="literal">k</code></code>:
1988
- </span></p></td>
1989
- <td>
1990
- the hour (24-hour clock) as a decimal number (range 0 to 23);
1991
- single digits are preceded by a blank
1992
- </td>
1993
- </tr>
1994
- <tr>
1995
- <td><p><span class="term">
1996
- <code class="literal">%<code class="literal">l</code></code>:
1997
- </span></p></td>
1998
- <td>
1999
- the hour (12-hour clock) as a decimal number (range 1 to 12);
2000
- single digits are preceded by a blank
2001
- </td>
2002
- </tr>
2003
- <tr>
2004
- <td><p><span class="term">
2005
- <code class="literal">%<code class="literal">m</code></code>:
2006
- </span></p></td>
2007
- <td>
2008
- the month as a decimal number (range 01 to 12)
2009
- </td>
2010
- </tr>
2011
- <tr>
2012
- <td><p><span class="term">
2013
- <code class="literal">%<code class="literal">M</code></code>:
2014
- </span></p></td>
2015
- <td>
2016
- the minute as a decimal number (range 00 to 59)
2017
- </td>
2018
- </tr>
2019
- <tr>
2020
- <td><p><span class="term">
2021
- <code class="literal">%<code class="literal">N</code></code>:
2022
- </span></p></td>
2023
- <td>
2024
- the micro-seconds as a decimal number
2025
- </td>
2026
- </tr>
2027
- <tr>
2028
- <td><p><span class="term">
2029
- <code class="literal">%<code class="literal">p</code></code>:
2030
- </span></p></td>
2031
- <td>
2032
- either "AM" or "PM" according to the given time value, or the
2033
- corresponding strings for the current locale. Noon is treated as
2034
- "PM" and midnight as "AM".
2035
- </td>
2036
- </tr>
2037
- <tr>
2038
- <td><p><span class="term">
2039
- <code class="literal">%<code class="literal">P</code></code>:
2040
- </span></p></td>
2041
- <td>
2042
- like %<code class="literal">p</code> but lowercase: "am" or "pm" or a corresponding string for
2043
- the current locale
2044
- </td>
2045
- </tr>
2046
- <tr>
2047
- <td><p><span class="term">
2048
- <code class="literal">%<code class="literal">r</code></code>:
2049
- </span></p></td>
2050
- <td>
2051
- the time in a.m. or p.m. notation
2052
- </td>
2053
- </tr>
2054
- <tr>
2055
- <td><p><span class="term">
2056
- <code class="literal">%<code class="literal">R</code></code>:
2057
- </span></p></td>
2058
- <td>
2059
- the time in 24-hour notation (<code class="literal">%<code class="literal">H</code>:%<code class="literal">M</code></code>)
2060
- </td>
2061
- </tr>
2062
- <tr>
2063
- <td><p><span class="term">
2064
- <code class="literal">%<code class="literal">s</code></code>:
2065
- </span></p></td>
2066
- <td>
2067
- the number of seconds since the Epoch, that is, since 1970-01-01
2068
- 00:00:00 UTC
2069
- </td>
2070
- </tr>
2071
- <tr>
2072
- <td><p><span class="term">
2073
- <code class="literal">%<code class="literal">S</code></code>:
2074
- </span></p></td>
2075
- <td>
2076
- the second as a decimal number (range 00 to 60)
2077
- </td>
2078
- </tr>
2079
- <tr>
2080
- <td><p><span class="term">
2081
- <code class="literal">%<code class="literal">t</code></code>:
2082
- </span></p></td>
2083
- <td>
2084
- a tab character
2085
- </td>
2086
- </tr>
2087
- <tr>
2088
- <td><p><span class="term">
2089
- <code class="literal">%<code class="literal">u</code></code>:
2090
- </span></p></td>
2091
- <td>
2092
- the day of the week as a decimal, range 1 to 7, Monday being 1
2093
- </td>
2094
- </tr>
2095
- <tr>
2096
- <td><p><span class="term">
2097
- <code class="literal">%<code class="literal">W</code></code>:
2098
- </span></p></td>
2099
- <td>
2100
- the week number of the current year as a decimal number
2101
- </td>
2102
- </tr>
2103
- <tr>
2104
- <td><p><span class="term">
2105
- <code class="literal">%<code class="literal">x</code></code>:
2106
- </span></p></td>
2107
- <td>
2108
- the preferred date representation for the current locale without
2109
- the time
2110
- </td>
2111
- </tr>
2112
- <tr>
2113
- <td><p><span class="term">
2114
- <code class="literal">%<code class="literal">X</code></code>:
2115
- </span></p></td>
2116
- <td>
2117
- the preferred time representation for the current locale without
2118
- the date
2119
- </td>
2120
- </tr>
2121
- <tr>
2122
- <td><p><span class="term">
2123
- <code class="literal">%<code class="literal">y</code></code>:
2124
- </span></p></td>
2125
- <td>
2126
- the year as a decimal number without the century
2127
- </td>
2128
- </tr>
2129
- <tr>
2130
- <td><p><span class="term">
2131
- <code class="literal">%<code class="literal">Y</code></code>:
2132
- </span></p></td>
2133
- <td>
2134
- the year as a decimal number including the century
2135
- </td>
2136
- </tr>
2137
- <tr>
2138
- <td><p><span class="term">
2139
- <code class="literal">%<code class="literal">z</code></code>:
2140
- </span></p></td>
2141
- <td>
2142
- the time-zone as hour offset from UTC
2143
- </td>
2144
- </tr>
2145
- <tr>
2146
- <td><p><span class="term">
2147
- <code class="literal">%<code class="literal">Z</code></code>:
2148
- </span></p></td>
2149
- <td>
2150
- the time zone or name or abbreviation
2151
- </td>
2152
- </tr>
2153
- <tr>
2154
- <td><p><span class="term">
2155
- <code class="literal">%%%</code>:
2156
- </span></p></td>
2157
- <td>
2158
- a literal <code class="literal">%%</code> character
2159
- </td>
2160
- </tr>
2161
- </tbody>
2162
- </table></div>
2163
- <p>
2164
- </p>
2165
- <div class="variablelist"><table border="0">
2166
- <col align="left" valign="top">
2167
- <tbody>
2168
- <tr>
2169
- <td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
2170
- <td>A <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
2171
- </td>
2172
- </tr>
2173
- <tr>
2174
- <td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
2175
- <td>a valid UTF-8 string, containing the format for the
2176
- <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
2177
- </td>
2178
- </tr>
2179
- <tr>
2180
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2181
- <td> a newly allocated string formatted to the requested format
2182
- or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> in the case that there was an error. The string
2183
- should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.
2184
-
2185
- </td>
2186
- </tr>
2187
- </tbody>
2188
- </table></div>
2189
- <p class="since">Since 2.26</p>
2190
- </div>
2191
- </div>
2192
- <div class="refsect1">
2193
- <a name="glib-GDateTime.see-also"></a><h2>See Also</h2>
2194
- <a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
2195
- </div>
2196
- </div>
2197
- <div class="footer">
2198
- <hr>
2199
- Generated by GTK-Doc V1.15.1</div>
2200
- </body>
2201
- </html>