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-I18N.html" title="Internationalization">
|
10
10
|
<link rel="next" href="glib-GTimeZone.html" title="GTimeZone">
|
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-Date-and-Time-Functions.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-Date-and-Time-Functions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,22 +35,25 @@
|
|
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-Date-and-Time-Functions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
|
43
43
|
#define <a class="link" href="glib-Date-and-Time-Functions.html#G-USEC-PER-SEC:CAPS" title="G_USEC_PER_SEC">G_USEC_PER_SEC</a>
|
44
|
-
|
45
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-get-current-time" title="g_get_current_time ()">g_get_current_time</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>);
|
44
|
+
struct <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal">GTimeVal</a>;
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-get-current-time" title="g_get_current_time ()">g_get_current_time</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>);
|
46
46
|
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-usleep" title="g_usleep ()">g_usleep</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> microseconds</code></em>);
|
47
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-add" title="g_time_val_add ()">g_time_val_add</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>,
|
47
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-add" title="g_time_val_add ()">g_time_val_add</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>,
|
48
48
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a> microseconds</code></em>);
|
49
49
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-from-iso8601" title="g_time_val_from_iso8601 ()">g_time_val_from_iso8601</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *iso_date</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);
|
51
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
50
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);
|
51
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Date-and-Time-Functions.html#g-time-val-to-iso8601" title="g_time_val_to_iso8601 ()">g_time_val_to_iso8601</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);
|
52
52
|
|
53
|
-
|
53
|
+
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()">g_get_monotonic_time</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
54
|
+
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-get-real-time" title="g_get_real_time ()">g_get_real_time</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
55
|
+
|
56
|
+
struct <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate">GDate</a>;
|
54
57
|
typedef <a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime">GTime</a>;
|
55
58
|
enum <a class="link" href="glib-Date-and-Time-Functions.html#GDateDMY" title="enum GDateDMY">GDateDMY</a>;
|
56
59
|
typedef <a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay">GDateDay</a>;
|
@@ -62,84 +65,84 @@ enum <a class="link" href="glib-Date-and-Time-Functions.html#GDat
|
|
62
65
|
#define <a class="link" href="glib-Date-and-Time-Functions.html#G-DATE-BAD-JULIAN:CAPS" title="G_DATE_BAD_JULIAN">G_DATE_BAD_JULIAN</a>
|
63
66
|
#define <a class="link" href="glib-Date-and-Time-Functions.html#G-DATE-BAD-YEAR:CAPS" title="G_DATE_BAD_YEAR">G_DATE_BAD_YEAR</a>
|
64
67
|
|
65
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
66
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
68
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()">g_date_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
69
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new-dmy" title="g_date_new_dmy ()">g_date_new_dmy</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>,
|
67
70
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
68
71
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
69
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
70
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()">g_date_clear</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
72
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new-julian" title="g_date_new_julian ()">g_date_new_julian</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> julian_day</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()">g_date_clear</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
71
74
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_dates</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-free" title="g_date_free ()">g_date_free</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
75
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-free" title="g_date_free ()">g_date_free</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
73
76
|
|
74
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-day" title="g_date_set_day ()">g_date_set_day</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
77
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-day" title="g_date_set_day ()">g_date_set_day</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
75
78
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>);
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-month" title="g_date_set_month ()">g_date_set_month</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-month" title="g_date_set_month ()">g_date_set_month</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
77
80
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>);
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-year" title="g_date_set_year ()">g_date_set_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
81
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-year" title="g_date_set_year ()">g_date_set_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
79
82
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
80
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-dmy" title="g_date_set_dmy ()">g_date_set_dmy</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
83
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-dmy" title="g_date_set_dmy ()">g_date_set_dmy</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
81
84
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>,
|
82
85
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
83
86
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> y</code></em>);
|
84
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-julian" title="g_date_set_julian ()">g_date_set_julian</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-julian" title="g_date_set_julian ()">g_date_set_julian</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
85
88
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> julian_date</code></em>);
|
86
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time" title="g_date_set_time ()">g_date_set_time</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
89
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time" title="g_date_set_time ()">g_date_set_time</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
87
90
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime"><span class="type">GTime</span></a> time_</code></em>);
|
88
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time-t" title="g_date_set_time_t ()">g_date_set_time_t</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
91
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time-t" title="g_date_set_time_t ()">g_date_set_time_t</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
89
92
|
<em class="parameter"><code><span class="type">time_t</span> timet</code></em>);
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time-val" title="g_date_set_time_val ()">g_date_set_time_val</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
91
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);
|
92
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-parse" title="g_date_set_parse ()">g_date_set_parse</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
93
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time-val" title="g_date_set_time_val ()">g_date_set_time_val</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
94
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);
|
95
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-parse" title="g_date_set_parse ()">g_date_set_parse</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
93
96
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);
|
94
97
|
|
95
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-days" title="g_date_add_days ()">g_date_add_days</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
98
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-days" title="g_date_add_days ()">g_date_add_days</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
96
99
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_days</code></em>);
|
97
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-days" title="g_date_subtract_days ()">g_date_subtract_days</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
100
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-days" title="g_date_subtract_days ()">g_date_subtract_days</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
98
101
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_days</code></em>);
|
99
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-months" title="g_date_add_months ()">g_date_add_months</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
102
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-months" title="g_date_add_months ()">g_date_add_months</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
100
103
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_months</code></em>);
|
101
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-months" title="g_date_subtract_months ()">g_date_subtract_months</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-months" title="g_date_subtract_months ()">g_date_subtract_months</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
102
105
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_months</code></em>);
|
103
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-years" title="g_date_add_years ()">g_date_add_years</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
106
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-add-years" title="g_date_add_years ()">g_date_add_years</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
104
107
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_years</code></em>);
|
105
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-years" title="g_date_subtract_years ()">g_date_subtract_years</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-subtract-years" title="g_date_subtract_years ()">g_date_subtract_years</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
106
109
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_years</code></em>);
|
107
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-days-between" title="g_date_days_between ()">g_date_days_between</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
108
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date2</code></em>);
|
109
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-compare" title="g_date_compare ()">g_date_compare</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *lhs</code></em>,
|
110
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *rhs</code></em>);
|
111
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clamp" title="g_date_clamp ()">g_date_clamp</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
112
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *min_date</code></em>,
|
113
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *max_date</code></em>);
|
114
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-order" title="g_date_order ()">g_date_order</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
115
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date2</code></em>);
|
110
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-days-between" title="g_date_days_between ()">g_date_days_between</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
111
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date2</code></em>);
|
112
|
+
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-compare" title="g_date_compare ()">g_date_compare</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *lhs</code></em>,
|
113
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *rhs</code></em>);
|
114
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clamp" title="g_date_clamp ()">g_date_clamp</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
115
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *min_date</code></em>,
|
116
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *max_date</code></em>);
|
117
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-order" title="g_date_order ()">g_date_order</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
118
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date2</code></em>);
|
116
119
|
|
117
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="returnvalue">GDateDay</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-day" title="g_date_get_day ()">g_date_get_day</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
118
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="returnvalue">GDateMonth</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-month" title="g_date_get_month ()">g_date_get_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
119
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="returnvalue">GDateYear</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-year" title="g_date_get_year ()">g_date_get_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
120
|
-
<a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-julian" title="g_date_get_julian ()">g_date_get_julian</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
121
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="returnvalue">GDateWeekday</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-weekday" title="g_date_get_weekday ()">g_date_get_weekday</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
122
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-day-of-year" title="g_date_get_day_of_year ()">g_date_get_day_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
120
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="returnvalue">GDateDay</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-day" title="g_date_get_day ()">g_date_get_day</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
121
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="returnvalue">GDateMonth</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-month" title="g_date_get_month ()">g_date_get_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
122
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="returnvalue">GDateYear</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-year" title="g_date_get_year ()">g_date_get_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
123
|
+
<a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-julian" title="g_date_get_julian ()">g_date_get_julian</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
124
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="returnvalue">GDateWeekday</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-weekday" title="g_date_get_weekday ()">g_date_get_weekday</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
125
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-day-of-year" title="g_date_get_day_of_year ()">g_date_get_day_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
123
126
|
|
124
127
|
<a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-days-in-month" title="g_date_get_days_in_month ()">g_date_get_days_in_month</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
125
128
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
126
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-is-first-of-month" title="g_date_is_first_of_month ()">g_date_is_first_of_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
127
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-is-last-of-month" title="g_date_is_last_of_month ()">g_date_is_last_of_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
129
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-is-first-of-month" title="g_date_is_first_of_month ()">g_date_is_first_of_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
130
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-is-last-of-month" title="g_date_is_last_of_month ()">g_date_is_last_of_month</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
128
131
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-is-leap-year" title="g_date_is_leap_year ()">g_date_is_leap_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
129
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-monday-week-of-year" title="g_date_get_monday_week_of_year ()">g_date_get_monday_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
132
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-monday-week-of-year" title="g_date_get_monday_week_of_year ()">g_date_get_monday_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
130
133
|
<a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-monday-weeks-in-year" title="g_date_get_monday_weeks_in_year ()">g_date_get_monday_weeks_in_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
131
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-sunday-week-of-year" title="g_date_get_sunday_week_of_year ()">g_date_get_sunday_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
134
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-sunday-week-of-year" title="g_date_get_sunday_week_of_year ()">g_date_get_sunday_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
132
135
|
<a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-sunday-weeks-in-year" title="g_date_get_sunday_weeks_in_year ()">g_date_get_sunday_weeks_in_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
133
|
-
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-iso8601-week-of-year" title="g_date_get_iso8601_week_of_year ()">g_date_get_iso8601_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
136
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-get-iso8601-week-of-year" title="g_date_get_iso8601_week_of_year ()">g_date_get_iso8601_week_of_year</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
134
137
|
|
135
138
|
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-strftime" title="g_date_strftime ()">g_date_strftime</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s</code></em>,
|
136
139
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> slen</code></em>,
|
137
140
|
<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>,
|
138
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
139
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-to-struct-tm" title="g_date_to_struct_tm ()">g_date_to_struct_tm</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
141
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
142
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-to-struct-tm" title="g_date_to_struct_tm ()">g_date_to_struct_tm</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
140
143
|
<em class="parameter"><code><span class="type">struct tm</span> *tm</code></em>);
|
141
144
|
|
142
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid" title="g_date_valid ()">g_date_valid</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);
|
145
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid" title="g_date_valid ()">g_date_valid</a> (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);
|
143
146
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid-day" title="g_date_valid_day ()">g_date_valid_day</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>);
|
144
147
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid-month" title="g_date_valid_month ()">g_date_valid_month</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>);
|
145
148
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid-year" title="g_date_valid_year ()">g_date_valid_year</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);
|
@@ -150,32 +153,32 @@ enum <a class="link" href="glib-Date-and-Time-Functions.html#GDat
|
|
150
153
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid-weekday" title="g_date_valid_weekday ()">g_date_valid_weekday</a> (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="type">GDateWeekday</span></a> weekday</code></em>);
|
151
154
|
</pre>
|
152
155
|
</div>
|
153
|
-
<div class="refsect1"
|
156
|
+
<div class="refsect1">
|
154
157
|
<a name="glib-Date-and-Time-Functions.description"></a><h2>Description</h2>
|
155
158
|
<p>
|
156
|
-
The <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> data structure represents a day between January 1, Year 1,
|
159
|
+
The <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> data structure represents a day between January 1, Year 1,
|
157
160
|
and sometime a few thousand years in the future (right now it will go
|
158
161
|
to the year 65535 or so, but <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-parse" title="g_date_set_parse ()"><code class="function">g_date_set_parse()</code></a> only parses up to the
|
159
|
-
year 8000 or so - just count on "a few thousand"). <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> is meant to
|
162
|
+
year 8000 or so - just count on "a few thousand"). <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> is meant to
|
160
163
|
represent everyday dates, not astronomical dates or historical dates
|
161
164
|
or ISO timestamps or the like. It extrapolates the current Gregorian
|
162
165
|
calendar forward and backward in time; there is no attempt to change
|
163
|
-
the calendar to match time periods or locations. <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> does not store
|
166
|
+
the calendar to match time periods or locations. <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> does not store
|
164
167
|
time information; it represents a <span class="emphasis"><em>day</em></span>.
|
165
168
|
</p>
|
166
169
|
<p>
|
167
|
-
The <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> implementation has several nice features; it is only a
|
170
|
+
The <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> implementation has several nice features; it is only a
|
168
171
|
64-bit struct, so storing large numbers of dates is very efficient. It
|
169
172
|
can keep both a Julian and day-month-year representation of the date,
|
170
173
|
since some calculations are much easier with one representation or the
|
171
174
|
other. A Julian representation is simply a count of days since some
|
172
|
-
fixed day in the past; for <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> the fixed day is January 1, 1 AD.
|
173
|
-
("Julian" dates in the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> API aren't really Julian dates in the
|
175
|
+
fixed day in the past; for <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> the fixed day is January 1, 1 AD.
|
176
|
+
("Julian" dates in the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> API aren't really Julian dates in the
|
174
177
|
technical sense; technically, Julian dates count from the start of the
|
175
178
|
Julian period, Jan 1, 4713 BC).
|
176
179
|
</p>
|
177
180
|
<p>
|
178
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> is simple to use. First you need a "blank" date; you can get a
|
181
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> is simple to use. First you need a "blank" date; you can get a
|
179
182
|
dynamically allocated date from <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()"><code class="function">g_date_new()</code></a>, or you can declare an
|
180
183
|
automatic variable or array and initialize it to a sane state by
|
181
184
|
calling <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()"><code class="function">g_date_clear()</code></a>. A cleared date is sane; it's safe to call
|
@@ -190,20 +193,17 @@ errors with <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-p
|
|
190
193
|
fail. Dates can be invalidated by calling <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()"><code class="function">g_date_clear()</code></a> again.
|
191
194
|
</p>
|
192
195
|
<p>
|
193
|
-
<span class="emphasis"><em>It is very important to use the API to access the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
196
|
+
<span class="emphasis"><em>It is very important to use the API to access the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
194
197
|
struct.</em></span> Often only the day-month-year or only the Julian
|
195
198
|
representation is valid. Sometimes neither is valid. Use the API.
|
196
199
|
</p>
|
197
200
|
<p>
|
198
|
-
GLib
|
199
|
-
is a <a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime"><span class="type">GTime</span></a> typedef and a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> struct which represents a more
|
200
|
-
precise time (with microseconds). You can request the current time as
|
201
|
-
a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> with <a class="link" href="glib-Date-and-Time-Functions.html#g-get-current-time" title="g_get_current_time ()"><code class="function">g_get_current_time()</code></a>.
|
201
|
+
GLib also features <a class="link" href="glib-GDateTime.html#GDateTime" title="GDateTime"><span class="type">GDateTime</span></a> which represents a precise time.
|
202
202
|
</p>
|
203
203
|
</div>
|
204
|
-
<div class="refsect1"
|
204
|
+
<div class="refsect1">
|
205
205
|
<a name="glib-Date-and-Time-Functions.details"></a><h2>Details</h2>
|
206
|
-
<div class="refsect2"
|
206
|
+
<div class="refsect2">
|
207
207
|
<a name="G-USEC-PER-SEC:CAPS"></a><h3>G_USEC_PER_SEC</h3>
|
208
208
|
<pre class="programlisting">#define G_USEC_PER_SEC 1000000
|
209
209
|
</pre>
|
@@ -213,53 +213,58 @@ code readability.
|
|
213
213
|
</p>
|
214
214
|
</div>
|
215
215
|
<hr>
|
216
|
-
<div class="refsect2"
|
217
|
-
<a name="GTimeVal"></a><h3>GTimeVal</h3>
|
218
|
-
<pre class="programlisting">
|
216
|
+
<div class="refsect2">
|
217
|
+
<a name="GTimeVal"></a><h3>struct GTimeVal</h3>
|
218
|
+
<pre class="programlisting">struct GTimeVal {
|
219
219
|
glong tv_sec;
|
220
220
|
glong tv_usec;
|
221
|
-
}
|
221
|
+
};
|
222
222
|
</pre>
|
223
223
|
<p>
|
224
224
|
Represents a precise time, with seconds and microseconds.
|
225
225
|
Similar to the <span class="structname">struct timeval</span> returned by
|
226
226
|
the <code class="function"><code class="function">gettimeofday()</code></code> UNIX call.
|
227
227
|
</p>
|
228
|
+
<p>
|
229
|
+
GLib is attempting to unify around the use of 64bit integers to
|
230
|
+
represent microsecond-precision time. As such, this type will be
|
231
|
+
removed from a future version of GLib.
|
232
|
+
</p>
|
228
233
|
<div class="variablelist"><table border="0">
|
229
234
|
<col align="left" valign="top">
|
230
235
|
<tbody>
|
231
236
|
<tr>
|
232
237
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GTimeVal.tv-sec"></a>tv_sec</code></em>;</span></p></td>
|
233
|
-
<td>seconds
|
234
|
-
</td>
|
238
|
+
<td>seconds</td>
|
235
239
|
</tr>
|
236
240
|
<tr>
|
237
241
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GTimeVal.tv-usec"></a>tv_usec</code></em>;</span></p></td>
|
238
|
-
<td>microseconds
|
239
|
-
</td>
|
242
|
+
<td>microseconds</td>
|
240
243
|
</tr>
|
241
244
|
</tbody>
|
242
245
|
</table></div>
|
243
246
|
</div>
|
244
247
|
<hr>
|
245
|
-
<div class="refsect2"
|
248
|
+
<div class="refsect2">
|
246
249
|
<a name="g-get-current-time"></a><h3>g_get_current_time ()</h3>
|
247
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_get_current_time (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>);</pre>
|
250
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_get_current_time (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *result</code></em>);</pre>
|
248
251
|
<p>
|
249
252
|
Equivalent to the UNIX <code class="function">gettimeofday()</code> function, but portable.
|
250
253
|
</p>
|
254
|
+
<p>
|
255
|
+
You may find <a class="link" href="glib-Date-and-Time-Functions.html#g-get-real-time" title="g_get_real_time ()"><code class="function">g_get_real_time()</code></a> to be more convenient.
|
256
|
+
</p>
|
251
257
|
<div class="variablelist"><table border="0">
|
252
258
|
<col align="left" valign="top">
|
253
259
|
<tbody><tr>
|
254
260
|
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
|
255
261
|
<td>
|
256
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> structure in which to store current time
|
257
|
-
</td>
|
262
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> structure in which to store current time.</td>
|
258
263
|
</tr></tbody>
|
259
264
|
</table></div>
|
260
265
|
</div>
|
261
266
|
<hr>
|
262
|
-
<div class="refsect2"
|
267
|
+
<div class="refsect2">
|
263
268
|
<a name="g-usleep"></a><h3>g_usleep ()</h3>
|
264
269
|
<pre class="programlisting"><span class="returnvalue">void</span> g_usleep (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> microseconds</code></em>);</pre>
|
265
270
|
<p>
|
@@ -273,15 +278,14 @@ length of the sleep.
|
|
273
278
|
<col align="left" valign="top">
|
274
279
|
<tbody><tr>
|
275
280
|
<td><p><span class="term"><em class="parameter"><code>microseconds</code></em> :</span></p></td>
|
276
|
-
<td>number of microseconds to pause
|
277
|
-
</td>
|
281
|
+
<td>number of microseconds to pause</td>
|
278
282
|
</tr></tbody>
|
279
283
|
</table></div>
|
280
284
|
</div>
|
281
285
|
<hr>
|
282
|
-
<div class="refsect2"
|
286
|
+
<div class="refsect2">
|
283
287
|
<a name="g-time-val-add"></a><h3>g_time_val_add ()</h3>
|
284
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_time_val_add (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>,
|
288
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_time_val_add (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>,
|
285
289
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#glong" title="glong"><span class="type">glong</span></a> microseconds</code></em>);</pre>
|
286
290
|
<p>
|
287
291
|
Adds the given number of microseconds to <em class="parameter"><code>time_</code></em>. <em class="parameter"><code>microseconds</code></em> can
|
@@ -292,7 +296,7 @@ also be negative to decrease the value of <em class="parameter"><code>time_</cod
|
|
292
296
|
<tbody>
|
293
297
|
<tr>
|
294
298
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
295
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
|
299
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>
|
296
300
|
</td>
|
297
301
|
</tr>
|
298
302
|
<tr>
|
@@ -304,41 +308,39 @@ also be negative to decrease the value of <em class="parameter"><code>time_</cod
|
|
304
308
|
</table></div>
|
305
309
|
</div>
|
306
310
|
<hr>
|
307
|
-
<div class="refsect2"
|
311
|
+
<div class="refsect2">
|
308
312
|
<a name="g-time-val-from-iso8601"></a><h3>g_time_val_from_iso8601 ()</h3>
|
309
313
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_time_val_from_iso8601 (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *iso_date</code></em>,
|
310
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);</pre>
|
314
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);</pre>
|
311
315
|
<p>
|
312
316
|
Converts a string containing an ISO 8601 encoded date and time
|
313
|
-
to a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> and puts it into <em class="parameter"><code>time_</code></em>.
|
317
|
+
to a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> and puts it into <em class="parameter"><code>time_</code></em>.
|
314
318
|
</p>
|
315
319
|
<div class="variablelist"><table border="0">
|
316
320
|
<col align="left" valign="top">
|
317
321
|
<tbody>
|
318
322
|
<tr>
|
319
323
|
<td><p><span class="term"><em class="parameter"><code>iso_date</code></em> :</span></p></td>
|
320
|
-
<td>an ISO 8601 encoded date string
|
321
|
-
</td>
|
324
|
+
<td>an ISO 8601 encoded date string</td>
|
322
325
|
</tr>
|
323
326
|
<tr>
|
324
327
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
325
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
|
328
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>
|
326
329
|
</td>
|
327
330
|
</tr>
|
328
331
|
<tr>
|
329
332
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
330
|
-
<td>
|
331
|
-
|
332
|
-
</td>
|
333
|
+
<td>
|
334
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the conversion was successful.</td>
|
333
335
|
</tr>
|
334
336
|
</tbody>
|
335
337
|
</table></div>
|
336
338
|
<p class="since">Since 2.12</p>
|
337
339
|
</div>
|
338
340
|
<hr>
|
339
|
-
<div class="refsect2"
|
341
|
+
<div class="refsect2">
|
340
342
|
<a name="g-time-val-to-iso8601"></a><h3>g_time_val_to_iso8601 ()</h3>
|
341
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
343
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_time_val_to_iso8601 (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *time_</code></em>);</pre>
|
342
344
|
<p>
|
343
345
|
Converts <em class="parameter"><code>time_</code></em> into an ISO 8601 encoded string, relative to the
|
344
346
|
Coordinated Universal Time (UTC).
|
@@ -348,23 +350,75 @@ Coordinated Universal Time (UTC).
|
|
348
350
|
<tbody>
|
349
351
|
<tr>
|
350
352
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
351
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a>
|
353
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>
|
352
354
|
</td>
|
353
355
|
</tr>
|
354
356
|
<tr>
|
355
357
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
356
|
-
<td>
|
357
|
-
|
358
|
-
</td>
|
358
|
+
<td>a newly allocated string containing an ISO 8601 date</td>
|
359
359
|
</tr>
|
360
360
|
</tbody>
|
361
361
|
</table></div>
|
362
362
|
<p class="since">Since 2.12</p>
|
363
363
|
</div>
|
364
364
|
<hr>
|
365
|
-
<div class="refsect2"
|
366
|
-
<a name="
|
367
|
-
<pre class="programlisting">
|
365
|
+
<div class="refsect2">
|
366
|
+
<a name="g-get-monotonic-time"></a><h3>g_get_monotonic_time ()</h3>
|
367
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_get_monotonic_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
368
|
+
<p>
|
369
|
+
Queries the system monotonic time, if available.
|
370
|
+
</p>
|
371
|
+
<p>
|
372
|
+
On POSIX systems with <code class="function">clock_gettime()</code> and <code class="literal">CLOCK_MONOTONIC</code> this call
|
373
|
+
is a very shallow wrapper for that. Otherwise, we make a best effort
|
374
|
+
that probably involves returning the wall clock time (with at least
|
375
|
+
microsecond accuracy, subject to the limitations of the OS kernel).
|
376
|
+
</p>
|
377
|
+
<p>
|
378
|
+
Note that, on Windows, "limitations of the OS kernel" is a rather
|
379
|
+
substantial statement. Depending on the configuration of the system,
|
380
|
+
the wall clock time is updated as infrequently as 64 times a second
|
381
|
+
(which is approximately every 16ms).
|
382
|
+
</p>
|
383
|
+
<div class="variablelist"><table border="0">
|
384
|
+
<col align="left" valign="top">
|
385
|
+
<tbody><tr>
|
386
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
387
|
+
<td>the monotonic time, in microseconds</td>
|
388
|
+
</tr></tbody>
|
389
|
+
</table></div>
|
390
|
+
<p class="since">Since 2.28</p>
|
391
|
+
</div>
|
392
|
+
<hr>
|
393
|
+
<div class="refsect2">
|
394
|
+
<a name="g-get-real-time"></a><h3>g_get_real_time ()</h3>
|
395
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_get_real_time (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
396
|
+
<p>
|
397
|
+
Queries the system wall-clock time.
|
398
|
+
</p>
|
399
|
+
<p>
|
400
|
+
This call is functionally equivalent to <a class="link" href="glib-Date-and-Time-Functions.html#g-get-current-time" title="g_get_current_time ()"><code class="function">g_get_current_time()</code></a> except
|
401
|
+
that the return value is often more convenient than dealing with a
|
402
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a>.
|
403
|
+
</p>
|
404
|
+
<p>
|
405
|
+
You should only use this call if you are actually interested in the real
|
406
|
+
wall-clock time. <a class="link" href="glib-Date-and-Time-Functions.html#g-get-monotonic-time" title="g_get_monotonic_time ()"><code class="function">g_get_monotonic_time()</code></a> is probably more useful for
|
407
|
+
measuring intervals.
|
408
|
+
</p>
|
409
|
+
<div class="variablelist"><table border="0">
|
410
|
+
<col align="left" valign="top">
|
411
|
+
<tbody><tr>
|
412
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
413
|
+
<td>the number of microseconds since January 1, 1970 UTC.</td>
|
414
|
+
</tr></tbody>
|
415
|
+
</table></div>
|
416
|
+
<p class="since">Since 2.28</p>
|
417
|
+
</div>
|
418
|
+
<hr>
|
419
|
+
<div class="refsect2">
|
420
|
+
<a name="GDate"></a><h3>struct GDate</h3>
|
421
|
+
<pre class="programlisting">struct GDate {
|
368
422
|
guint julian_days : 32; /* julian days representation - we use a
|
369
423
|
* bitfield hoping that 64 bit platforms
|
370
424
|
* will pack this whole struct in one big
|
@@ -378,7 +432,7 @@ Coordinated Universal Time (UTC).
|
|
378
432
|
guint day : 6;
|
379
433
|
guint month : 4;
|
380
434
|
guint year : 16;
|
381
|
-
}
|
435
|
+
};
|
382
436
|
</pre>
|
383
437
|
<p>
|
384
438
|
Represents a day between January 1, Year 1 and a few thousand years in
|
@@ -396,41 +450,35 @@ month, and year.
|
|
396
450
|
<tbody>
|
397
451
|
<tr>
|
398
452
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.julian-days"></a>julian_days</code></em> : 32;</span></p></td>
|
399
|
-
<td>the Julian representation of the date
|
400
|
-
</td>
|
453
|
+
<td>the Julian representation of the date</td>
|
401
454
|
</tr>
|
402
455
|
<tr>
|
403
456
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.julian"></a>julian</code></em> : 1;</span></p></td>
|
404
|
-
<td>this bit is set if <em class="parameter"><code>julian_days</code></em> is valid
|
405
|
-
</td>
|
457
|
+
<td>this bit is set if <em class="parameter"><code>julian_days</code></em> is valid</td>
|
406
458
|
</tr>
|
407
459
|
<tr>
|
408
460
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.dmy"></a>dmy</code></em> : 1;</span></p></td>
|
409
|
-
<td>this is set if <em class="parameter"><code>day</code></em>, <em class="parameter"><code>month</code></em> and <em class="parameter"><code>year</code></em> are valid
|
410
|
-
</td>
|
461
|
+
<td>this is set if <em class="parameter"><code>day</code></em>, <em class="parameter"><code>month</code></em> and <em class="parameter"><code>year</code></em> are valid</td>
|
411
462
|
</tr>
|
412
463
|
<tr>
|
413
464
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.day"></a>day</code></em> : 6;</span></p></td>
|
414
|
-
<td>the day of the day-month-year representation of the date, as
|
415
|
-
|
416
|
-
</td>
|
465
|
+
<td>the day of the day-month-year representation of the date, as
|
466
|
+
a number between 1 and 31</td>
|
417
467
|
</tr>
|
418
468
|
<tr>
|
419
469
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.month"></a>month</code></em> : 4;</span></p></td>
|
420
|
-
<td>the day of the day-month-year representation of the date, as
|
421
|
-
|
422
|
-
</td>
|
470
|
+
<td>the day of the day-month-year representation of the date, as
|
471
|
+
a number between 1 and 12</td>
|
423
472
|
</tr>
|
424
473
|
<tr>
|
425
474
|
<td><p><span class="term"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GDate.year"></a>year</code></em> : 16;</span></p></td>
|
426
|
-
<td>the day of the day-month-year representation of the date
|
427
|
-
</td>
|
475
|
+
<td>the day of the day-month-year representation of the date</td>
|
428
476
|
</tr>
|
429
477
|
</tbody>
|
430
478
|
</table></div>
|
431
479
|
</div>
|
432
480
|
<hr>
|
433
|
-
<div class="refsect2"
|
481
|
+
<div class="refsect2">
|
434
482
|
<a name="GTime"></a><h3>GTime</h3>
|
435
483
|
<pre class="programlisting">typedef gint32 GTime;
|
436
484
|
</pre>
|
@@ -468,7 +516,7 @@ to the UNIX <code class="function">time()</code> function. Instead, do the follo
|
|
468
516
|
</p>
|
469
517
|
</div>
|
470
518
|
<hr>
|
471
|
-
<div class="refsect2"
|
519
|
+
<div class="refsect2">
|
472
520
|
<a name="GDateDMY"></a><h3>enum GDateDMY</h3>
|
473
521
|
<pre class="programlisting">typedef enum
|
474
522
|
{
|
@@ -503,7 +551,7 @@ to mark a number as a day, month, or year.
|
|
503
551
|
</table></div>
|
504
552
|
</div>
|
505
553
|
<hr>
|
506
|
-
<div class="refsect2"
|
554
|
+
<div class="refsect2">
|
507
555
|
<a name="GDateDay"></a><h3>GDateDay</h3>
|
508
556
|
<pre class="programlisting">typedef guint8 GDateDay; /* day of the month */
|
509
557
|
</pre>
|
@@ -513,7 +561,7 @@ Integer representing a day of the month; between 1 and
|
|
513
561
|
</p>
|
514
562
|
</div>
|
515
563
|
<hr>
|
516
|
-
<div class="refsect2"
|
564
|
+
<div class="refsect2">
|
517
565
|
<a name="GDateMonth"></a><h3>enum GDateMonth</h3>
|
518
566
|
<pre class="programlisting">typedef enum
|
519
567
|
{
|
@@ -608,7 +656,7 @@ Enumeration representing a month; values are <a class="link" href="glib-Date-and
|
|
608
656
|
</table></div>
|
609
657
|
</div>
|
610
658
|
<hr>
|
611
|
-
<div class="refsect2"
|
659
|
+
<div class="refsect2">
|
612
660
|
<a name="GDateYear"></a><h3>GDateYear</h3>
|
613
661
|
<pre class="programlisting">typedef guint16 GDateYear;
|
614
662
|
</pre>
|
@@ -619,7 +667,7 @@ allowed. The year is represented with four digits.
|
|
619
667
|
</p>
|
620
668
|
</div>
|
621
669
|
<hr>
|
622
|
-
<div class="refsect2"
|
670
|
+
<div class="refsect2">
|
623
671
|
<a name="GDateWeekday"></a><h3>enum GDateWeekday</h3>
|
624
672
|
<pre class="programlisting">typedef enum
|
625
673
|
{
|
@@ -684,7 +732,7 @@ Enumeration representing a day of the week; <a class="link" href="glib-Date-and-
|
|
684
732
|
</table></div>
|
685
733
|
</div>
|
686
734
|
<hr>
|
687
|
-
<div class="refsect2"
|
735
|
+
<div class="refsect2">
|
688
736
|
<a name="G-DATE-BAD-DAY:CAPS"></a><h3>G_DATE_BAD_DAY</h3>
|
689
737
|
<pre class="programlisting">#define G_DATE_BAD_DAY 0U
|
690
738
|
</pre>
|
@@ -693,7 +741,7 @@ Represents an invalid <a class="link" href="glib-Date-and-Time-Functions.html#GD
|
|
693
741
|
</p>
|
694
742
|
</div>
|
695
743
|
<hr>
|
696
|
-
<div class="refsect2"
|
744
|
+
<div class="refsect2">
|
697
745
|
<a name="G-DATE-BAD-JULIAN:CAPS"></a><h3>G_DATE_BAD_JULIAN</h3>
|
698
746
|
<pre class="programlisting">#define G_DATE_BAD_JULIAN 0U
|
699
747
|
</pre>
|
@@ -702,7 +750,7 @@ Represents an invalid Julian day number.
|
|
702
750
|
</p>
|
703
751
|
</div>
|
704
752
|
<hr>
|
705
|
-
<div class="refsect2"
|
753
|
+
<div class="refsect2">
|
706
754
|
<a name="G-DATE-BAD-YEAR:CAPS"></a><h3>G_DATE_BAD_YEAR</h3>
|
707
755
|
<pre class="programlisting">#define G_DATE_BAD_YEAR 0U
|
708
756
|
</pre>
|
@@ -711,11 +759,11 @@ Represents an invalid year.
|
|
711
759
|
</p>
|
712
760
|
</div>
|
713
761
|
<hr>
|
714
|
-
<div class="refsect2"
|
762
|
+
<div class="refsect2">
|
715
763
|
<a name="g-date-new"></a><h3>g_date_new ()</h3>
|
716
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
764
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * g_date_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
717
765
|
<p>
|
718
|
-
Allocates a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> and initializes it to a sane state. The new date will
|
766
|
+
Allocates a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> and initializes it to a sane state. The new date will
|
719
767
|
be cleared (as if you'd called <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()"><code class="function">g_date_clear()</code></a>) but invalid (it won't
|
720
768
|
represent an existing day). Free the return value with <a class="link" href="glib-Date-and-Time-Functions.html#g-date-free" title="g_date_free ()"><code class="function">g_date_free()</code></a>.
|
721
769
|
</p>
|
@@ -723,15 +771,15 @@ represent an existing day). Free the return value with <a class="link" href="gli
|
|
723
771
|
<col align="left" valign="top">
|
724
772
|
<tbody><tr>
|
725
773
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
726
|
-
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
774
|
+
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
727
775
|
</td>
|
728
776
|
</tr></tbody>
|
729
777
|
</table></div>
|
730
778
|
</div>
|
731
779
|
<hr>
|
732
|
-
<div class="refsect2"
|
780
|
+
<div class="refsect2">
|
733
781
|
<a name="g-date-new-dmy"></a><h3>g_date_new_dmy ()</h3>
|
734
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
782
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * g_date_new_dmy (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>,
|
735
783
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
736
784
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
737
785
|
<p>
|
@@ -744,31 +792,28 @@ returned date will be valid.
|
|
744
792
|
<tbody>
|
745
793
|
<tr>
|
746
794
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
747
|
-
<td>day of the month
|
748
|
-
</td>
|
795
|
+
<td>day of the month</td>
|
749
796
|
</tr>
|
750
797
|
<tr>
|
751
798
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
752
|
-
<td>month of the year
|
753
|
-
</td>
|
799
|
+
<td>month of the year</td>
|
754
800
|
</tr>
|
755
801
|
<tr>
|
756
802
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
757
|
-
<td>year
|
758
|
-
</td>
|
803
|
+
<td>year</td>
|
759
804
|
</tr>
|
760
805
|
<tr>
|
761
806
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
762
|
-
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> initialized with <em class="parameter"><code>day</code></em>, <em class="parameter"><code>month</code></em>, and <em class="parameter"><code>year</code></em>
|
807
|
+
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> initialized with <em class="parameter"><code>day</code></em>, <em class="parameter"><code>month</code></em>, and <em class="parameter"><code>year</code></em>
|
763
808
|
</td>
|
764
809
|
</tr>
|
765
810
|
</tbody>
|
766
811
|
</table></div>
|
767
812
|
</div>
|
768
813
|
<hr>
|
769
|
-
<div class="refsect2"
|
814
|
+
<div class="refsect2">
|
770
815
|
<a name="g-date-new-julian"></a><h3>g_date_new_julian ()</h3>
|
771
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="returnvalue">GDate</span></a
|
816
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="returnvalue">GDate</span></a> * g_date_new_julian (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> julian_day</code></em>);</pre>
|
772
817
|
<p>
|
773
818
|
Like <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()"><code class="function">g_date_new()</code></a>, but also sets the value of the date. Assuming the
|
774
819
|
Julian day number you pass in is valid (greater than 0, less than an
|
@@ -779,24 +824,23 @@ unreasonably large number), the returned date will be valid.
|
|
779
824
|
<tbody>
|
780
825
|
<tr>
|
781
826
|
<td><p><span class="term"><em class="parameter"><code>julian_day</code></em> :</span></p></td>
|
782
|
-
<td>days since January 1, Year 1
|
783
|
-
</td>
|
827
|
+
<td>days since January 1, Year 1</td>
|
784
828
|
</tr>
|
785
829
|
<tr>
|
786
830
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
787
|
-
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> initialized with <em class="parameter"><code>julian_day</code></em>
|
831
|
+
<td>a newly-allocated <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> initialized with <em class="parameter"><code>julian_day</code></em>
|
788
832
|
</td>
|
789
833
|
</tr>
|
790
834
|
</tbody>
|
791
835
|
</table></div>
|
792
836
|
</div>
|
793
837
|
<hr>
|
794
|
-
<div class="refsect2"
|
838
|
+
<div class="refsect2">
|
795
839
|
<a name="g-date-clear"></a><h3>g_date_clear ()</h3>
|
796
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_clear (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
840
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_clear (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
797
841
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_dates</code></em>);</pre>
|
798
842
|
<p>
|
799
|
-
Initializes one or more <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> structs to a sane but invalid
|
843
|
+
Initializes one or more <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> structs to a sane but invalid
|
800
844
|
state. The cleared dates will not represent an existing date, but will
|
801
845
|
not contain garbage. Useful to init a date declared on the stack.
|
802
846
|
Validity can be tested with <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid" title="g_date_valid ()"><code class="function">g_date_valid()</code></a>.
|
@@ -806,40 +850,38 @@ Validity can be tested with <a class="link" href="glib-Date-and-Time-Functions.h
|
|
806
850
|
<tbody>
|
807
851
|
<tr>
|
808
852
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
809
|
-
<td>pointer to one or more dates to clear
|
810
|
-
</td>
|
853
|
+
<td>pointer to one or more dates to clear</td>
|
811
854
|
</tr>
|
812
855
|
<tr>
|
813
856
|
<td><p><span class="term"><em class="parameter"><code>n_dates</code></em> :</span></p></td>
|
814
|
-
<td>number of dates to clear
|
815
|
-
</td>
|
857
|
+
<td>number of dates to clear</td>
|
816
858
|
</tr>
|
817
859
|
</tbody>
|
818
860
|
</table></div>
|
819
861
|
</div>
|
820
862
|
<hr>
|
821
|
-
<div class="refsect2"
|
863
|
+
<div class="refsect2">
|
822
864
|
<a name="g-date-free"></a><h3>g_date_free ()</h3>
|
823
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_free (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
865
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_free (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
824
866
|
<p>
|
825
|
-
Frees a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> returned from <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()"><code class="function">g_date_new()</code></a>.
|
867
|
+
Frees a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> returned from <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()"><code class="function">g_date_new()</code></a>.
|
826
868
|
</p>
|
827
869
|
<div class="variablelist"><table border="0">
|
828
870
|
<col align="left" valign="top">
|
829
871
|
<tbody><tr>
|
830
872
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
831
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
873
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
832
874
|
</td>
|
833
875
|
</tr></tbody>
|
834
876
|
</table></div>
|
835
877
|
</div>
|
836
878
|
<hr>
|
837
|
-
<div class="refsect2"
|
879
|
+
<div class="refsect2">
|
838
880
|
<a name="g-date-set-day"></a><h3>g_date_set_day ()</h3>
|
839
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_day (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
881
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_day (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
840
882
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>);</pre>
|
841
883
|
<p>
|
842
|
-
Sets the day of the month for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. If the resulting day-month-year
|
884
|
+
Sets the day of the month for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. If the resulting day-month-year
|
843
885
|
triplet is invalid, the date will be invalid.
|
844
886
|
</p>
|
845
887
|
<div class="variablelist"><table border="0">
|
@@ -847,24 +889,23 @@ triplet is invalid, the date will be invalid.
|
|
847
889
|
<tbody>
|
848
890
|
<tr>
|
849
891
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
850
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
892
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
851
893
|
</td>
|
852
894
|
</tr>
|
853
895
|
<tr>
|
854
896
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
855
|
-
<td>day to set
|
856
|
-
</td>
|
897
|
+
<td>day to set</td>
|
857
898
|
</tr>
|
858
899
|
</tbody>
|
859
900
|
</table></div>
|
860
901
|
</div>
|
861
902
|
<hr>
|
862
|
-
<div class="refsect2"
|
903
|
+
<div class="refsect2">
|
863
904
|
<a name="g-date-set-month"></a><h3>g_date_set_month ()</h3>
|
864
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_month (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
905
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_month (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
865
906
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>);</pre>
|
866
907
|
<p>
|
867
|
-
Sets the month of the year for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. If the resulting
|
908
|
+
Sets the month of the year for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. If the resulting
|
868
909
|
day-month-year triplet is invalid, the date will be invalid.
|
869
910
|
</p>
|
870
911
|
<div class="variablelist"><table border="0">
|
@@ -872,24 +913,23 @@ day-month-year triplet is invalid, the date will be invalid.
|
|
872
913
|
<tbody>
|
873
914
|
<tr>
|
874
915
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
875
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
916
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
876
917
|
</td>
|
877
918
|
</tr>
|
878
919
|
<tr>
|
879
920
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
880
|
-
<td>month to set
|
881
|
-
</td>
|
921
|
+
<td>month to set</td>
|
882
922
|
</tr>
|
883
923
|
</tbody>
|
884
924
|
</table></div>
|
885
925
|
</div>
|
886
926
|
<hr>
|
887
|
-
<div class="refsect2"
|
927
|
+
<div class="refsect2">
|
888
928
|
<a name="g-date-set-year"></a><h3>g_date_set_year ()</h3>
|
889
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
929
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
890
930
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
891
931
|
<p>
|
892
|
-
Sets the year for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. If the resulting day-month-year triplet is
|
932
|
+
Sets the year for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. If the resulting day-month-year triplet is
|
893
933
|
invalid, the date will be invalid.
|
894
934
|
</p>
|
895
935
|
<div class="variablelist"><table border="0">
|
@@ -897,26 +937,25 @@ invalid, the date will be invalid.
|
|
897
937
|
<tbody>
|
898
938
|
<tr>
|
899
939
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
900
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
940
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
901
941
|
</td>
|
902
942
|
</tr>
|
903
943
|
<tr>
|
904
944
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
905
|
-
<td>year to set
|
906
|
-
</td>
|
945
|
+
<td>year to set</td>
|
907
946
|
</tr>
|
908
947
|
</tbody>
|
909
948
|
</table></div>
|
910
949
|
</div>
|
911
950
|
<hr>
|
912
|
-
<div class="refsect2"
|
951
|
+
<div class="refsect2">
|
913
952
|
<a name="g-date-set-dmy"></a><h3>g_date_set_dmy ()</h3>
|
914
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_dmy (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
953
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_dmy (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
915
954
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>,
|
916
955
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
917
956
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> y</code></em>);</pre>
|
918
957
|
<p>
|
919
|
-
Sets the value of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> from a day, month, and year. The day-month-year
|
958
|
+
Sets the value of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> from a day, month, and year. The day-month-year
|
920
959
|
triplet must be valid; if you aren't sure it is, call <a class="link" href="glib-Date-and-Time-Functions.html#g-date-valid-dmy" title="g_date_valid_dmy ()"><code class="function">g_date_valid_dmy()</code></a> to
|
921
960
|
check before you set it.
|
922
961
|
</p>
|
@@ -925,57 +964,53 @@ check before you set it.
|
|
925
964
|
<tbody>
|
926
965
|
<tr>
|
927
966
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
928
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
967
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
929
968
|
</td>
|
930
969
|
</tr>
|
931
970
|
<tr>
|
932
971
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
933
|
-
<td>day
|
934
|
-
</td>
|
972
|
+
<td>day</td>
|
935
973
|
</tr>
|
936
974
|
<tr>
|
937
975
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
938
|
-
<td>month
|
939
|
-
</td>
|
976
|
+
<td>month</td>
|
940
977
|
</tr>
|
941
978
|
<tr>
|
942
979
|
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
943
|
-
<td>year
|
944
|
-
</td>
|
980
|
+
<td>year</td>
|
945
981
|
</tr>
|
946
982
|
</tbody>
|
947
983
|
</table></div>
|
948
984
|
</div>
|
949
985
|
<hr>
|
950
|
-
<div class="refsect2"
|
986
|
+
<div class="refsect2">
|
951
987
|
<a name="g-date-set-julian"></a><h3>g_date_set_julian ()</h3>
|
952
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_julian (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
988
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_julian (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
953
989
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> julian_date</code></em>);</pre>
|
954
990
|
<p>
|
955
|
-
Sets the value of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> from a Julian day number.
|
991
|
+
Sets the value of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> from a Julian day number.
|
956
992
|
</p>
|
957
993
|
<div class="variablelist"><table border="0">
|
958
994
|
<col align="left" valign="top">
|
959
995
|
<tbody>
|
960
996
|
<tr>
|
961
997
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
962
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
998
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
963
999
|
</td>
|
964
1000
|
</tr>
|
965
1001
|
<tr>
|
966
1002
|
<td><p><span class="term"><em class="parameter"><code>julian_date</code></em> :</span></p></td>
|
967
|
-
<td>Julian day number (days since January 1, Year 1)
|
968
|
-
</td>
|
1003
|
+
<td>Julian day number (days since January 1, Year 1)</td>
|
969
1004
|
</tr>
|
970
1005
|
</tbody>
|
971
1006
|
</table></div>
|
972
1007
|
</div>
|
973
1008
|
<hr>
|
974
|
-
<div class="refsect2"
|
1009
|
+
<div class="refsect2">
|
975
1010
|
<a name="g-date-set-time"></a><h3>g_date_set_time ()</h3>
|
976
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1011
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
977
1012
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime"><span class="type">GTime</span></a> time_</code></em>);</pre>
|
978
|
-
<div class="warning"
|
1013
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
979
1014
|
<h3 class="title">Warning</h3>
|
980
1015
|
<p><code class="literal">g_date_set_time</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a class="link" href="glib-Date-and-Time-Functions.html#g-date-set-time-t" title="g_date_set_time_t ()"><code class="function">g_date_set_time_t()</code></a> instead.</p>
|
981
1016
|
</div>
|
@@ -988,22 +1023,20 @@ The time to date conversion is done using the user's current timezone.
|
|
988
1023
|
<tbody>
|
989
1024
|
<tr>
|
990
1025
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
991
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a
|
992
|
-
</td>
|
1026
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>.</td>
|
993
1027
|
</tr>
|
994
1028
|
<tr>
|
995
1029
|
<td><p><span class="term"><em class="parameter"><code>time_</code></em> :</span></p></td>
|
996
1030
|
<td>
|
997
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime"><span class="type">GTime</span></a> value to set
|
998
|
-
</td>
|
1031
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GTime" title="GTime"><span class="type">GTime</span></a> value to set.</td>
|
999
1032
|
</tr>
|
1000
1033
|
</tbody>
|
1001
1034
|
</table></div>
|
1002
1035
|
</div>
|
1003
1036
|
<hr>
|
1004
|
-
<div class="refsect2"
|
1037
|
+
<div class="refsect2">
|
1005
1038
|
<a name="g-date-set-time-t"></a><h3>g_date_set_time_t ()</h3>
|
1006
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time_t (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1039
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time_t (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1007
1040
|
<em class="parameter"><code><span class="type">time_t</span> timet</code></em>);</pre>
|
1008
1041
|
<p>
|
1009
1042
|
Sets the value of a date to the date corresponding to a time
|
@@ -1031,27 +1064,26 @@ To set the value of a date to the current day, you could write:
|
|
1031
1064
|
<tbody>
|
1032
1065
|
<tr>
|
1033
1066
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1034
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1067
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1035
1068
|
</td>
|
1036
1069
|
</tr>
|
1037
1070
|
<tr>
|
1038
1071
|
<td><p><span class="term"><em class="parameter"><code>timet</code></em> :</span></p></td>
|
1039
1072
|
<td>
|
1040
|
-
<span class="type">time_t</span> value to set
|
1041
|
-
</td>
|
1073
|
+
<span class="type">time_t</span> value to set</td>
|
1042
1074
|
</tr>
|
1043
1075
|
</tbody>
|
1044
1076
|
</table></div>
|
1045
1077
|
<p class="since">Since 2.10</p>
|
1046
1078
|
</div>
|
1047
1079
|
<hr>
|
1048
|
-
<div class="refsect2"
|
1080
|
+
<div class="refsect2">
|
1049
1081
|
<a name="g-date-set-time-val"></a><h3>g_date_set_time_val ()</h3>
|
1050
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time_val (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1051
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);</pre>
|
1082
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_time_val (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1083
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> *timeval</code></em>);</pre>
|
1052
1084
|
<p>
|
1053
|
-
Sets the value of a date from a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> value. Note that the
|
1054
|
-
<em class="parameter"><code>tv_usec</code></em> member is ignored, because <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> can't make use of the
|
1085
|
+
Sets the value of a date from a <a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> value. Note that the
|
1086
|
+
<em class="parameter"><code>tv_usec</code></em> member is ignored, because <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> can't make use of the
|
1055
1087
|
additional precision.
|
1056
1088
|
</p>
|
1057
1089
|
<p>
|
@@ -1062,23 +1094,22 @@ The time to date conversion is done using the user's current timezone.
|
|
1062
1094
|
<tbody>
|
1063
1095
|
<tr>
|
1064
1096
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1065
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1097
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1066
1098
|
</td>
|
1067
1099
|
</tr>
|
1068
1100
|
<tr>
|
1069
1101
|
<td><p><span class="term"><em class="parameter"><code>timeval</code></em> :</span></p></td>
|
1070
1102
|
<td>
|
1071
|
-
<a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="GTimeVal"><span class="type">GTimeVal</span></a> value to set
|
1072
|
-
</td>
|
1103
|
+
<a class="link" href="glib-Date-and-Time-Functions.html#GTimeVal" title="struct GTimeVal"><span class="type">GTimeVal</span></a> value to set</td>
|
1073
1104
|
</tr>
|
1074
1105
|
</tbody>
|
1075
1106
|
</table></div>
|
1076
1107
|
<p class="since">Since 2.10</p>
|
1077
1108
|
</div>
|
1078
1109
|
<hr>
|
1079
|
-
<div class="refsect2"
|
1110
|
+
<div class="refsect2">
|
1080
1111
|
<a name="g-date-set-parse"></a><h3>g_date_set_parse ()</h3>
|
1081
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_parse (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1112
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_set_parse (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1082
1113
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
|
1083
1114
|
<p>
|
1084
1115
|
Parses a user-inputted string <em class="parameter"><code>str</code></em>, and try to figure out what date it
|
@@ -1099,21 +1130,19 @@ capacity).
|
|
1099
1130
|
<tbody>
|
1100
1131
|
<tr>
|
1101
1132
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1102
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to fill in
|
1103
|
-
</td>
|
1133
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to fill in</td>
|
1104
1134
|
</tr>
|
1105
1135
|
<tr>
|
1106
1136
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1107
|
-
<td>string to parse
|
1108
|
-
</td>
|
1137
|
+
<td>string to parse</td>
|
1109
1138
|
</tr>
|
1110
1139
|
</tbody>
|
1111
1140
|
</table></div>
|
1112
1141
|
</div>
|
1113
1142
|
<hr>
|
1114
|
-
<div class="refsect2"
|
1143
|
+
<div class="refsect2">
|
1115
1144
|
<a name="g-date-add-days"></a><h3>g_date_add_days ()</h3>
|
1116
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_days (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1145
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_days (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1117
1146
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_days</code></em>);</pre>
|
1118
1147
|
<p>
|
1119
1148
|
Increments a date some number of days. To move forward by weeks, add
|
@@ -1124,21 +1153,19 @@ weeks*7 days. The date must be valid.
|
|
1124
1153
|
<tbody>
|
1125
1154
|
<tr>
|
1126
1155
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1127
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to increment
|
1128
|
-
</td>
|
1156
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to increment</td>
|
1129
1157
|
</tr>
|
1130
1158
|
<tr>
|
1131
1159
|
<td><p><span class="term"><em class="parameter"><code>n_days</code></em> :</span></p></td>
|
1132
|
-
<td>number of days to move the date forward
|
1133
|
-
</td>
|
1160
|
+
<td>number of days to move the date forward</td>
|
1134
1161
|
</tr>
|
1135
1162
|
</tbody>
|
1136
1163
|
</table></div>
|
1137
1164
|
</div>
|
1138
1165
|
<hr>
|
1139
|
-
<div class="refsect2"
|
1166
|
+
<div class="refsect2">
|
1140
1167
|
<a name="g-date-subtract-days"></a><h3>g_date_subtract_days ()</h3>
|
1141
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_days (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1168
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_days (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1142
1169
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_days</code></em>);</pre>
|
1143
1170
|
<p>
|
1144
1171
|
Moves a date some number of days into the past. To move by weeks, just
|
@@ -1149,21 +1176,19 @@ move by weeks*7 days. The date must be valid.
|
|
1149
1176
|
<tbody>
|
1150
1177
|
<tr>
|
1151
1178
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1152
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to decrement
|
1153
|
-
</td>
|
1179
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to decrement</td>
|
1154
1180
|
</tr>
|
1155
1181
|
<tr>
|
1156
1182
|
<td><p><span class="term"><em class="parameter"><code>n_days</code></em> :</span></p></td>
|
1157
|
-
<td>number of days to move
|
1158
|
-
</td>
|
1183
|
+
<td>number of days to move</td>
|
1159
1184
|
</tr>
|
1160
1185
|
</tbody>
|
1161
1186
|
</table></div>
|
1162
1187
|
</div>
|
1163
1188
|
<hr>
|
1164
|
-
<div class="refsect2"
|
1189
|
+
<div class="refsect2">
|
1165
1190
|
<a name="g-date-add-months"></a><h3>g_date_add_months ()</h3>
|
1166
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_months (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1191
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_months (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1167
1192
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_months</code></em>);</pre>
|
1168
1193
|
<p>
|
1169
1194
|
Increments a date by some number of months. If the day of the month is
|
@@ -1176,21 +1201,19 @@ must be valid.
|
|
1176
1201
|
<tbody>
|
1177
1202
|
<tr>
|
1178
1203
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1179
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to increment
|
1180
|
-
</td>
|
1204
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to increment</td>
|
1181
1205
|
</tr>
|
1182
1206
|
<tr>
|
1183
1207
|
<td><p><span class="term"><em class="parameter"><code>n_months</code></em> :</span></p></td>
|
1184
|
-
<td>number of months to move forward
|
1185
|
-
</td>
|
1208
|
+
<td>number of months to move forward</td>
|
1186
1209
|
</tr>
|
1187
1210
|
</tbody>
|
1188
1211
|
</table></div>
|
1189
1212
|
</div>
|
1190
1213
|
<hr>
|
1191
|
-
<div class="refsect2"
|
1214
|
+
<div class="refsect2">
|
1192
1215
|
<a name="g-date-subtract-months"></a><h3>g_date_subtract_months ()</h3>
|
1193
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_months (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1216
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_months (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1194
1217
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_months</code></em>);</pre>
|
1195
1218
|
<p>
|
1196
1219
|
Moves a date some number of months into the past. If the current day of
|
@@ -1202,21 +1225,19 @@ may change. The date must be valid.
|
|
1202
1225
|
<tbody>
|
1203
1226
|
<tr>
|
1204
1227
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1205
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to decrement
|
1206
|
-
</td>
|
1228
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to decrement</td>
|
1207
1229
|
</tr>
|
1208
1230
|
<tr>
|
1209
1231
|
<td><p><span class="term"><em class="parameter"><code>n_months</code></em> :</span></p></td>
|
1210
|
-
<td>number of months to move
|
1211
|
-
</td>
|
1232
|
+
<td>number of months to move</td>
|
1212
1233
|
</tr>
|
1213
1234
|
</tbody>
|
1214
1235
|
</table></div>
|
1215
1236
|
</div>
|
1216
1237
|
<hr>
|
1217
|
-
<div class="refsect2"
|
1238
|
+
<div class="refsect2">
|
1218
1239
|
<a name="g-date-add-years"></a><h3>g_date_add_years ()</h3>
|
1219
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_years (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1240
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_add_years (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1220
1241
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_years</code></em>);</pre>
|
1221
1242
|
<p>
|
1222
1243
|
Increments a date by some number of years. If the date is February 29,
|
@@ -1228,21 +1249,19 @@ to February 28. The date must be valid.
|
|
1228
1249
|
<tbody>
|
1229
1250
|
<tr>
|
1230
1251
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1231
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to increment
|
1232
|
-
</td>
|
1252
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to increment</td>
|
1233
1253
|
</tr>
|
1234
1254
|
<tr>
|
1235
1255
|
<td><p><span class="term"><em class="parameter"><code>n_years</code></em> :</span></p></td>
|
1236
|
-
<td>number of years to move forward
|
1237
|
-
</td>
|
1256
|
+
<td>number of years to move forward</td>
|
1238
1257
|
</tr>
|
1239
1258
|
</tbody>
|
1240
1259
|
</table></div>
|
1241
1260
|
</div>
|
1242
1261
|
<hr>
|
1243
|
-
<div class="refsect2"
|
1262
|
+
<div class="refsect2">
|
1244
1263
|
<a name="g-date-subtract-years"></a><h3>g_date_subtract_years ()</h3>
|
1245
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_years (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1264
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_subtract_years (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1246
1265
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n_years</code></em>);</pre>
|
1247
1266
|
<p>
|
1248
1267
|
Moves a date some number of years into the past. If the current day
|
@@ -1255,22 +1274,20 @@ must be valid.
|
|
1255
1274
|
<tbody>
|
1256
1275
|
<tr>
|
1257
1276
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1258
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to decrement
|
1259
|
-
</td>
|
1277
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to decrement</td>
|
1260
1278
|
</tr>
|
1261
1279
|
<tr>
|
1262
1280
|
<td><p><span class="term"><em class="parameter"><code>n_years</code></em> :</span></p></td>
|
1263
|
-
<td>number of years to move
|
1264
|
-
</td>
|
1281
|
+
<td>number of years to move</td>
|
1265
1282
|
</tr>
|
1266
1283
|
</tbody>
|
1267
1284
|
</table></div>
|
1268
1285
|
</div>
|
1269
1286
|
<hr>
|
1270
|
-
<div class="refsect2"
|
1287
|
+
<div class="refsect2">
|
1271
1288
|
<a name="g-date-days-between"></a><h3>g_date_days_between ()</h3>
|
1272
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_days_between (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
1273
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date2</code></em>);</pre>
|
1289
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_days_between (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
1290
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date2</code></em>);</pre>
|
1274
1291
|
<p>
|
1275
1292
|
Computes the number of days between two dates.
|
1276
1293
|
If <em class="parameter"><code>date2</code></em> is prior to <em class="parameter"><code>date1</code></em>, the returned value is negative.
|
@@ -1281,13 +1298,11 @@ Both dates must be valid.
|
|
1281
1298
|
<tbody>
|
1282
1299
|
<tr>
|
1283
1300
|
<td><p><span class="term"><em class="parameter"><code>date1</code></em> :</span></p></td>
|
1284
|
-
<td>the first date
|
1285
|
-
</td>
|
1301
|
+
<td>the first date</td>
|
1286
1302
|
</tr>
|
1287
1303
|
<tr>
|
1288
1304
|
<td><p><span class="term"><em class="parameter"><code>date2</code></em> :</span></p></td>
|
1289
|
-
<td>the second date
|
1290
|
-
</td>
|
1305
|
+
<td>the second date</td>
|
1291
1306
|
</tr>
|
1292
1307
|
<tr>
|
1293
1308
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1298,10 +1313,10 @@ Both dates must be valid.
|
|
1298
1313
|
</table></div>
|
1299
1314
|
</div>
|
1300
1315
|
<hr>
|
1301
|
-
<div class="refsect2"
|
1316
|
+
<div class="refsect2">
|
1302
1317
|
<a name="g-date-compare"></a><h3>g_date_compare ()</h3>
|
1303
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_compare (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *lhs</code></em>,
|
1304
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *rhs</code></em>);</pre>
|
1318
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_date_compare (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *lhs</code></em>,
|
1319
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *rhs</code></em>);</pre>
|
1305
1320
|
<p>
|
1306
1321
|
<code class="function">qsort()</code>-style comparsion function for dates. Both
|
1307
1322
|
dates must be valid.
|
@@ -1311,29 +1326,27 @@ dates must be valid.
|
|
1311
1326
|
<tbody>
|
1312
1327
|
<tr>
|
1313
1328
|
<td><p><span class="term"><em class="parameter"><code>lhs</code></em> :</span></p></td>
|
1314
|
-
<td>first date to compare
|
1315
|
-
</td>
|
1329
|
+
<td>first date to compare</td>
|
1316
1330
|
</tr>
|
1317
1331
|
<tr>
|
1318
1332
|
<td><p><span class="term"><em class="parameter"><code>rhs</code></em> :</span></p></td>
|
1319
|
-
<td>second date to compare
|
1320
|
-
</td>
|
1333
|
+
<td>second date to compare</td>
|
1321
1334
|
</tr>
|
1322
1335
|
<tr>
|
1323
1336
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1324
1337
|
<td>0 for equal, less than zero if <em class="parameter"><code>lhs</code></em> is less than <em class="parameter"><code>rhs</code></em>,
|
1325
|
-
|
1338
|
+
greater than zero if <em class="parameter"><code>lhs</code></em> is greater than <em class="parameter"><code>rhs</code></em>
|
1326
1339
|
</td>
|
1327
1340
|
</tr>
|
1328
1341
|
</tbody>
|
1329
1342
|
</table></div>
|
1330
1343
|
</div>
|
1331
1344
|
<hr>
|
1332
|
-
<div class="refsect2"
|
1345
|
+
<div class="refsect2">
|
1333
1346
|
<a name="g-date-clamp"></a><h3>g_date_clamp ()</h3>
|
1334
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_clamp (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1335
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *min_date</code></em>,
|
1336
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *max_date</code></em>);</pre>
|
1347
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_clamp (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1348
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *min_date</code></em>,
|
1349
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *max_date</code></em>);</pre>
|
1337
1350
|
<p>
|
1338
1351
|
If <em class="parameter"><code>date</code></em> is prior to <em class="parameter"><code>min_date</code></em>, sets <em class="parameter"><code>date</code></em> equal to <em class="parameter"><code>min_date</code></em>.
|
1339
1352
|
If <em class="parameter"><code>date</code></em> falls after <em class="parameter"><code>max_date</code></em>, sets <em class="parameter"><code>date</code></em> equal to <em class="parameter"><code>max_date</code></em>.
|
@@ -1346,8 +1359,7 @@ must be valid.
|
|
1346
1359
|
<tbody>
|
1347
1360
|
<tr>
|
1348
1361
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1349
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to clamp
|
1350
|
-
</td>
|
1362
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to clamp</td>
|
1351
1363
|
</tr>
|
1352
1364
|
<tr>
|
1353
1365
|
<td><p><span class="term"><em class="parameter"><code>min_date</code></em> :</span></p></td>
|
@@ -1363,10 +1375,10 @@ must be valid.
|
|
1363
1375
|
</table></div>
|
1364
1376
|
</div>
|
1365
1377
|
<hr>
|
1366
|
-
<div class="refsect2"
|
1378
|
+
<div class="refsect2">
|
1367
1379
|
<a name="g-date-order"></a><h3>g_date_order ()</h3>
|
1368
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_order (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
1369
|
-
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date2</code></em>);</pre>
|
1380
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_order (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date1</code></em>,
|
1381
|
+
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date2</code></em>);</pre>
|
1370
1382
|
<p>
|
1371
1383
|
Checks if <em class="parameter"><code>date1</code></em> is less than or equal to <em class="parameter"><code>date2</code></em>,
|
1372
1384
|
and swap the values if this is not the case.
|
@@ -1376,21 +1388,19 @@ and swap the values if this is not the case.
|
|
1376
1388
|
<tbody>
|
1377
1389
|
<tr>
|
1378
1390
|
<td><p><span class="term"><em class="parameter"><code>date1</code></em> :</span></p></td>
|
1379
|
-
<td>the first date
|
1380
|
-
</td>
|
1391
|
+
<td>the first date</td>
|
1381
1392
|
</tr>
|
1382
1393
|
<tr>
|
1383
1394
|
<td><p><span class="term"><em class="parameter"><code>date2</code></em> :</span></p></td>
|
1384
|
-
<td>the second date
|
1385
|
-
</td>
|
1395
|
+
<td>the second date</td>
|
1386
1396
|
</tr>
|
1387
1397
|
</tbody>
|
1388
1398
|
</table></div>
|
1389
1399
|
</div>
|
1390
1400
|
<hr>
|
1391
|
-
<div class="refsect2"
|
1401
|
+
<div class="refsect2">
|
1392
1402
|
<a name="g-date-get-day"></a><h3>g_date_get_day ()</h3>
|
1393
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="returnvalue">GDateDay</span></a> g_date_get_day (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1403
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="returnvalue">GDateDay</span></a> g_date_get_day (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1394
1404
|
<p>
|
1395
1405
|
Returns the day of the month. The date must be valid.
|
1396
1406
|
</p>
|
@@ -1399,21 +1409,19 @@ Returns the day of the month. The date must be valid.
|
|
1399
1409
|
<tbody>
|
1400
1410
|
<tr>
|
1401
1411
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1402
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to extract the day of the month from
|
1403
|
-
</td>
|
1412
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to extract the day of the month from</td>
|
1404
1413
|
</tr>
|
1405
1414
|
<tr>
|
1406
1415
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1407
|
-
<td>day of the month
|
1408
|
-
</td>
|
1416
|
+
<td>day of the month</td>
|
1409
1417
|
</tr>
|
1410
1418
|
</tbody>
|
1411
1419
|
</table></div>
|
1412
1420
|
</div>
|
1413
1421
|
<hr>
|
1414
|
-
<div class="refsect2"
|
1422
|
+
<div class="refsect2">
|
1415
1423
|
<a name="g-date-get-month"></a><h3>g_date_get_month ()</h3>
|
1416
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="returnvalue">GDateMonth</span></a> g_date_get_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1424
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="returnvalue">GDateMonth</span></a> g_date_get_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1417
1425
|
<p>
|
1418
1426
|
Returns the month of the year. The date must be valid.
|
1419
1427
|
</p>
|
@@ -1422,8 +1430,7 @@ Returns the month of the year. The date must be valid.
|
|
1422
1430
|
<tbody>
|
1423
1431
|
<tr>
|
1424
1432
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1425
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to get the month from
|
1426
|
-
</td>
|
1433
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to get the month from</td>
|
1427
1434
|
</tr>
|
1428
1435
|
<tr>
|
1429
1436
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1434,34 +1441,33 @@ Returns the month of the year. The date must be valid.
|
|
1434
1441
|
</table></div>
|
1435
1442
|
</div>
|
1436
1443
|
<hr>
|
1437
|
-
<div class="refsect2"
|
1444
|
+
<div class="refsect2">
|
1438
1445
|
<a name="g-date-get-year"></a><h3>g_date_get_year ()</h3>
|
1439
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="returnvalue">GDateYear</span></a> g_date_get_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1446
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="returnvalue">GDateYear</span></a> g_date_get_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1440
1447
|
<p>
|
1441
|
-
Returns the year of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. The date must be valid.
|
1448
|
+
Returns the year of a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. The date must be valid.
|
1442
1449
|
</p>
|
1443
1450
|
<div class="variablelist"><table border="0">
|
1444
1451
|
<col align="left" valign="top">
|
1445
1452
|
<tbody>
|
1446
1453
|
<tr>
|
1447
1454
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1448
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1455
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1449
1456
|
</td>
|
1450
1457
|
</tr>
|
1451
1458
|
<tr>
|
1452
1459
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1453
|
-
<td>year in which the date falls
|
1454
|
-
</td>
|
1460
|
+
<td>year in which the date falls</td>
|
1455
1461
|
</tr>
|
1456
1462
|
</tbody>
|
1457
1463
|
</table></div>
|
1458
1464
|
</div>
|
1459
1465
|
<hr>
|
1460
|
-
<div class="refsect2"
|
1466
|
+
<div class="refsect2">
|
1461
1467
|
<a name="g-date-get-julian"></a><h3>g_date_get_julian ()</h3>
|
1462
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> g_date_get_julian (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1468
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="returnvalue">guint32</span></a> g_date_get_julian (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1463
1469
|
<p>
|
1464
|
-
Returns the Julian day or "serial number" of the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. The
|
1470
|
+
Returns the Julian day or "serial number" of the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. The
|
1465
1471
|
Julian day is simply the number of days since January 1, Year 1; i.e.,
|
1466
1472
|
January 1, Year 1 is Julian day 1; January 2, Year 1 is Julian day 2,
|
1467
1473
|
etc. The date must be valid.
|
@@ -1471,44 +1477,40 @@ etc. The date must be valid.
|
|
1471
1477
|
<tbody>
|
1472
1478
|
<tr>
|
1473
1479
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1474
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to extract the Julian day from
|
1475
|
-
</td>
|
1480
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to extract the Julian day from</td>
|
1476
1481
|
</tr>
|
1477
1482
|
<tr>
|
1478
1483
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1479
|
-
<td>Julian day
|
1480
|
-
</td>
|
1484
|
+
<td>Julian day</td>
|
1481
1485
|
</tr>
|
1482
1486
|
</tbody>
|
1483
1487
|
</table></div>
|
1484
1488
|
</div>
|
1485
1489
|
<hr>
|
1486
|
-
<div class="refsect2"
|
1490
|
+
<div class="refsect2">
|
1487
1491
|
<a name="g-date-get-weekday"></a><h3>g_date_get_weekday ()</h3>
|
1488
|
-
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="returnvalue">GDateWeekday</span></a> g_date_get_weekday (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1492
|
+
<pre class="programlisting"><a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="returnvalue">GDateWeekday</span></a> g_date_get_weekday (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1489
1493
|
<p>
|
1490
|
-
Returns the day of the week for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>. The date must be valid.
|
1494
|
+
Returns the day of the week for a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>. The date must be valid.
|
1491
1495
|
</p>
|
1492
1496
|
<div class="variablelist"><table border="0">
|
1493
1497
|
<col align="left" valign="top">
|
1494
1498
|
<tbody>
|
1495
1499
|
<tr>
|
1496
1500
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1497
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a
|
1498
|
-
</td>
|
1501
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>.</td>
|
1499
1502
|
</tr>
|
1500
1503
|
<tr>
|
1501
1504
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1502
|
-
<td>day of the week as a <a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="type">GDateWeekday</span></a
|
1503
|
-
</td>
|
1505
|
+
<td>day of the week as a <a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="type">GDateWeekday</span></a>.</td>
|
1504
1506
|
</tr>
|
1505
1507
|
</tbody>
|
1506
1508
|
</table></div>
|
1507
1509
|
</div>
|
1508
1510
|
<hr>
|
1509
|
-
<div class="refsect2"
|
1511
|
+
<div class="refsect2">
|
1510
1512
|
<a name="g-date-get-day-of-year"></a><h3>g_date_get_day_of_year ()</h3>
|
1511
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_day_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1513
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_day_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1512
1514
|
<p>
|
1513
1515
|
Returns the day of the year, where Jan 1 is the first day of the
|
1514
1516
|
year. The date must be valid.
|
@@ -1518,19 +1520,17 @@ year. The date must be valid.
|
|
1518
1520
|
<tbody>
|
1519
1521
|
<tr>
|
1520
1522
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1521
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to extract day of year from
|
1522
|
-
</td>
|
1523
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to extract day of year from</td>
|
1523
1524
|
</tr>
|
1524
1525
|
<tr>
|
1525
1526
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1526
|
-
<td>day of the year
|
1527
|
-
</td>
|
1527
|
+
<td>day of the year</td>
|
1528
1528
|
</tr>
|
1529
1529
|
</tbody>
|
1530
1530
|
</table></div>
|
1531
1531
|
</div>
|
1532
1532
|
<hr>
|
1533
|
-
<div class="refsect2"
|
1533
|
+
<div class="refsect2">
|
1534
1534
|
<a name="g-date-get-days-in-month"></a><h3>g_date_get_days_in_month ()</h3>
|
1535
1535
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> g_date_get_days_in_month (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
1536
1536
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
@@ -1542,13 +1542,11 @@ Returns the number of days in a month, taking leap years into account.
|
|
1542
1542
|
<tbody>
|
1543
1543
|
<tr>
|
1544
1544
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
1545
|
-
<td>month
|
1546
|
-
</td>
|
1545
|
+
<td>month</td>
|
1547
1546
|
</tr>
|
1548
1547
|
<tr>
|
1549
1548
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1550
|
-
<td>year
|
1551
|
-
</td>
|
1549
|
+
<td>year</td>
|
1552
1550
|
</tr>
|
1553
1551
|
<tr>
|
1554
1552
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
@@ -1559,9 +1557,9 @@ Returns the number of days in a month, taking leap years into account.
|
|
1559
1557
|
</table></div>
|
1560
1558
|
</div>
|
1561
1559
|
<hr>
|
1562
|
-
<div class="refsect2"
|
1560
|
+
<div class="refsect2">
|
1563
1561
|
<a name="g-date-is-first-of-month"></a><h3>g_date_is_first_of_month ()</h3>
|
1564
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_is_first_of_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1562
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_is_first_of_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1565
1563
|
<p>
|
1566
1564
|
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is on the first of a month. The date must be valid.
|
1567
1565
|
</p>
|
@@ -1570,22 +1568,20 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
1570
1568
|
<tbody>
|
1571
1569
|
<tr>
|
1572
1570
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1573
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to check
|
1574
|
-
</td>
|
1571
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to check</td>
|
1575
1572
|
</tr>
|
1576
1573
|
<tr>
|
1577
1574
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1578
1575
|
<td>
|
1579
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is the first of the month
|
1580
|
-
</td>
|
1576
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is the first of the month</td>
|
1581
1577
|
</tr>
|
1582
1578
|
</tbody>
|
1583
1579
|
</table></div>
|
1584
1580
|
</div>
|
1585
1581
|
<hr>
|
1586
|
-
<div class="refsect2"
|
1582
|
+
<div class="refsect2">
|
1587
1583
|
<a name="g-date-is-last-of-month"></a><h3>g_date_is_last_of_month ()</h3>
|
1588
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_is_last_of_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1584
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_is_last_of_month (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1589
1585
|
<p>
|
1590
1586
|
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is the last day of the month. The date must be valid.
|
1591
1587
|
</p>
|
@@ -1594,46 +1590,42 @@ Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE">
|
|
1594
1590
|
<tbody>
|
1595
1591
|
<tr>
|
1596
1592
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1597
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to check
|
1598
|
-
</td>
|
1593
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to check</td>
|
1599
1594
|
</tr>
|
1600
1595
|
<tr>
|
1601
1596
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1602
1597
|
<td>
|
1603
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is the last day of the month
|
1604
|
-
</td>
|
1598
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is the last day of the month</td>
|
1605
1599
|
</tr>
|
1606
1600
|
</tbody>
|
1607
1601
|
</table></div>
|
1608
1602
|
</div>
|
1609
1603
|
<hr>
|
1610
|
-
<div class="refsect2"
|
1604
|
+
<div class="refsect2">
|
1611
1605
|
<a name="g-date-is-leap-year"></a><h3>g_date_is_leap_year ()</h3>
|
1612
1606
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_is_leap_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
1613
1607
|
<p>
|
1614
|
-
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year.<sup>[<a name="
|
1608
|
+
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year.<sup>[<a name="id604411" href="#ftn.id604411" class="footnote">4</a>]</sup>
|
1615
1609
|
</p>
|
1616
1610
|
<div class="variablelist"><table border="0">
|
1617
1611
|
<col align="left" valign="top">
|
1618
1612
|
<tbody>
|
1619
1613
|
<tr>
|
1620
1614
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1621
|
-
<td>year to check
|
1622
|
-
</td>
|
1615
|
+
<td>year to check</td>
|
1623
1616
|
</tr>
|
1624
1617
|
<tr>
|
1625
1618
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1626
1619
|
<td>
|
1627
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year
|
1628
|
-
</td>
|
1620
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year</td>
|
1629
1621
|
</tr>
|
1630
1622
|
</tbody>
|
1631
1623
|
</table></div>
|
1632
1624
|
</div>
|
1633
1625
|
<hr>
|
1634
|
-
<div class="refsect2"
|
1626
|
+
<div class="refsect2">
|
1635
1627
|
<a name="g-date-get-monday-week-of-year"></a><h3>g_date_get_monday_week_of_year ()</h3>
|
1636
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_monday_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1628
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_monday_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1637
1629
|
<p>
|
1638
1630
|
Returns the week of the year, where weeks are understood to start on
|
1639
1631
|
Monday. If the date is before the first Monday of the year, return
|
@@ -1644,19 +1636,18 @@ Monday. If the date is before the first Monday of the year, return
|
|
1644
1636
|
<tbody>
|
1645
1637
|
<tr>
|
1646
1638
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1647
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1639
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1648
1640
|
</td>
|
1649
1641
|
</tr>
|
1650
1642
|
<tr>
|
1651
1643
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1652
|
-
<td>week of the year
|
1653
|
-
</td>
|
1644
|
+
<td>week of the year</td>
|
1654
1645
|
</tr>
|
1655
1646
|
</tbody>
|
1656
1647
|
</table></div>
|
1657
1648
|
</div>
|
1658
1649
|
<hr>
|
1659
|
-
<div class="refsect2"
|
1650
|
+
<div class="refsect2">
|
1660
1651
|
<a name="g-date-get-monday-weeks-in-year"></a><h3>g_date_get_monday_weeks_in_year ()</h3>
|
1661
1652
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> g_date_get_monday_weeks_in_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
1662
1653
|
<p>
|
@@ -1672,21 +1663,19 @@ to be a Monday.)
|
|
1672
1663
|
<tbody>
|
1673
1664
|
<tr>
|
1674
1665
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1675
|
-
<td>a year
|
1676
|
-
</td>
|
1666
|
+
<td>a year</td>
|
1677
1667
|
</tr>
|
1678
1668
|
<tr>
|
1679
1669
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1680
|
-
<td>number of Mondays in the year
|
1681
|
-
</td>
|
1670
|
+
<td>number of Mondays in the year</td>
|
1682
1671
|
</tr>
|
1683
1672
|
</tbody>
|
1684
1673
|
</table></div>
|
1685
1674
|
</div>
|
1686
1675
|
<hr>
|
1687
|
-
<div class="refsect2"
|
1676
|
+
<div class="refsect2">
|
1688
1677
|
<a name="g-date-get-sunday-week-of-year"></a><h3>g_date_get_sunday_week_of_year ()</h3>
|
1689
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_sunday_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1678
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_sunday_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1690
1679
|
<p>
|
1691
1680
|
Returns the week of the year during which this date falls, if weeks
|
1692
1681
|
are understood to being on Sunday. The date must be valid. Can return 0 if
|
@@ -1697,19 +1686,18 @@ the day is before the first Sunday of the year.
|
|
1697
1686
|
<tbody>
|
1698
1687
|
<tr>
|
1699
1688
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1700
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1689
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1701
1690
|
</td>
|
1702
1691
|
</tr>
|
1703
1692
|
<tr>
|
1704
1693
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1705
|
-
<td>week number
|
1706
|
-
</td>
|
1694
|
+
<td>week number</td>
|
1707
1695
|
</tr>
|
1708
1696
|
</tbody>
|
1709
1697
|
</table></div>
|
1710
1698
|
</div>
|
1711
1699
|
<hr>
|
1712
|
-
<div class="refsect2"
|
1700
|
+
<div class="refsect2">
|
1713
1701
|
<a name="g-date-get-sunday-weeks-in-year"></a><h3>g_date_get_sunday_weeks_in_year ()</h3>
|
1714
1702
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint8" title="guint8"><span class="returnvalue">guint8</span></a> g_date_get_sunday_weeks_in_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
1715
1703
|
<p>
|
@@ -1725,21 +1713,19 @@ to be a Sunday.)
|
|
1725
1713
|
<tbody>
|
1726
1714
|
<tr>
|
1727
1715
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1728
|
-
<td>year to count weeks in
|
1729
|
-
</td>
|
1716
|
+
<td>year to count weeks in</td>
|
1730
1717
|
</tr>
|
1731
1718
|
<tr>
|
1732
1719
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1733
|
-
<td>number of weeks
|
1734
|
-
</td>
|
1720
|
+
<td>number of weeks</td>
|
1735
1721
|
</tr>
|
1736
1722
|
</tbody>
|
1737
1723
|
</table></div>
|
1738
1724
|
</div>
|
1739
1725
|
<hr>
|
1740
|
-
<div class="refsect2"
|
1726
|
+
<div class="refsect2">
|
1741
1727
|
<a name="g-date-get-iso8601-week-of-year"></a><h3>g_date_get_iso8601_week_of_year ()</h3>
|
1742
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_iso8601_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1728
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_date_get_iso8601_week_of_year (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1743
1729
|
<p>
|
1744
1730
|
Returns the week of the year, where weeks are interpreted according
|
1745
1731
|
to ISO 8601.
|
@@ -1749,26 +1735,24 @@ to ISO 8601.
|
|
1749
1735
|
<tbody>
|
1750
1736
|
<tr>
|
1751
1737
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1752
|
-
<td>a valid <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1738
|
+
<td>a valid <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1753
1739
|
</td>
|
1754
1740
|
</tr>
|
1755
1741
|
<tr>
|
1756
1742
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1757
|
-
<td>
|
1758
|
-
|
1759
|
-
</td>
|
1743
|
+
<td>ISO 8601 week number of the year.</td>
|
1760
1744
|
</tr>
|
1761
1745
|
</tbody>
|
1762
1746
|
</table></div>
|
1763
1747
|
<p class="since">Since 2.6</p>
|
1764
1748
|
</div>
|
1765
1749
|
<hr>
|
1766
|
-
<div class="refsect2"
|
1750
|
+
<div class="refsect2">
|
1767
1751
|
<a name="g-date-strftime"></a><h3>g_date_strftime ()</h3>
|
1768
1752
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_date_strftime (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s</code></em>,
|
1769
1753
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> slen</code></em>,
|
1770
1754
|
<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>,
|
1771
|
-
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1755
|
+
<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1772
1756
|
<p>
|
1773
1757
|
Generates a printed representation of the date, in a
|
1774
1758
|
<a class="link" href="glib-running.html#setlocale" title="Locale">locale</a>-specific way. Works just like
|
@@ -1788,36 +1772,32 @@ expect that using <a class="link" href="glib-Date-and-Time-Functions.html#g-date
|
|
1788
1772
|
<tbody>
|
1789
1773
|
<tr>
|
1790
1774
|
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
|
1791
|
-
<td>destination buffer
|
1792
|
-
</td>
|
1775
|
+
<td>destination buffer</td>
|
1793
1776
|
</tr>
|
1794
1777
|
<tr>
|
1795
1778
|
<td><p><span class="term"><em class="parameter"><code>slen</code></em> :</span></p></td>
|
1796
|
-
<td>buffer size
|
1797
|
-
</td>
|
1779
|
+
<td>buffer size</td>
|
1798
1780
|
</tr>
|
1799
1781
|
<tr>
|
1800
1782
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1801
|
-
<td>format string
|
1802
|
-
</td>
|
1783
|
+
<td>format string</td>
|
1803
1784
|
</tr>
|
1804
1785
|
<tr>
|
1805
1786
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1806
|
-
<td>valid <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a>
|
1787
|
+
<td>valid <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a>
|
1807
1788
|
</td>
|
1808
1789
|
</tr>
|
1809
1790
|
<tr>
|
1810
1791
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1811
|
-
<td>number of characters written to the buffer, or 0 the buffer was too small
|
1812
|
-
</td>
|
1792
|
+
<td>number of characters written to the buffer, or 0 the buffer was too small</td>
|
1813
1793
|
</tr>
|
1814
1794
|
</tbody>
|
1815
1795
|
</table></div>
|
1816
1796
|
</div>
|
1817
1797
|
<hr>
|
1818
|
-
<div class="refsect2"
|
1798
|
+
<div class="refsect2">
|
1819
1799
|
<a name="g-date-to-struct-tm"></a><h3>g_date_to_struct_tm ()</h3>
|
1820
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_date_to_struct_tm (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1800
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_date_to_struct_tm (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>,
|
1821
1801
|
<em class="parameter"><code><span class="type">struct tm</span> *tm</code></em>);</pre>
|
1822
1802
|
<p>
|
1823
1803
|
Fills in the date-related bits of a <span class="structname">struct tm</span>
|
@@ -1829,24 +1809,22 @@ sane but meaningless.
|
|
1829
1809
|
<tbody>
|
1830
1810
|
<tr>
|
1831
1811
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1832
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to set the <span class="structname">struct tm</span> from
|
1833
|
-
</td>
|
1812
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to set the <span class="structname">struct tm</span> from.</td>
|
1834
1813
|
</tr>
|
1835
1814
|
<tr>
|
1836
1815
|
<td><p><span class="term"><em class="parameter"><code>tm</code></em> :</span></p></td>
|
1837
1816
|
<td>
|
1838
|
-
<span class="structname">struct tm</span> to fill
|
1839
|
-
</td>
|
1817
|
+
<span class="structname">struct tm</span> to fill.</td>
|
1840
1818
|
</tr>
|
1841
1819
|
</tbody>
|
1842
1820
|
</table></div>
|
1843
1821
|
</div>
|
1844
1822
|
<hr>
|
1845
|
-
<div class="refsect2"
|
1823
|
+
<div class="refsect2">
|
1846
1824
|
<a name="g-date-valid"></a><h3>g_date_valid ()</h3>
|
1847
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1825
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid (<em class="parameter"><code>const <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> *date</code></em>);</pre>
|
1848
1826
|
<p>
|
1849
|
-
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> represents an existing day. The date must not
|
1827
|
+
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> represents an existing day. The date must not
|
1850
1828
|
contain garbage; it should have been initialized with <a class="link" href="glib-Date-and-Time-Functions.html#g-date-clear" title="g_date_clear ()"><code class="function">g_date_clear()</code></a>
|
1851
1829
|
if it wasn't allocated by one of the <a class="link" href="glib-Date-and-Time-Functions.html#g-date-new" title="g_date_new ()"><code class="function">g_date_new()</code></a> variants.
|
1852
1830
|
</p>
|
@@ -1855,19 +1833,17 @@ if it wasn't allocated by one of the <a class="link" href="glib-Date-and-Time-Fu
|
|
1855
1833
|
<tbody>
|
1856
1834
|
<tr>
|
1857
1835
|
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
|
1858
|
-
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> to check
|
1859
|
-
</td>
|
1836
|
+
<td>a <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> to check</td>
|
1860
1837
|
</tr>
|
1861
1838
|
<tr>
|
1862
1839
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1863
|
-
<td>Whether the date is valid
|
1864
|
-
</td>
|
1840
|
+
<td>Whether the date is valid</td>
|
1865
1841
|
</tr>
|
1866
1842
|
</tbody>
|
1867
1843
|
</table></div>
|
1868
1844
|
</div>
|
1869
1845
|
<hr>
|
1870
|
-
<div class="refsect2"
|
1846
|
+
<div class="refsect2">
|
1871
1847
|
<a name="g-date-valid-day"></a><h3>g_date_valid_day ()</h3>
|
1872
1848
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_day (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>);</pre>
|
1873
1849
|
<p>
|
@@ -1879,20 +1855,18 @@ between 1 and 31 inclusive).
|
|
1879
1855
|
<tbody>
|
1880
1856
|
<tr>
|
1881
1857
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
1882
|
-
<td>day to check
|
1883
|
-
</td>
|
1858
|
+
<td>day to check</td>
|
1884
1859
|
</tr>
|
1885
1860
|
<tr>
|
1886
1861
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1887
1862
|
<td>
|
1888
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the day is valid
|
1889
|
-
</td>
|
1863
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the day is valid</td>
|
1890
1864
|
</tr>
|
1891
1865
|
</tbody>
|
1892
1866
|
</table></div>
|
1893
1867
|
</div>
|
1894
1868
|
<hr>
|
1895
|
-
<div class="refsect2"
|
1869
|
+
<div class="refsect2">
|
1896
1870
|
<a name="g-date-valid-month"></a><h3>g_date_valid_month ()</h3>
|
1897
1871
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_month (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>);</pre>
|
1898
1872
|
<p>
|
@@ -1904,52 +1878,48 @@ enumeration values are the only valid months.
|
|
1904
1878
|
<tbody>
|
1905
1879
|
<tr>
|
1906
1880
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
1907
|
-
<td>month
|
1908
|
-
</td>
|
1881
|
+
<td>month</td>
|
1909
1882
|
</tr>
|
1910
1883
|
<tr>
|
1911
1884
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1912
1885
|
<td>
|
1913
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the month is valid
|
1914
|
-
</td>
|
1886
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the month is valid</td>
|
1915
1887
|
</tr>
|
1916
1888
|
</tbody>
|
1917
1889
|
</table></div>
|
1918
1890
|
</div>
|
1919
1891
|
<hr>
|
1920
|
-
<div class="refsect2"
|
1892
|
+
<div class="refsect2">
|
1921
1893
|
<a name="g-date-valid-year"></a><h3>g_date_valid_year ()</h3>
|
1922
1894
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_year (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
1923
1895
|
<p>
|
1924
1896
|
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is valid. Any year greater than 0 is valid,
|
1925
|
-
though there is a 16-bit limit to what <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> will understand.
|
1897
|
+
though there is a 16-bit limit to what <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> will understand.
|
1926
1898
|
</p>
|
1927
1899
|
<div class="variablelist"><table border="0">
|
1928
1900
|
<col align="left" valign="top">
|
1929
1901
|
<tbody>
|
1930
1902
|
<tr>
|
1931
1903
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1932
|
-
<td>year
|
1933
|
-
</td>
|
1904
|
+
<td>year</td>
|
1934
1905
|
</tr>
|
1935
1906
|
<tr>
|
1936
1907
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1937
1908
|
<td>
|
1938
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is valid
|
1939
|
-
</td>
|
1909
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is valid</td>
|
1940
1910
|
</tr>
|
1941
1911
|
</tbody>
|
1942
1912
|
</table></div>
|
1943
1913
|
</div>
|
1944
1914
|
<hr>
|
1945
|
-
<div class="refsect2"
|
1915
|
+
<div class="refsect2">
|
1946
1916
|
<a name="g-date-valid-dmy"></a><h3>g_date_valid_dmy ()</h3>
|
1947
1917
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_dmy (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateDay" title="GDateDay"><span class="type">GDateDay</span></a> day</code></em>,
|
1948
1918
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateMonth" title="enum GDateMonth"><span class="type">GDateMonth</span></a> month</code></em>,
|
1949
1919
|
<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
|
1950
1920
|
<p>
|
1951
1921
|
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the day-month-year triplet forms a valid, existing day
|
1952
|
-
in the range of days <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="GDate"><span class="type">GDate</span></a> understands (Year 1 or later, no more than
|
1922
|
+
in the range of days <a class="link" href="glib-Date-and-Time-Functions.html#GDate" title="struct GDate"><span class="type">GDate</span></a> understands (Year 1 or later, no more than
|
1953
1923
|
a few thousand years in the future).
|
1954
1924
|
</p>
|
1955
1925
|
<div class="variablelist"><table border="0">
|
@@ -1957,30 +1927,26 @@ a few thousand years in the future).
|
|
1957
1927
|
<tbody>
|
1958
1928
|
<tr>
|
1959
1929
|
<td><p><span class="term"><em class="parameter"><code>day</code></em> :</span></p></td>
|
1960
|
-
<td>day
|
1961
|
-
</td>
|
1930
|
+
<td>day</td>
|
1962
1931
|
</tr>
|
1963
1932
|
<tr>
|
1964
1933
|
<td><p><span class="term"><em class="parameter"><code>month</code></em> :</span></p></td>
|
1965
|
-
<td>month
|
1966
|
-
</td>
|
1934
|
+
<td>month</td>
|
1967
1935
|
</tr>
|
1968
1936
|
<tr>
|
1969
1937
|
<td><p><span class="term"><em class="parameter"><code>year</code></em> :</span></p></td>
|
1970
|
-
<td>year
|
1971
|
-
</td>
|
1938
|
+
<td>year</td>
|
1972
1939
|
</tr>
|
1973
1940
|
<tr>
|
1974
1941
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1975
1942
|
<td>
|
1976
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is a valid one
|
1977
|
-
</td>
|
1943
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the date is a valid one</td>
|
1978
1944
|
</tr>
|
1979
1945
|
</tbody>
|
1980
1946
|
</table></div>
|
1981
1947
|
</div>
|
1982
1948
|
<hr>
|
1983
|
-
<div class="refsect2"
|
1949
|
+
<div class="refsect2">
|
1984
1950
|
<a name="g-date-valid-julian"></a><h3>g_date_valid_julian ()</h3>
|
1985
1951
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_julian (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> julian_date</code></em>);</pre>
|
1986
1952
|
<p>
|
@@ -1992,20 +1958,18 @@ is basically a valid Julian, though there is a 32-bit limit.
|
|
1992
1958
|
<tbody>
|
1993
1959
|
<tr>
|
1994
1960
|
<td><p><span class="term"><em class="parameter"><code>julian_date</code></em> :</span></p></td>
|
1995
|
-
<td>Julian day to check
|
1996
|
-
</td>
|
1961
|
+
<td>Julian day to check</td>
|
1997
1962
|
</tr>
|
1998
1963
|
<tr>
|
1999
1964
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2000
1965
|
<td>
|
2001
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the Julian day is valid
|
2002
|
-
</td>
|
1966
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the Julian day is valid</td>
|
2003
1967
|
</tr>
|
2004
1968
|
</tbody>
|
2005
1969
|
</table></div>
|
2006
1970
|
</div>
|
2007
1971
|
<hr>
|
2008
|
-
<div class="refsect2"
|
1972
|
+
<div class="refsect2">
|
2009
1973
|
<a name="g-date-valid-weekday"></a><h3>g_date_valid_weekday ()</h3>
|
2010
1974
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_date_valid_weekday (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateWeekday" title="enum GDateWeekday"><span class="type">GDateWeekday</span></a> weekday</code></em>);</pre>
|
2011
1975
|
<p>
|
@@ -2017,14 +1981,12 @@ values are the only valid weekdays.
|
|
2017
1981
|
<tbody>
|
2018
1982
|
<tr>
|
2019
1983
|
<td><p><span class="term"><em class="parameter"><code>weekday</code></em> :</span></p></td>
|
2020
|
-
<td>weekday
|
2021
|
-
</td>
|
1984
|
+
<td>weekday</td>
|
2022
1985
|
</tr>
|
2023
1986
|
<tr>
|
2024
1987
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2025
1988
|
<td>
|
2026
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the weekday is valid
|
2027
|
-
</td>
|
1989
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the weekday is valid</td>
|
2028
1990
|
</tr>
|
2029
1991
|
</tbody>
|
2030
1992
|
</table></div>
|
@@ -2032,7 +1994,7 @@ values are the only valid weekdays.
|
|
2032
1994
|
</div>
|
2033
1995
|
<div class="footnotes">
|
2034
1996
|
<br><hr width="100" align="left">
|
2035
|
-
<div class="footnote"><p><sup>[<a id="ftn.
|
1997
|
+
<div class="footnote"><p><sup>[<a id="ftn.id604411" href="#id604411" class="para">4</a>] </sup>
|
2036
1998
|
For the purposes of this function, leap year is every year divisible by
|
2037
1999
|
4 unless that year is divisible by 100. If it is divisible by 100 it would
|
2038
2000
|
be a leap year only if that year is also divisible by 400.</p></div>
|
@@ -2040,6 +2002,6 @@ be a leap year only if that year is also divisible by 400.</p></div>
|
|
2040
2002
|
</div>
|
2041
2003
|
<div class="footer">
|
2042
2004
|
<hr>
|
2043
|
-
Generated by GTK-Doc V1.
|
2005
|
+
Generated by GTK-Doc V1.16.1</div>
|
2044
2006
|
</body>
|
2045
2007
|
</html>
|