glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-GTimeZone.html" title="GTimeZone">
|
10
10
|
<link rel="next" href="glib-Random-Numbers.html" title="Random Numbers">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-GDateTime.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-GDateTime"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-GDateTime.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
@@ -49,58 +49,61 @@ typedef <a class="link" href="glib-GDateTime.html#GTimeSpan" title="
|
|
49
49
|
|
50
50
|
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime">GDateTime</a>;
|
51
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> *
|
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
53
|
|
54
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
55
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
56
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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
57
|
|
58
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
59
|
-
|
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>);
|
60
61
|
|
61
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
62
|
-
|
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="struct 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="struct GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);
|
63
66
|
|
64
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
65
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>,
|
66
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>,
|
67
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>,
|
68
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>,
|
69
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>,
|
70
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>);
|
71
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
72
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>,
|
73
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>,
|
74
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>,
|
75
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>,
|
76
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>);
|
77
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
78
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>,
|
79
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>,
|
80
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>,
|
81
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>,
|
82
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>);
|
83
86
|
|
84
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
85
88
|
<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a> timespan</code></em>);
|
86
89
|
|
87
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
88
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>);
|
89
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
90
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>);
|
91
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
92
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>);
|
93
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
94
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>);
|
95
98
|
|
96
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
97
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>);
|
98
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
99
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>);
|
100
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
101
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>);
|
102
105
|
|
103
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
104
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>,
|
105
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>,
|
106
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>,
|
@@ -139,23 +142,23 @@ typedef <a class="link" href="glib-GDateTime.html#GTimeSpan" title="
|
|
139
142
|
|
140
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>);
|
141
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>,
|
142
|
-
<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>);
|
145
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);
|
143
146
|
|
144
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>);
|
145
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
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>
|
146
149
|
(<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);
|
147
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>);
|
148
151
|
|
149
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>,
|
150
153
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);
|
151
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
152
|
-
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>);
|
153
156
|
|
154
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
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>,
|
155
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>);
|
156
159
|
</pre>
|
157
160
|
</div>
|
158
|
-
<div class="refsect1"
|
161
|
+
<div class="refsect1">
|
159
162
|
<a name="glib-GDateTime.description"></a><h2>Description</h2>
|
160
163
|
<p>
|
161
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
|
@@ -189,9 +192,9 @@ savings time transitions are either 23 or 25 hours in length).
|
|
189
192
|
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> is available since GLib 2.26.
|
190
193
|
</p>
|
191
194
|
</div>
|
192
|
-
<div class="refsect1"
|
195
|
+
<div class="refsect1">
|
193
196
|
<a name="glib-GDateTime.details"></a><h2>Details</h2>
|
194
|
-
<div class="refsect2"
|
197
|
+
<div class="refsect2">
|
195
198
|
<a name="GTimeSpan"></a><h3>GTimeSpan</h3>
|
196
199
|
<pre class="programlisting">typedef gint64 GTimeSpan;
|
197
200
|
</pre>
|
@@ -201,7 +204,7 @@ A value representing an interval of time, in microseconds.
|
|
201
204
|
<p class="since">Since 2.26</p>
|
202
205
|
</div>
|
203
206
|
<hr>
|
204
|
-
<div class="refsect2"
|
207
|
+
<div class="refsect2">
|
205
208
|
<a name="G-TIME-SPAN-DAY:CAPS"></a><h3>G_TIME_SPAN_DAY</h3>
|
206
209
|
<pre class="programlisting">#define G_TIME_SPAN_DAY (G_GINT64_CONSTANT (86400000000))
|
207
210
|
</pre>
|
@@ -211,7 +214,7 @@ Evaluates to a time span of one day.
|
|
211
214
|
<p class="since">Since 2.26</p>
|
212
215
|
</div>
|
213
216
|
<hr>
|
214
|
-
<div class="refsect2"
|
217
|
+
<div class="refsect2">
|
215
218
|
<a name="G-TIME-SPAN-HOUR:CAPS"></a><h3>G_TIME_SPAN_HOUR</h3>
|
216
219
|
<pre class="programlisting">#define G_TIME_SPAN_HOUR (G_GINT64_CONSTANT (3600000000))
|
217
220
|
</pre>
|
@@ -221,7 +224,7 @@ Evaluates to a time span of one hour.
|
|
221
224
|
<p class="since">Since 2.26</p>
|
222
225
|
</div>
|
223
226
|
<hr>
|
224
|
-
<div class="refsect2"
|
227
|
+
<div class="refsect2">
|
225
228
|
<a name="G-TIME-SPAN-MINUTE:CAPS"></a><h3>G_TIME_SPAN_MINUTE</h3>
|
226
229
|
<pre class="programlisting">#define G_TIME_SPAN_MINUTE (G_GINT64_CONSTANT (60000000))
|
227
230
|
</pre>
|
@@ -231,7 +234,7 @@ Evaluates to a time span of one minute.
|
|
231
234
|
<p class="since">Since 2.26</p>
|
232
235
|
</div>
|
233
236
|
<hr>
|
234
|
-
<div class="refsect2"
|
237
|
+
<div class="refsect2">
|
235
238
|
<a name="G-TIME-SPAN-SECOND:CAPS"></a><h3>G_TIME_SPAN_SECOND</h3>
|
236
239
|
<pre class="programlisting">#define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT (1000000))
|
237
240
|
</pre>
|
@@ -241,7 +244,7 @@ Evaluates to a time span of one second.
|
|
241
244
|
<p class="since">Since 2.26</p>
|
242
245
|
</div>
|
243
246
|
<hr>
|
244
|
-
<div class="refsect2"
|
247
|
+
<div class="refsect2">
|
245
248
|
<a name="G-TIME-SPAN-MILLISECOND:CAPS"></a><h3>G_TIME_SPAN_MILLISECOND</h3>
|
246
249
|
<pre class="programlisting">#define G_TIME_SPAN_MILLISECOND (G_GINT64_CONSTANT (1000))
|
247
250
|
</pre>
|
@@ -251,7 +254,7 @@ Evaluates to a time span of one millisecond.
|
|
251
254
|
<p class="since">Since 2.26</p>
|
252
255
|
</div>
|
253
256
|
<hr>
|
254
|
-
<div class="refsect2"
|
257
|
+
<div class="refsect2">
|
255
258
|
<a name="GDateTime"></a><h3>GDateTime</h3>
|
256
259
|
<pre class="programlisting">typedef struct _GDateTime GDateTime;</pre>
|
257
260
|
<p>
|
@@ -261,7 +264,7 @@ cannot be accessed directly.
|
|
261
264
|
<p class="since">Since 2.26</p>
|
262
265
|
</div>
|
263
266
|
<hr>
|
264
|
-
<div class="refsect2"
|
267
|
+
<div class="refsect2">
|
265
268
|
<a name="g-date-time-unref"></a><h3>g_date_time_unref ()</h3>
|
266
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>
|
267
270
|
<p>
|
@@ -282,9 +285,9 @@ When the reference count reaches zero, the resources allocated by
|
|
282
285
|
<p class="since">Since 2.26</p>
|
283
286
|
</div>
|
284
287
|
<hr>
|
285
|
-
<div class="refsect2"
|
288
|
+
<div class="refsect2">
|
286
289
|
<a name="g-date-time-ref"></a><h3>g_date_time_ref ()</h3>
|
287
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
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>
|
288
291
|
<p>
|
289
292
|
Atomically increments the reference count of <em class="parameter"><code>datetime</code></em> by one.
|
290
293
|
</p>
|
@@ -298,18 +301,16 @@ Atomically increments the reference count of <em class="parameter"><code>datetim
|
|
298
301
|
</tr>
|
299
302
|
<tr>
|
300
303
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
301
|
-
<td>
|
302
|
-
|
303
|
-
</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</td>
|
304
305
|
</tr>
|
305
306
|
</tbody>
|
306
307
|
</table></div>
|
307
308
|
<p class="since">Since 2.26</p>
|
308
309
|
</div>
|
309
310
|
<hr>
|
310
|
-
<div class="refsect2"
|
311
|
+
<div class="refsect2">
|
311
312
|
<a name="g-date-time-new-now"></a><h3>g_date_time_new_now ()</h3>
|
312
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
313
|
+
<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>
|
313
314
|
<p>
|
314
315
|
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
|
315
316
|
time zone <em class="parameter"><code>tz</code></em>. The time is as accurate as the system allows, to a
|
@@ -334,8 +335,7 @@ when you are done with it.
|
|
334
335
|
</tr>
|
335
336
|
<tr>
|
336
337
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
337
|
-
<td>
|
338
|
-
|
338
|
+
<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>
|
339
339
|
</td>
|
340
340
|
</tr>
|
341
341
|
</tbody>
|
@@ -343,9 +343,9 @@ when you are done with it.
|
|
343
343
|
<p class="since">Since 2.26</p>
|
344
344
|
</div>
|
345
345
|
<hr>
|
346
|
-
<div class="refsect2"
|
346
|
+
<div class="refsect2">
|
347
347
|
<a name="g-date-time-new-now-local"></a><h3>g_date_time_new_now_local ()</h3>
|
348
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
348
|
+
<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>
|
349
349
|
<p>
|
350
350
|
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
|
351
351
|
time zone.
|
@@ -358,17 +358,16 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local
|
|
358
358
|
<col align="left" valign="top">
|
359
359
|
<tbody><tr>
|
360
360
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
361
|
-
<td>
|
362
|
-
|
361
|
+
<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>
|
363
362
|
</td>
|
364
363
|
</tr></tbody>
|
365
364
|
</table></div>
|
366
365
|
<p class="since">Since 2.26</p>
|
367
366
|
</div>
|
368
367
|
<hr>
|
369
|
-
<div class="refsect2"
|
368
|
+
<div class="refsect2">
|
370
369
|
<a name="g-date-time-new-now-utc"></a><h3>g_date_time_new_now_utc ()</h3>
|
371
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
370
|
+
<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>
|
372
371
|
<p>
|
373
372
|
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.
|
374
373
|
</p>
|
@@ -380,17 +379,17 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc"
|
|
380
379
|
<col align="left" valign="top">
|
381
380
|
<tbody><tr>
|
382
381
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
383
|
-
<td>
|
384
|
-
|
382
|
+
<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>
|
385
383
|
</td>
|
386
384
|
</tr></tbody>
|
387
385
|
</table></div>
|
388
386
|
<p class="since">Since 2.26</p>
|
389
387
|
</div>
|
390
388
|
<hr>
|
391
|
-
<div class="refsect2"
|
389
|
+
<div class="refsect2">
|
392
390
|
<a name="g-date-time-new-from-unix-local"></a><h3>g_date_time_new_from_unix_local ()</h3>
|
393
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
391
|
+
<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
|
392
|
+
(<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>
|
394
393
|
<p>
|
395
394
|
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
|
396
395
|
local time zone.
|
@@ -412,13 +411,11 @@ when you are done with it.
|
|
412
411
|
<tbody>
|
413
412
|
<tr>
|
414
413
|
<td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
|
415
|
-
<td>the Unix time
|
416
|
-
</td>
|
414
|
+
<td>the Unix time</td>
|
417
415
|
</tr>
|
418
416
|
<tr>
|
419
417
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
420
|
-
<td>
|
421
|
-
|
418
|
+
<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>
|
422
419
|
</td>
|
423
420
|
</tr>
|
424
421
|
</tbody>
|
@@ -426,9 +423,9 @@ when you are done with it.
|
|
426
423
|
<p class="since">Since 2.26</p>
|
427
424
|
</div>
|
428
425
|
<hr>
|
429
|
-
<div class="refsect2"
|
426
|
+
<div class="refsect2">
|
430
427
|
<a name="g-date-time-new-from-unix-utc"></a><h3>g_date_time_new_from_unix_utc ()</h3>
|
431
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
428
|
+
<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>
|
432
429
|
<p>
|
433
430
|
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.
|
434
431
|
</p>
|
@@ -449,13 +446,11 @@ when you are done with it.
|
|
449
446
|
<tbody>
|
450
447
|
<tr>
|
451
448
|
<td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
|
452
|
-
<td>the Unix time
|
453
|
-
</td>
|
449
|
+
<td>the Unix time</td>
|
454
450
|
</tr>
|
455
451
|
<tr>
|
456
452
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
457
|
-
<td>
|
458
|
-
|
453
|
+
<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>
|
459
454
|
</td>
|
460
455
|
</tr>
|
461
456
|
</tbody>
|
@@ -463,15 +458,16 @@ when you are done with it.
|
|
463
458
|
<p class="since">Since 2.26</p>
|
464
459
|
</div>
|
465
460
|
<hr>
|
466
|
-
<div class="refsect2"
|
461
|
+
<div class="refsect2">
|
467
462
|
<a name="g-date-time-new-from-timeval-local"></a><h3>g_date_time_new_from_timeval_local ()</h3>
|
468
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
463
|
+
<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
|
464
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
|
469
465
|
<p>
|
470
|
-
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
|
466
|
+
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="struct GTimeVal"><span class="type">GTimeVal</span></a> <em class="parameter"><code>tv</code></em> in the
|
471
467
|
local time zone.
|
472
468
|
</p>
|
473
469
|
<p>
|
474
|
-
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
|
470
|
+
The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
|
475
471
|
seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the
|
476
472
|
local time offset.
|
477
473
|
</p>
|
@@ -488,13 +484,12 @@ when you are done with it.
|
|
488
484
|
<tbody>
|
489
485
|
<tr>
|
490
486
|
<td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
|
491
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
|
487
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>
|
492
488
|
</td>
|
493
489
|
</tr>
|
494
490
|
<tr>
|
495
491
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
496
|
-
<td>
|
497
|
-
|
492
|
+
<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>
|
498
493
|
</td>
|
499
494
|
</tr>
|
500
495
|
</tbody>
|
@@ -502,14 +497,15 @@ when you are done with it.
|
|
502
497
|
<p class="since">Since 2.26</p>
|
503
498
|
</div>
|
504
499
|
<hr>
|
505
|
-
<div class="refsect2"
|
500
|
+
<div class="refsect2">
|
506
501
|
<a name="g-date-time-new-from-timeval-utc"></a><h3>g_date_time_new_from_timeval_utc ()</h3>
|
507
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
502
|
+
<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
|
503
|
+
(<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
|
508
504
|
<p>
|
509
|
-
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.
|
505
|
+
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="struct GTimeVal"><span class="type">GTimeVal</span></a> <em class="parameter"><code>tv</code></em> in UTC.
|
510
506
|
</p>
|
511
507
|
<p>
|
512
|
-
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
|
508
|
+
The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
|
513
509
|
seconds elapsed since 1970-01-01 00:00:00 UTC.
|
514
510
|
</p>
|
515
511
|
<p>
|
@@ -525,13 +521,12 @@ when you are done with it.
|
|
525
521
|
<tbody>
|
526
522
|
<tr>
|
527
523
|
<td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
|
528
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
|
524
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>
|
529
525
|
</td>
|
530
526
|
</tr>
|
531
527
|
<tr>
|
532
528
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
533
|
-
<td>
|
534
|
-
|
529
|
+
<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>
|
535
530
|
</td>
|
536
531
|
</tr>
|
537
532
|
</tbody>
|
@@ -539,9 +534,9 @@ when you are done with it.
|
|
539
534
|
<p class="since">Since 2.26</p>
|
540
535
|
</div>
|
541
536
|
<hr>
|
542
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
543
538
|
<a name="g-date-time-new"></a><h3>g_date_time_new ()</h3>
|
544
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
539
|
+
<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>,
|
545
540
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> year</code></em>,
|
546
541
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
|
547
542
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
|
@@ -595,38 +590,31 @@ when you are done with it.
|
|
595
590
|
</tr>
|
596
591
|
<tr>
|
597
592
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
598
|
-
<td>the year component of the date
|
599
|
-
</td>
|
593
|
+
<td>the year component of the date</td>
|
600
594
|
</tr>
|
601
595
|
<tr>
|
602
596
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
603
|
-
<td>the month component of the date
|
604
|
-
</td>
|
597
|
+
<td>the month component of the date</td>
|
605
598
|
</tr>
|
606
599
|
<tr>
|
607
600
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
608
|
-
<td>the day component of the date
|
609
|
-
</td>
|
601
|
+
<td>the day component of the date</td>
|
610
602
|
</tr>
|
611
603
|
<tr>
|
612
604
|
<td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
|
613
|
-
<td>the hour component of the date
|
614
|
-
</td>
|
605
|
+
<td>the hour component of the date</td>
|
615
606
|
</tr>
|
616
607
|
<tr>
|
617
608
|
<td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
|
618
|
-
<td>the minute component of the date
|
619
|
-
</td>
|
609
|
+
<td>the minute component of the date</td>
|
620
610
|
</tr>
|
621
611
|
<tr>
|
622
612
|
<td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
|
623
|
-
<td>the number of seconds past the minute
|
624
|
-
</td>
|
613
|
+
<td>the number of seconds past the minute</td>
|
625
614
|
</tr>
|
626
615
|
<tr>
|
627
616
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
628
|
-
<td>
|
629
|
-
|
617
|
+
<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>
|
630
618
|
</td>
|
631
619
|
</tr>
|
632
620
|
</tbody>
|
@@ -634,9 +622,9 @@ when you are done with it.
|
|
634
622
|
<p class="since">Since 2.26</p>
|
635
623
|
</div>
|
636
624
|
<hr>
|
637
|
-
<div class="refsect2"
|
625
|
+
<div class="refsect2">
|
638
626
|
<a name="g-date-time-new-local"></a><h3>g_date_time_new_local ()</h3>
|
639
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
627
|
+
<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>,
|
640
628
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
|
641
629
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
|
642
630
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
|
@@ -655,38 +643,31 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local
|
|
655
643
|
<tbody>
|
656
644
|
<tr>
|
657
645
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
658
|
-
<td>the year component of the date
|
659
|
-
</td>
|
646
|
+
<td>the year component of the date</td>
|
660
647
|
</tr>
|
661
648
|
<tr>
|
662
649
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
663
|
-
<td>the month component of the date
|
664
|
-
</td>
|
650
|
+
<td>the month component of the date</td>
|
665
651
|
</tr>
|
666
652
|
<tr>
|
667
653
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
668
|
-
<td>the day component of the date
|
669
|
-
</td>
|
654
|
+
<td>the day component of the date</td>
|
670
655
|
</tr>
|
671
656
|
<tr>
|
672
657
|
<td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
|
673
|
-
<td>the hour component of the date
|
674
|
-
</td>
|
658
|
+
<td>the hour component of the date</td>
|
675
659
|
</tr>
|
676
660
|
<tr>
|
677
661
|
<td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
|
678
|
-
<td>the minute component of the date
|
679
|
-
</td>
|
662
|
+
<td>the minute component of the date</td>
|
680
663
|
</tr>
|
681
664
|
<tr>
|
682
665
|
<td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
|
683
|
-
<td>the number of seconds past the minute
|
684
|
-
</td>
|
666
|
+
<td>the number of seconds past the minute</td>
|
685
667
|
</tr>
|
686
668
|
<tr>
|
687
669
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
688
|
-
<td>
|
689
|
-
|
670
|
+
<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>
|
690
671
|
</td>
|
691
672
|
</tr>
|
692
673
|
</tbody>
|
@@ -694,9 +675,9 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-local
|
|
694
675
|
<p class="since">Since 2.26.</p>
|
695
676
|
</div>
|
696
677
|
<hr>
|
697
|
-
<div class="refsect2"
|
678
|
+
<div class="refsect2">
|
698
679
|
<a name="g-date-time-new-utc"></a><h3>g_date_time_new_utc ()</h3>
|
699
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
680
|
+
<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>,
|
700
681
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> month</code></em>,
|
701
682
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> day</code></em>,
|
702
683
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> hour</code></em>,
|
@@ -715,38 +696,31 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc"
|
|
715
696
|
<tbody>
|
716
697
|
<tr>
|
717
698
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
718
|
-
<td>the year component of the date
|
719
|
-
</td>
|
699
|
+
<td>the year component of the date</td>
|
720
700
|
</tr>
|
721
701
|
<tr>
|
722
702
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
723
|
-
<td>the month component of the date
|
724
|
-
</td>
|
703
|
+
<td>the month component of the date</td>
|
725
704
|
</tr>
|
726
705
|
<tr>
|
727
706
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
728
|
-
<td>the day component of the date
|
729
|
-
</td>
|
707
|
+
<td>the day component of the date</td>
|
730
708
|
</tr>
|
731
709
|
<tr>
|
732
710
|
<td><p><span class="term"><em class="parameter"><code>hour</code></em> :</span></p></td>
|
733
|
-
<td>the hour component of the date
|
734
|
-
</td>
|
711
|
+
<td>the hour component of the date</td>
|
735
712
|
</tr>
|
736
713
|
<tr>
|
737
714
|
<td><p><span class="term"><em class="parameter"><code>minute</code></em> :</span></p></td>
|
738
|
-
<td>the minute component of the date
|
739
|
-
</td>
|
715
|
+
<td>the minute component of the date</td>
|
740
716
|
</tr>
|
741
717
|
<tr>
|
742
718
|
<td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
|
743
|
-
<td>the number of seconds past the minute
|
744
|
-
</td>
|
719
|
+
<td>the number of seconds past the minute</td>
|
745
720
|
</tr>
|
746
721
|
<tr>
|
747
722
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
748
|
-
<td>
|
749
|
-
|
723
|
+
<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>
|
750
724
|
</td>
|
751
725
|
</tr>
|
752
726
|
</tbody>
|
@@ -754,9 +728,9 @@ zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-utc"
|
|
754
728
|
<p class="since">Since 2.26.</p>
|
755
729
|
</div>
|
756
730
|
<hr>
|
757
|
-
<div class="refsect2"
|
731
|
+
<div class="refsect2">
|
758
732
|
<a name="g-date-time-add"></a><h3>g_date_time_add ()</h3>
|
759
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
733
|
+
<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>,
|
760
734
|
<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GTimeSpan" title="GTimeSpan"><span class="type">GTimeSpan</span></a> timespan</code></em>);</pre>
|
761
735
|
<p>
|
762
736
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified timespan to the copy.
|
@@ -776,19 +750,17 @@ Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the
|
|
776
750
|
</tr>
|
777
751
|
<tr>
|
778
752
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
779
|
-
<td>
|
780
|
-
|
781
|
-
|
782
|
-
</td>
|
753
|
+
<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
|
754
|
+
<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>.</td>
|
783
755
|
</tr>
|
784
756
|
</tbody>
|
785
757
|
</table></div>
|
786
758
|
<p class="since">Since 2.26</p>
|
787
759
|
</div>
|
788
760
|
<hr>
|
789
|
-
<div class="refsect2"
|
761
|
+
<div class="refsect2">
|
790
762
|
<a name="g-date-time-add-years"></a><h3>g_date_time_add_years ()</h3>
|
791
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
763
|
+
<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>,
|
792
764
|
<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>
|
793
765
|
<p>
|
794
766
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of years to the
|
@@ -804,24 +776,21 @@ copy.
|
|
804
776
|
</tr>
|
805
777
|
<tr>
|
806
778
|
<td><p><span class="term"><em class="parameter"><code>years</code></em> :</span></p></td>
|
807
|
-
<td>the number of years
|
808
|
-
</td>
|
779
|
+
<td>the number of years</td>
|
809
780
|
</tr>
|
810
781
|
<tr>
|
811
782
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
812
|
-
<td>
|
813
|
-
|
814
|
-
|
815
|
-
</td>
|
783
|
+
<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
|
784
|
+
<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>.</td>
|
816
785
|
</tr>
|
817
786
|
</tbody>
|
818
787
|
</table></div>
|
819
788
|
<p class="since">Since 2.26</p>
|
820
789
|
</div>
|
821
790
|
<hr>
|
822
|
-
<div class="refsect2"
|
791
|
+
<div class="refsect2">
|
823
792
|
<a name="g-date-time-add-months"></a><h3>g_date_time_add_months ()</h3>
|
824
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
793
|
+
<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>,
|
825
794
|
<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>
|
826
795
|
<p>
|
827
796
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of months to the
|
@@ -837,24 +806,21 @@ copy.
|
|
837
806
|
</tr>
|
838
807
|
<tr>
|
839
808
|
<td><p><span class="term"><em class="parameter"><code>months</code></em> :</span></p></td>
|
840
|
-
<td>the number of months
|
841
|
-
</td>
|
809
|
+
<td>the number of months</td>
|
842
810
|
</tr>
|
843
811
|
<tr>
|
844
812
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
845
|
-
<td>
|
846
|
-
|
847
|
-
|
848
|
-
</td>
|
813
|
+
<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
|
814
|
+
<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>.</td>
|
849
815
|
</tr>
|
850
816
|
</tbody>
|
851
817
|
</table></div>
|
852
818
|
<p class="since">Since 2.26</p>
|
853
819
|
</div>
|
854
820
|
<hr>
|
855
|
-
<div class="refsect2"
|
821
|
+
<div class="refsect2">
|
856
822
|
<a name="g-date-time-add-weeks"></a><h3>g_date_time_add_weeks ()</h3>
|
857
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
823
|
+
<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>,
|
858
824
|
<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>
|
859
825
|
<p>
|
860
826
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of weeks to the
|
@@ -870,24 +836,21 @@ copy.
|
|
870
836
|
</tr>
|
871
837
|
<tr>
|
872
838
|
<td><p><span class="term"><em class="parameter"><code>weeks</code></em> :</span></p></td>
|
873
|
-
<td>the number of weeks
|
874
|
-
</td>
|
839
|
+
<td>the number of weeks</td>
|
875
840
|
</tr>
|
876
841
|
<tr>
|
877
842
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
878
|
-
<td>
|
879
|
-
|
880
|
-
|
881
|
-
</td>
|
843
|
+
<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
|
844
|
+
<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>.</td>
|
882
845
|
</tr>
|
883
846
|
</tbody>
|
884
847
|
</table></div>
|
885
848
|
<p class="since">Since 2.26</p>
|
886
849
|
</div>
|
887
850
|
<hr>
|
888
|
-
<div class="refsect2"
|
851
|
+
<div class="refsect2">
|
889
852
|
<a name="g-date-time-add-days"></a><h3>g_date_time_add_days ()</h3>
|
890
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
853
|
+
<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>,
|
891
854
|
<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>
|
892
855
|
<p>
|
893
856
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of days to the
|
@@ -903,24 +866,21 @@ copy.
|
|
903
866
|
</tr>
|
904
867
|
<tr>
|
905
868
|
<td><p><span class="term"><em class="parameter"><code>days</code></em> :</span></p></td>
|
906
|
-
<td>the number of days
|
907
|
-
</td>
|
869
|
+
<td>the number of days</td>
|
908
870
|
</tr>
|
909
871
|
<tr>
|
910
872
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
911
|
-
<td>
|
912
|
-
|
913
|
-
|
914
|
-
</td>
|
873
|
+
<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
|
874
|
+
<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>.</td>
|
915
875
|
</tr>
|
916
876
|
</tbody>
|
917
877
|
</table></div>
|
918
878
|
<p class="since">Since 2.26</p>
|
919
879
|
</div>
|
920
880
|
<hr>
|
921
|
-
<div class="refsect2"
|
881
|
+
<div class="refsect2">
|
922
882
|
<a name="g-date-time-add-hours"></a><h3>g_date_time_add_hours ()</h3>
|
923
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
883
|
+
<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>,
|
924
884
|
<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>
|
925
885
|
<p>
|
926
886
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of hours
|
@@ -935,24 +895,21 @@ Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the
|
|
935
895
|
</tr>
|
936
896
|
<tr>
|
937
897
|
<td><p><span class="term"><em class="parameter"><code>hours</code></em> :</span></p></td>
|
938
|
-
<td>the number of hours to add
|
939
|
-
</td>
|
898
|
+
<td>the number of hours to add</td>
|
940
899
|
</tr>
|
941
900
|
<tr>
|
942
901
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
943
|
-
<td>
|
944
|
-
|
945
|
-
|
946
|
-
</td>
|
902
|
+
<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
|
903
|
+
<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>.</td>
|
947
904
|
</tr>
|
948
905
|
</tbody>
|
949
906
|
</table></div>
|
950
907
|
<p class="since">Since 2.26</p>
|
951
908
|
</div>
|
952
909
|
<hr>
|
953
|
-
<div class="refsect2"
|
910
|
+
<div class="refsect2">
|
954
911
|
<a name="g-date-time-add-minutes"></a><h3>g_date_time_add_minutes ()</h3>
|
955
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
912
|
+
<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>,
|
956
913
|
<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>
|
957
914
|
<p>
|
958
915
|
Creates a copy of <em class="parameter"><code>datetime</code></em> adding the specified number of minutes.
|
@@ -967,24 +924,21 @@ Creates a copy of <em class="parameter"><code>datetime</code></em> adding the sp
|
|
967
924
|
</tr>
|
968
925
|
<tr>
|
969
926
|
<td><p><span class="term"><em class="parameter"><code>minutes</code></em> :</span></p></td>
|
970
|
-
<td>the number of minutes to add
|
971
|
-
</td>
|
927
|
+
<td>the number of minutes to add</td>
|
972
928
|
</tr>
|
973
929
|
<tr>
|
974
930
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
975
|
-
<td>
|
976
|
-
|
977
|
-
|
978
|
-
</td>
|
931
|
+
<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
|
932
|
+
<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>.</td>
|
979
933
|
</tr>
|
980
934
|
</tbody>
|
981
935
|
</table></div>
|
982
936
|
<p class="since">Since 2.26</p>
|
983
937
|
</div>
|
984
938
|
<hr>
|
985
|
-
<div class="refsect2"
|
939
|
+
<div class="refsect2">
|
986
940
|
<a name="g-date-time-add-seconds"></a><h3>g_date_time_add_seconds ()</h3>
|
987
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
941
|
+
<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>,
|
988
942
|
<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>
|
989
943
|
<p>
|
990
944
|
Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the specified number of seconds.
|
@@ -999,24 +953,21 @@ Creates a copy of <em class="parameter"><code>datetime</code></em> and adds the
|
|
999
953
|
</tr>
|
1000
954
|
<tr>
|
1001
955
|
<td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
|
1002
|
-
<td>the number of seconds to add
|
1003
|
-
</td>
|
956
|
+
<td>the number of seconds to add</td>
|
1004
957
|
</tr>
|
1005
958
|
<tr>
|
1006
959
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1007
|
-
<td>
|
1008
|
-
|
1009
|
-
|
1010
|
-
</td>
|
960
|
+
<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
|
961
|
+
<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>.</td>
|
1011
962
|
</tr>
|
1012
963
|
</tbody>
|
1013
964
|
</table></div>
|
1014
965
|
<p class="since">Since 2.26</p>
|
1015
966
|
</div>
|
1016
967
|
<hr>
|
1017
|
-
<div class="refsect2"
|
968
|
+
<div class="refsect2">
|
1018
969
|
<a name="g-date-time-add-full"></a><h3>g_date_time_add_full ()</h3>
|
1019
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
970
|
+
<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>,
|
1020
971
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> years</code></em>,
|
1021
972
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> months</code></em>,
|
1022
973
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> days</code></em>,
|
@@ -1037,47 +988,39 @@ time in <em class="parameter"><code>datetime</code></em>.
|
|
1037
988
|
</tr>
|
1038
989
|
<tr>
|
1039
990
|
<td><p><span class="term"><em class="parameter"><code>years</code></em> :</span></p></td>
|
1040
|
-
<td>the number of years to add
|
1041
|
-
</td>
|
991
|
+
<td>the number of years to add</td>
|
1042
992
|
</tr>
|
1043
993
|
<tr>
|
1044
994
|
<td><p><span class="term"><em class="parameter"><code>months</code></em> :</span></p></td>
|
1045
|
-
<td>the number of months to add
|
1046
|
-
</td>
|
995
|
+
<td>the number of months to add</td>
|
1047
996
|
</tr>
|
1048
997
|
<tr>
|
1049
998
|
<td><p><span class="term"><em class="parameter"><code>days</code></em> :</span></p></td>
|
1050
|
-
<td>the number of days to add
|
1051
|
-
</td>
|
999
|
+
<td>the number of days to add</td>
|
1052
1000
|
</tr>
|
1053
1001
|
<tr>
|
1054
1002
|
<td><p><span class="term"><em class="parameter"><code>hours</code></em> :</span></p></td>
|
1055
|
-
<td>the number of hours to add
|
1056
|
-
</td>
|
1003
|
+
<td>the number of hours to add</td>
|
1057
1004
|
</tr>
|
1058
1005
|
<tr>
|
1059
1006
|
<td><p><span class="term"><em class="parameter"><code>minutes</code></em> :</span></p></td>
|
1060
|
-
<td>the number of minutes to add
|
1061
|
-
</td>
|
1007
|
+
<td>the number of minutes to add</td>
|
1062
1008
|
</tr>
|
1063
1009
|
<tr>
|
1064
1010
|
<td><p><span class="term"><em class="parameter"><code>seconds</code></em> :</span></p></td>
|
1065
|
-
<td>the number of seconds to add
|
1066
|
-
</td>
|
1011
|
+
<td>the number of seconds to add</td>
|
1067
1012
|
</tr>
|
1068
1013
|
<tr>
|
1069
1014
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1070
|
-
<td>
|
1071
|
-
|
1072
|
-
|
1073
|
-
</td>
|
1015
|
+
<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
|
1016
|
+
<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>.</td>
|
1074
1017
|
</tr>
|
1075
1018
|
</tbody>
|
1076
1019
|
</table></div>
|
1077
1020
|
<p class="since">Since 2.26</p>
|
1078
1021
|
</div>
|
1079
1022
|
<hr>
|
1080
|
-
<div class="refsect2"
|
1023
|
+
<div class="refsect2">
|
1081
1024
|
<a name="g-date-time-compare"></a><h3>g_date_time_compare ()</h3>
|
1082
1025
|
<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>,
|
1083
1026
|
<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,27 +1033,23 @@ time in <em class="parameter"><code>datetime</code></em>.
|
|
1090
1033
|
<tbody>
|
1091
1034
|
<tr>
|
1092
1035
|
<td><p><span class="term"><em class="parameter"><code>dt1</code></em> :</span></p></td>
|
1093
|
-
<td>first <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare
|
1094
|
-
</td>
|
1036
|
+
<td>first <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare</td>
|
1095
1037
|
</tr>
|
1096
1038
|
<tr>
|
1097
1039
|
<td><p><span class="term"><em class="parameter"><code>dt2</code></em> :</span></p></td>
|
1098
|
-
<td>second <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare
|
1099
|
-
</td>
|
1040
|
+
<td>second <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> to compare</td>
|
1100
1041
|
</tr>
|
1101
1042
|
<tr>
|
1102
1043
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1103
|
-
<td
|
1104
|
-
|
1105
|
-
|
1106
|
-
</td>
|
1044
|
+
<td>-1, 0 or 1 if <em class="parameter"><code>dt1</code></em> is less than, equal to or greater
|
1045
|
+
than <em class="parameter"><code>dt2</code></em>.</td>
|
1107
1046
|
</tr>
|
1108
1047
|
</tbody>
|
1109
1048
|
</table></div>
|
1110
1049
|
<p class="since">Since 2.26</p>
|
1111
1050
|
</div>
|
1112
1051
|
<hr>
|
1113
|
-
<div class="refsect2"
|
1052
|
+
<div class="refsect2">
|
1114
1053
|
<a name="g-date-time-difference"></a><h3>g_date_time_difference ()</h3>
|
1115
1054
|
<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>,
|
1116
1055
|
<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *begin</code></em>);</pre>
|
@@ -1134,17 +1073,15 @@ positive if the first simparameter is larger).
|
|
1134
1073
|
</tr>
|
1135
1074
|
<tr>
|
1136
1075
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1137
|
-
<td>
|
1138
|
-
|
1139
|
-
|
1140
|
-
</td>
|
1076
|
+
<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
|
1077
|
+
span expressed in microseconds.</td>
|
1141
1078
|
</tr>
|
1142
1079
|
</tbody>
|
1143
1080
|
</table></div>
|
1144
1081
|
<p class="since">Since 2.26</p>
|
1145
1082
|
</div>
|
1146
1083
|
<hr>
|
1147
|
-
<div class="refsect2"
|
1084
|
+
<div class="refsect2">
|
1148
1085
|
<a name="g-date-time-hash"></a><h3>g_date_time_hash ()</h3>
|
1149
1086
|
<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>
|
1150
1087
|
<p>
|
@@ -1160,16 +1097,14 @@ Hashes <em class="parameter"><code>datetime</code></em> into a <a class="link" h
|
|
1160
1097
|
</tr>
|
1161
1098
|
<tr>
|
1162
1099
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1163
|
-
<td>
|
1164
|
-
|
1165
|
-
</td>
|
1100
|
+
<td>a <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> containing the hash</td>
|
1166
1101
|
</tr>
|
1167
1102
|
</tbody>
|
1168
1103
|
</table></div>
|
1169
1104
|
<p class="since">Since 2.26</p>
|
1170
1105
|
</div>
|
1171
1106
|
<hr>
|
1172
|
-
<div class="refsect2"
|
1107
|
+
<div class="refsect2">
|
1173
1108
|
<a name="g-date-time-equal"></a><h3>g_date_time_equal ()</h3>
|
1174
1109
|
<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>,
|
1175
1110
|
<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>
|
@@ -1195,16 +1130,15 @@ them to the same time zone.
|
|
1195
1130
|
</tr>
|
1196
1131
|
<tr>
|
1197
1132
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1198
|
-
<td>
|
1199
|
-
|
1200
|
-
</td>
|
1133
|
+
<td>
|
1134
|
+
<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</td>
|
1201
1135
|
</tr>
|
1202
1136
|
</tbody>
|
1203
1137
|
</table></div>
|
1204
1138
|
<p class="since">Since 2.26</p>
|
1205
1139
|
</div>
|
1206
1140
|
<hr>
|
1207
|
-
<div class="refsect2"
|
1141
|
+
<div class="refsect2">
|
1208
1142
|
<a name="g-date-time-get-ymd"></a><h3>g_date_time_get_ymd ()</h3>
|
1209
1143
|
<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>,
|
1210
1144
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> *year</code></em>,
|
@@ -1218,22 +1152,21 @@ Retrieves the Gregorian day, month, and year of a given <a class="link" href="gl
|
|
1218
1152
|
<tbody>
|
1219
1153
|
<tr>
|
1220
1154
|
<td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
|
1221
|
-
<td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a
|
1222
|
-
</td>
|
1155
|
+
<td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>.</td>
|
1223
1156
|
</tr>
|
1224
1157
|
<tr>
|
1225
1158
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1226
|
-
<td>
|
1159
|
+
<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>
|
1227
1160
|
</td>
|
1228
1161
|
</tr>
|
1229
1162
|
<tr>
|
1230
1163
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
1231
|
-
<td>
|
1164
|
+
<td>the return location for the month 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>
|
1232
1165
|
</td>
|
1233
1166
|
</tr>
|
1234
1167
|
<tr>
|
1235
1168
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
1236
|
-
<td>
|
1169
|
+
<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>
|
1237
1170
|
</td>
|
1238
1171
|
</tr>
|
1239
1172
|
</tbody>
|
@@ -1241,7 +1174,7 @@ Retrieves the Gregorian day, month, and year of a given <a class="link" href="gl
|
|
1241
1174
|
<p class="since">Since 2.26</p>
|
1242
1175
|
</div>
|
1243
1176
|
<hr>
|
1244
|
-
<div class="refsect2"
|
1177
|
+
<div class="refsect2">
|
1245
1178
|
<a name="g-date-time-get-year"></a><h3>g_date_time_get_year ()</h3>
|
1246
1179
|
<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>
|
1247
1180
|
<p>
|
@@ -1257,8 +1190,7 @@ Retrieves the year represented by <em class="parameter"><code>datetime</code></e
|
|
1257
1190
|
</tr>
|
1258
1191
|
<tr>
|
1259
1192
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1260
|
-
<td>
|
1261
|
-
|
1193
|
+
<td>the year represented by <em class="parameter"><code>datetime</code></em>
|
1262
1194
|
</td>
|
1263
1195
|
</tr>
|
1264
1196
|
</tbody>
|
@@ -1266,7 +1198,7 @@ Retrieves the year represented by <em class="parameter"><code>datetime</code></e
|
|
1266
1198
|
<p class="since">Since 2.26</p>
|
1267
1199
|
</div>
|
1268
1200
|
<hr>
|
1269
|
-
<div class="refsect2"
|
1201
|
+
<div class="refsect2">
|
1270
1202
|
<a name="g-date-time-get-month"></a><h3>g_date_time_get_month ()</h3>
|
1271
1203
|
<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>
|
1272
1204
|
<p>
|
@@ -1283,8 +1215,7 @@ calendar.
|
|
1283
1215
|
</tr>
|
1284
1216
|
<tr>
|
1285
1217
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1286
|
-
<td>
|
1287
|
-
|
1218
|
+
<td>the month represented by <em class="parameter"><code>datetime</code></em>
|
1288
1219
|
</td>
|
1289
1220
|
</tr>
|
1290
1221
|
</tbody>
|
@@ -1292,7 +1223,7 @@ calendar.
|
|
1292
1223
|
<p class="since">Since 2.26</p>
|
1293
1224
|
</div>
|
1294
1225
|
<hr>
|
1295
|
-
<div class="refsect2"
|
1226
|
+
<div class="refsect2">
|
1296
1227
|
<a name="g-date-time-get-day-of-month"></a><h3>g_date_time_get_day_of_month ()</h3>
|
1297
1228
|
<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>
|
1298
1229
|
<p>
|
@@ -1309,16 +1240,14 @@ calendar.
|
|
1309
1240
|
</tr>
|
1310
1241
|
<tr>
|
1311
1242
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1312
|
-
<td>
|
1313
|
-
|
1314
|
-
</td>
|
1243
|
+
<td>the day of the month</td>
|
1315
1244
|
</tr>
|
1316
1245
|
</tbody>
|
1317
1246
|
</table></div>
|
1318
1247
|
<p class="since">Since 2.26</p>
|
1319
1248
|
</div>
|
1320
1249
|
<hr>
|
1321
|
-
<div class="refsect2"
|
1250
|
+
<div class="refsect2">
|
1322
1251
|
<a name="g-date-time-get-week-numbering-year"></a><h3>g_date_time_get_week_numbering_year ()</h3>
|
1323
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_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>
|
1324
1253
|
<p>
|
@@ -1366,13 +1295,12 @@ Monday, so this function never returns 0.
|
|
1366
1295
|
<tbody>
|
1367
1296
|
<tr>
|
1368
1297
|
<td><p><span class="term"><em class="parameter"><code>datetime</code></em> :</span></p></td>
|
1369
|
-
<td>
|
1298
|
+
<td>a <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
|
1370
1299
|
</td>
|
1371
1300
|
</tr>
|
1372
1301
|
<tr>
|
1373
1302
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1374
|
-
<td>
|
1375
|
-
|
1303
|
+
<td>the ISO 8601 week-numbering year for <em class="parameter"><code>datetime</code></em>
|
1376
1304
|
</td>
|
1377
1305
|
</tr>
|
1378
1306
|
</tbody>
|
@@ -1380,7 +1308,7 @@ Monday, so this function never returns 0.
|
|
1380
1308
|
<p class="since">Since 2.26</p>
|
1381
1309
|
</div>
|
1382
1310
|
<hr>
|
1383
|
-
<div class="refsect2"
|
1311
|
+
<div class="refsect2">
|
1384
1312
|
<a name="g-date-time-get-week-of-year"></a><h3>g_date_time_get_week_of_year ()</h3>
|
1385
1313
|
<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>
|
1386
1314
|
<p>
|
@@ -1412,16 +1340,14 @@ if 4 or more days of that week are contained within the new year.
|
|
1412
1340
|
</tr>
|
1413
1341
|
<tr>
|
1414
1342
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1415
|
-
<td>
|
1416
|
-
|
1417
|
-
</td>
|
1343
|
+
<td>the ISO 8601 week number for <em class="parameter"><code>datetime</code></em>.</td>
|
1418
1344
|
</tr>
|
1419
1345
|
</tbody>
|
1420
1346
|
</table></div>
|
1421
1347
|
<p class="since">Since 2.26</p>
|
1422
1348
|
</div>
|
1423
1349
|
<hr>
|
1424
|
-
<div class="refsect2"
|
1350
|
+
<div class="refsect2">
|
1425
1351
|
<a name="g-date-time-get-day-of-week"></a><h3>g_date_time_get_day_of_week ()</h3>
|
1426
1352
|
<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>
|
1427
1353
|
<p>
|
@@ -1438,16 +1364,14 @@ Monday, 2 is Tuesday... 7 is Sunday).
|
|
1438
1364
|
</tr>
|
1439
1365
|
<tr>
|
1440
1366
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1441
|
-
<td>
|
1442
|
-
|
1443
|
-
</td>
|
1367
|
+
<td>the day of the week</td>
|
1444
1368
|
</tr>
|
1445
1369
|
</tbody>
|
1446
1370
|
</table></div>
|
1447
1371
|
<p class="since">Since 2.26</p>
|
1448
1372
|
</div>
|
1449
1373
|
<hr>
|
1450
|
-
<div class="refsect2"
|
1374
|
+
<div class="refsect2">
|
1451
1375
|
<a name="g-date-time-get-day-of-year"></a><h3>g_date_time_get_day_of_year ()</h3>
|
1452
1376
|
<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>
|
1453
1377
|
<p>
|
@@ -1464,16 +1388,14 @@ calendar.
|
|
1464
1388
|
</tr>
|
1465
1389
|
<tr>
|
1466
1390
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1467
|
-
<td>
|
1468
|
-
|
1469
|
-
</td>
|
1391
|
+
<td>the day of the year</td>
|
1470
1392
|
</tr>
|
1471
1393
|
</tbody>
|
1472
1394
|
</table></div>
|
1473
1395
|
<p class="since">Since 2.26</p>
|
1474
1396
|
</div>
|
1475
1397
|
<hr>
|
1476
|
-
<div class="refsect2"
|
1398
|
+
<div class="refsect2">
|
1477
1399
|
<a name="g-date-time-get-hour"></a><h3>g_date_time_get_hour ()</h3>
|
1478
1400
|
<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>
|
1479
1401
|
<p>
|
@@ -1489,16 +1411,14 @@ Retrieves the hour of the day represented by <em class="parameter"><code>datetim
|
|
1489
1411
|
</tr>
|
1490
1412
|
<tr>
|
1491
1413
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1492
|
-
<td>
|
1493
|
-
|
1494
|
-
</td>
|
1414
|
+
<td>the hour of the day</td>
|
1495
1415
|
</tr>
|
1496
1416
|
</tbody>
|
1497
1417
|
</table></div>
|
1498
1418
|
<p class="since">Since 2.26</p>
|
1499
1419
|
</div>
|
1500
1420
|
<hr>
|
1501
|
-
<div class="refsect2"
|
1421
|
+
<div class="refsect2">
|
1502
1422
|
<a name="g-date-time-get-minute"></a><h3>g_date_time_get_minute ()</h3>
|
1503
1423
|
<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>
|
1504
1424
|
<p>
|
@@ -1514,16 +1434,14 @@ Retrieves the minute of the hour represented by <em class="parameter"><code>date
|
|
1514
1434
|
</tr>
|
1515
1435
|
<tr>
|
1516
1436
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1517
|
-
<td>
|
1518
|
-
|
1519
|
-
</td>
|
1437
|
+
<td>the minute of the hour</td>
|
1520
1438
|
</tr>
|
1521
1439
|
</tbody>
|
1522
1440
|
</table></div>
|
1523
1441
|
<p class="since">Since 2.26</p>
|
1524
1442
|
</div>
|
1525
1443
|
<hr>
|
1526
|
-
<div class="refsect2"
|
1444
|
+
<div class="refsect2">
|
1527
1445
|
<a name="g-date-time-get-second"></a><h3>g_date_time_get_second ()</h3>
|
1528
1446
|
<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>
|
1529
1447
|
<p>
|
@@ -1539,8 +1457,7 @@ Retrieves the second of the minute represented by <em class="parameter"><code>da
|
|
1539
1457
|
</tr>
|
1540
1458
|
<tr>
|
1541
1459
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1542
|
-
<td>
|
1543
|
-
|
1460
|
+
<td>the second represented by <em class="parameter"><code>datetime</code></em>
|
1544
1461
|
</td>
|
1545
1462
|
</tr>
|
1546
1463
|
</tbody>
|
@@ -1548,7 +1465,7 @@ Retrieves the second of the minute represented by <em class="parameter"><code>da
|
|
1548
1465
|
<p class="since">Since 2.26</p>
|
1549
1466
|
</div>
|
1550
1467
|
<hr>
|
1551
|
-
<div class="refsect2"
|
1468
|
+
<div class="refsect2">
|
1552
1469
|
<a name="g-date-time-get-microsecond"></a><h3>g_date_time_get_microsecond ()</h3>
|
1553
1470
|
<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>
|
1554
1471
|
<p>
|
@@ -1564,16 +1481,14 @@ Retrieves the microsecond of the date represented by <em class="parameter"><code
|
|
1564
1481
|
</tr>
|
1565
1482
|
<tr>
|
1566
1483
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1567
|
-
<td>
|
1568
|
-
|
1569
|
-
</td>
|
1484
|
+
<td>the microsecond of the second</td>
|
1570
1485
|
</tr>
|
1571
1486
|
</tbody>
|
1572
1487
|
</table></div>
|
1573
1488
|
<p class="since">Since 2.26</p>
|
1574
1489
|
</div>
|
1575
1490
|
<hr>
|
1576
|
-
<div class="refsect2"
|
1491
|
+
<div class="refsect2">
|
1577
1492
|
<a name="g-date-time-get-seconds"></a><h3>g_date_time_get_seconds ()</h3>
|
1578
1493
|
<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>
|
1579
1494
|
<p>
|
@@ -1590,16 +1505,14 @@ including the fractional part.
|
|
1590
1505
|
</tr>
|
1591
1506
|
<tr>
|
1592
1507
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1593
|
-
<td>
|
1594
|
-
|
1595
|
-
</td>
|
1508
|
+
<td>the number of seconds</td>
|
1596
1509
|
</tr>
|
1597
1510
|
</tbody>
|
1598
1511
|
</table></div>
|
1599
1512
|
<p class="since">Since 2.26</p>
|
1600
1513
|
</div>
|
1601
1514
|
<hr>
|
1602
|
-
<div class="refsect2"
|
1515
|
+
<div class="refsect2">
|
1603
1516
|
<a name="g-date-time-to-unix"></a><h3>g_date_time_to_unix ()</h3>
|
1604
1517
|
<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>
|
1605
1518
|
<p>
|
@@ -1620,8 +1533,7 @@ Unix time is the number of seconds that have elapsed since 1970-01-01
|
|
1620
1533
|
</tr>
|
1621
1534
|
<tr>
|
1622
1535
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1623
|
-
<td>
|
1624
|
-
|
1536
|
+
<td>the Unix time corresponding to <em class="parameter"><code>datetime</code></em>
|
1625
1537
|
</td>
|
1626
1538
|
</tr>
|
1627
1539
|
</tbody>
|
@@ -1629,21 +1541,21 @@ Unix time is the number of seconds that have elapsed since 1970-01-01
|
|
1629
1541
|
<p class="since">Since 2.26</p>
|
1630
1542
|
</div>
|
1631
1543
|
<hr>
|
1632
|
-
<div class="refsect2"
|
1544
|
+
<div class="refsect2">
|
1633
1545
|
<a name="g-date-time-to-timeval"></a><h3>g_date_time_to_timeval ()</h3>
|
1634
1546
|
<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>,
|
1635
|
-
<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>
|
1547
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *tv</code></em>);</pre>
|
1636
1548
|
<p>
|
1637
1549
|
Stores the instant in time that <em class="parameter"><code>datetime</code></em> represents into <em class="parameter"><code>tv</code></em>.
|
1638
1550
|
</p>
|
1639
1551
|
<p>
|
1640
|
-
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
|
1552
|
+
The time contained in a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> is always stored in the form of
|
1641
1553
|
seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the time
|
1642
1554
|
zone associated with <em class="parameter"><code>datetime</code></em>.
|
1643
1555
|
</p>
|
1644
1556
|
<p>
|
1645
1557
|
On systems where 'long' is 32bit (ie: all 32bit systems and all
|
1646
|
-
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
|
1558
|
+
Windows systems), a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> is incapable of storing the entire
|
1647
1559
|
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
|
1648
1560
|
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
|
1649
1561
|
out of range.
|
@@ -1661,13 +1573,12 @@ On systems where 'long' is 64bit, this function never fails.
|
|
1661
1573
|
</tr>
|
1662
1574
|
<tr>
|
1663
1575
|
<td><p><span class="term"><em class="parameter"><code>tv</code></em> :</span></p></td>
|
1664
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> to modify
|
1665
|
-
</td>
|
1576
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> to modify</td>
|
1666
1577
|
</tr>
|
1667
1578
|
<tr>
|
1668
1579
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1669
|
-
<td>
|
1670
|
-
|
1580
|
+
<td>
|
1581
|
+
<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>
|
1671
1582
|
</td>
|
1672
1583
|
</tr>
|
1673
1584
|
</tbody>
|
@@ -1675,7 +1586,7 @@ On systems where 'long' is 64bit, this function never fails.
|
|
1675
1586
|
<p class="since">Since 2.26</p>
|
1676
1587
|
</div>
|
1677
1588
|
<hr>
|
1678
|
-
<div class="refsect2"
|
1589
|
+
<div class="refsect2">
|
1679
1590
|
<a name="g-date-time-get-utc-offset"></a><h3>g_date_time_get_utc_offset ()</h3>
|
1680
1591
|
<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>
|
1681
1592
|
<p>
|
@@ -1700,19 +1611,17 @@ If <em class="parameter"><code>datetime</code></em> represents UTC time, then th
|
|
1700
1611
|
</tr>
|
1701
1612
|
<tr>
|
1702
1613
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1703
|
-
<td>
|
1704
|
-
|
1705
|
-
|
1706
|
-
</td>
|
1614
|
+
<td>the number of microseconds that should be added to UTC to
|
1615
|
+
get the local time</td>
|
1707
1616
|
</tr>
|
1708
1617
|
</tbody>
|
1709
1618
|
</table></div>
|
1710
1619
|
<p class="since">Since 2.26</p>
|
1711
1620
|
</div>
|
1712
1621
|
<hr>
|
1713
|
-
<div class="refsect2"
|
1622
|
+
<div class="refsect2">
|
1714
1623
|
<a name="g-date-time-get-timezone-abbreviation"></a><h3>g_date_time_get_timezone_abbreviation ()</h3>
|
1715
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
1624
|
+
<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
|
1716
1625
|
(<em class="parameter"><code><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> *datetime</code></em>);</pre>
|
1717
1626
|
<p>
|
1718
1627
|
Determines the time zone abbreviation to be used at the time and in
|
@@ -1733,9 +1642,9 @@ time is in effect.
|
|
1733
1642
|
</tr>
|
1734
1643
|
<tr>
|
1735
1644
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1736
|
-
<td>
|
1737
|
-
|
1738
|
-
|
1645
|
+
<td>the time zone abbreviation. The returned
|
1646
|
+
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
|
1647
|
+
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>
|
1739
1648
|
</td>
|
1740
1649
|
</tr>
|
1741
1650
|
</tbody>
|
@@ -1743,7 +1652,7 @@ time is in effect.
|
|
1743
1652
|
<p class="since">Since 2.26</p>
|
1744
1653
|
</div>
|
1745
1654
|
<hr>
|
1746
|
-
<div class="refsect2"
|
1655
|
+
<div class="refsect2">
|
1747
1656
|
<a name="g-date-time-is-daylight-savings"></a><h3>g_date_time_is_daylight_savings ()</h3>
|
1748
1657
|
<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>
|
1749
1658
|
<p>
|
@@ -1760,18 +1669,17 @@ the time zone of <em class="parameter"><code>datetime</code></em>.
|
|
1760
1669
|
</tr>
|
1761
1670
|
<tr>
|
1762
1671
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1763
|
-
<td>
|
1764
|
-
|
1765
|
-
</td>
|
1672
|
+
<td>
|
1673
|
+
<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</td>
|
1766
1674
|
</tr>
|
1767
1675
|
</tbody>
|
1768
1676
|
</table></div>
|
1769
1677
|
<p class="since">Since 2.26</p>
|
1770
1678
|
</div>
|
1771
1679
|
<hr>
|
1772
|
-
<div class="refsect2"
|
1680
|
+
<div class="refsect2">
|
1773
1681
|
<a name="g-date-time-to-timezone"></a><h3>g_date_time_to_timezone ()</h3>
|
1774
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
1682
|
+
<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>,
|
1775
1683
|
<em class="parameter"><code><a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a> *tz</code></em>);</pre>
|
1776
1684
|
<p>
|
1777
1685
|
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
|
@@ -1801,8 +1709,7 @@ when you are done with it.
|
|
1801
1709
|
</tr>
|
1802
1710
|
<tr>
|
1803
1711
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1804
|
-
<td>
|
1805
|
-
|
1712
|
+
<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>
|
1806
1713
|
</td>
|
1807
1714
|
</tr>
|
1808
1715
|
</tbody>
|
@@ -1810,9 +1717,9 @@ when you are done with it.
|
|
1810
1717
|
<p class="since">Since 2.26</p>
|
1811
1718
|
</div>
|
1812
1719
|
<hr>
|
1813
|
-
<div class="refsect2"
|
1720
|
+
<div class="refsect2">
|
1814
1721
|
<a name="g-date-time-to-local"></a><h3>g_date_time_to_local ()</h3>
|
1815
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
1722
|
+
<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>
|
1816
1723
|
<p>
|
1817
1724
|
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
|
1818
1725
|
<em class="parameter"><code>datetime</code></em>, but in the local time zone.
|
@@ -1831,8 +1738,7 @@ time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-
|
|
1831
1738
|
</tr>
|
1832
1739
|
<tr>
|
1833
1740
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1834
|
-
<td>
|
1835
|
-
|
1741
|
+
<td>the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
|
1836
1742
|
</td>
|
1837
1743
|
</tr>
|
1838
1744
|
</tbody>
|
@@ -1840,9 +1746,9 @@ time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-
|
|
1840
1746
|
<p class="since">Since 2.26</p>
|
1841
1747
|
</div>
|
1842
1748
|
<hr>
|
1843
|
-
<div class="refsect2"
|
1749
|
+
<div class="refsect2">
|
1844
1750
|
<a name="g-date-time-to-utc"></a><h3>g_date_time_to_utc ()</h3>
|
1845
|
-
<pre class="programlisting"><a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="returnvalue">GDateTime</span></a> *
|
1751
|
+
<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>
|
1846
1752
|
<p>
|
1847
1753
|
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
|
1848
1754
|
<em class="parameter"><code>datetime</code></em>, but in UTC.
|
@@ -1861,8 +1767,7 @@ time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-
|
|
1861
1767
|
</tr>
|
1862
1768
|
<tr>
|
1863
1769
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1864
|
-
<td>
|
1865
|
-
|
1770
|
+
<td>the newly created <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
|
1866
1771
|
</td>
|
1867
1772
|
</tr>
|
1868
1773
|
</tbody>
|
@@ -1870,9 +1775,9 @@ time zone returned by <a class="link" href="glib-GTimeZone.html#g-time-zone-new-
|
|
1870
1775
|
<p class="since">Since 2.26</p>
|
1871
1776
|
</div>
|
1872
1777
|
<hr>
|
1873
|
-
<div class="refsect2"
|
1778
|
+
<div class="refsect2">
|
1874
1779
|
<a name="g-date-time-format"></a><h3>g_date_time_format ()</h3>
|
1875
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
1780
|
+
<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>,
|
1876
1781
|
<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>
|
1877
1782
|
<p>
|
1878
1783
|
Creates a newly allocated string representing the requested <em class="parameter"><code>format</code></em>.
|
@@ -2167,29 +2072,27 @@ The following format specifiers are supported:
|
|
2167
2072
|
<tr>
|
2168
2073
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
2169
2074
|
<td>a valid UTF-8 string, containing the format for the
|
2170
|
-
|
2075
|
+
<a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a>
|
2171
2076
|
</td>
|
2172
2077
|
</tr>
|
2173
2078
|
<tr>
|
2174
2079
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2175
|
-
<td>
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
</td>
|
2080
|
+
<td>a newly allocated string formatted to the requested format
|
2081
|
+
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
|
2082
|
+
should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</td>
|
2180
2083
|
</tr>
|
2181
2084
|
</tbody>
|
2182
2085
|
</table></div>
|
2183
2086
|
<p class="since">Since 2.26</p>
|
2184
2087
|
</div>
|
2185
2088
|
</div>
|
2186
|
-
<div class="refsect1"
|
2089
|
+
<div class="refsect1">
|
2187
2090
|
<a name="glib-GDateTime.see-also"></a><h2>See Also</h2>
|
2188
2091
|
<a class="link" href="glib-GTimeZone.html#GTimeZone" title="GTimeZone"><span class="type">GTimeZone</span></a>
|
2189
2092
|
</div>
|
2190
2093
|
</div>
|
2191
2094
|
<div class="footer">
|
2192
2095
|
<hr>
|
2193
|
-
Generated by GTK-Doc V1.
|
2096
|
+
Generated by GTK-Doc V1.16.1</div>
|
2194
2097
|
</body>
|
2195
2098
|
</html>
|