/
usr
/
include
/
glib-2.0
/
glib
/
/usr/include/glib-2.0/glib
mkdir
upload
Name
Size
Mode
Actions
deprecated/
-
0755
rm
galloca.h
3912
0644
edit
dl
rm
garray.h
11385
0644
edit
dl
rm
gasyncqueue.h
5726
0644
edit
dl
rm
gatomic.h
27210
0644
edit
dl
rm
gbacktrace.h
2793
0644
edit
dl
rm
gbase64.h
2323
0644
edit
dl
rm
gbitlock.h
2902
0644
edit
dl
rm
gbookmarkfile.h
12625
0644
edit
dl
rm
gbytes.h
3334
0644
edit
dl
rm
gcharset.h
1578
0644
edit
dl
rm
gchecksum.h
3864
0644
edit
dl
rm
gconvert.h
5923
0644
edit
dl
rm
gdataset.h
6245
0644
edit
dl
rm
gdate.h
12420
0644
edit
dl
rm
gdatetime.h
12738
0644
edit
dl
rm
gdir.h
1641
0644
edit
dl
rm
genviron.h
2364
0644
edit
dl
rm
gerror.h
11140
0644
edit
dl
rm
gfileutils.h
7866
0644
edit
dl
rm
ggettext.h
2424
0644
edit
dl
rm
ghash.h
7886
0644
edit
dl
rm
ghmac.h
3469
0644
edit
dl
rm
ghook.h
6358
0644
edit
dl
rm
ghostutils.h
1456
0644
edit
dl
rm
gi18n-lib.h
1370
0644
edit
dl
rm
gi18n.h
1167
0644
edit
dl
rm
giochannel.h
13954
0644
edit
dl
rm
gkeyfile.h
14913
0644
edit
dl
rm
glib-autocleanups.h
4903
0644
edit
dl
rm
glist.h
6930
0644
edit
dl
rm
gmacros.h
46201
0644
edit
dl
rm
gmain.h
28212
0644
edit
dl
rm
gmappedfile.h
1986
0644
edit
dl
rm
gmarkup.h
10876
0644
edit
dl
rm
gmem.h
14857
0644
edit
dl
rm
gmessages.h
27193
0644
edit
dl
rm
gnode.h
8700
0644
edit
dl
rm
goption.h
16099
0644
edit
dl
rm
gpattern.h
1782
0644
edit
dl
rm
gpoll.h
4125
0644
edit
dl
rm
gprimes.h
1694
0644
edit
dl
rm
gprintf.h
1984
0644
edit
dl
rm
gqsort.h
1499
0644
edit
dl
rm
gquark.h
2688
0644
edit
dl
rm
gqueue.h
7750
0644
edit
dl
rm
grand.h
3181
0644
edit
dl
rm
grcbox.h
3992
0644
edit
dl
rm
grefcount.h
3988
0644
edit
dl
rm
grefstring.h
1868
0644
edit
dl
rm
gregex.h
28095
0644
edit
dl
rm
gscanner.h
8861
0644
edit
dl
rm
gsequence.h
8811
0644
edit
dl
rm
gshell.h
1752
0644
edit
dl
rm
gslice.h
4585
0644
edit
dl
rm
gslist.h
6551
0644
edit
dl
rm
gspawn.h
13202
0644
edit
dl
rm
gstdio.h
5109
0644
edit
dl
rm
gstrfuncs.h
13457
0644
edit
dl
rm
gstring.h
8331
0644
edit
dl
rm
gstringchunk.h
2130
0644
edit
dl
rm
gstrvbuilder.h
1613
0644
edit
dl
rm
gtestutils.h
35138
0644
edit
dl
rm
gthread.h
18758
0644
edit
dl
rm
gthreadpool.h
3824
0644
edit
dl
rm
gtimer.h
2576
0644
edit
dl
rm
gtimezone.h
3905
0644
edit
dl
rm
gtrashstack.h
1906
0644
edit
dl
rm
gtree.h
6456
0644
edit
dl
rm
gtypes.h
20516
0644
edit
dl
rm
gunicode.h
41212
0644
edit
dl
rm
guri.h
16446
0644
edit
dl
rm
gutils.h
14559
0644
edit
dl
rm
guuid.h
1291
0644
edit
dl
rm
gvariant.h
29560
0644
edit
dl
rm
gvarianttype.h
13244
0644
edit
dl
rm
gversion.h
1981
0644
edit
dl
rm
gversionmacros.h
47677
0644
edit
dl
rm
gwin32.h
4667
0644
edit
dl
rm
Edit:
/usr/include/glib-2.0/glib/gdatetime.h
(12738B)
/* * Copyright (C) 2009-2010 Christian Hergert <chris@dronelabs.com> * Copyright © 2010 Codethink Limited * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of the * licence, or (at your option) any later version. * * This is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public * License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, see <http://www.gnu.org/licenses/>. * * Authors: Christian Hergert <chris@dronelabs.com> * Thiago Santos <thiago.sousa.santos@collabora.co.uk> * Emmanuele Bassi <ebassi@linux.intel.com> * Ryan Lortie <desrt@desrt.ca> */ #ifndef __G_DATE_TIME_H__ #define __G_DATE_TIME_H__ #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only <glib.h> can be included directly." #endif #include <glib/gtimezone.h> G_BEGIN_DECLS /** * G_TIME_SPAN_DAY: * * Evaluates to a time span of one day. * * Since: 2.26 */ #define G_TIME_SPAN_DAY (G_GINT64_CONSTANT (86400000000)) /** * G_TIME_SPAN_HOUR: * * Evaluates to a time span of one hour. * * Since: 2.26 */ #define G_TIME_SPAN_HOUR (G_GINT64_CONSTANT (3600000000)) /** * G_TIME_SPAN_MINUTE: * * Evaluates to a time span of one minute. * * Since: 2.26 */ #define G_TIME_SPAN_MINUTE (G_GINT64_CONSTANT (60000000)) /** * G_TIME_SPAN_SECOND: * * Evaluates to a time span of one second. * * Since: 2.26 */ #define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT (1000000)) /** * G_TIME_SPAN_MILLISECOND: * * Evaluates to a time span of one millisecond. * * Since: 2.26 */ #define G_TIME_SPAN_MILLISECOND (G_GINT64_CONSTANT (1000)) /** * GTimeSpan: * * A value representing an interval of time, in microseconds. * * Since: 2.26 */ typedef gint64 GTimeSpan; /** * GDateTime: * * `GDateTime` is an opaque structure whose members * cannot be accessed directly. * * Since: 2.26 */ typedef struct _GDateTime GDateTime; GLIB_AVAILABLE_IN_ALL void g_date_time_unref (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_ref (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_now (GTimeZone *tz); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_now_local (void); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_now_utc (void); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_from_unix_local (gint64 t); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_from_unix_utc (gint64 t); G_GNUC_BEGIN_IGNORE_DEPRECATIONS GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_new_from_unix_local) GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv); GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_new_from_unix_utc) GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv); G_GNUC_END_IGNORE_DEPRECATIONS GLIB_AVAILABLE_IN_2_56 GDateTime * g_date_time_new_from_iso8601 (const gchar *text, GTimeZone *default_tz); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new (GTimeZone *tz, gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_local (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_new_utc (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add (GDateTime *datetime, GTimeSpan timespan); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_years (GDateTime *datetime, gint years); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_months (GDateTime *datetime, gint months); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_weeks (GDateTime *datetime, gint weeks); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_days (GDateTime *datetime, gint days); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_hours (GDateTime *datetime, gint hours); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_minutes (GDateTime *datetime, gint minutes); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_seconds (GDateTime *datetime, gdouble seconds); GLIB_AVAILABLE_IN_ALL G_GNUC_WARN_UNUSED_RESULT GDateTime * g_date_time_add_full (GDateTime *datetime, gint years, gint months, gint days, gint hours, gint minutes, gdouble seconds); GLIB_AVAILABLE_IN_ALL gint g_date_time_compare (gconstpointer dt1, gconstpointer dt2); GLIB_AVAILABLE_IN_ALL GTimeSpan g_date_time_difference (GDateTime *end, GDateTime *begin); GLIB_AVAILABLE_IN_ALL guint g_date_time_hash (gconstpointer datetime); GLIB_AVAILABLE_IN_ALL gboolean g_date_time_equal (gconstpointer dt1, gconstpointer dt2); GLIB_AVAILABLE_IN_ALL void g_date_time_get_ymd (GDateTime *datetime, gint *year, gint *month, gint *day); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_year (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_month (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_day_of_month (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_week_numbering_year (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_week_of_year (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_day_of_week (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_day_of_year (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_hour (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_minute (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_second (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint g_date_time_get_microsecond (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gdouble g_date_time_get_seconds (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gint64 g_date_time_to_unix (GDateTime *datetime); G_GNUC_BEGIN_IGNORE_DEPRECATIONS GLIB_DEPRECATED_IN_2_62_FOR(g_date_time_to_unix) gboolean g_date_time_to_timeval (GDateTime *datetime, GTimeVal *tv); G_GNUC_END_IGNORE_DEPRECATIONS GLIB_AVAILABLE_IN_ALL GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime); GLIB_AVAILABLE_IN_2_58 GTimeZone * g_date_time_get_timezone (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gboolean g_date_time_is_daylight_savings (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_to_timezone (GDateTime *datetime, GTimeZone *tz); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_to_local (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL GDateTime * g_date_time_to_utc (GDateTime *datetime); GLIB_AVAILABLE_IN_ALL gchar * g_date_time_format (GDateTime *datetime, const gchar *format) G_GNUC_MALLOC; GLIB_AVAILABLE_IN_2_62 gchar * g_date_time_format_iso8601 (GDateTime *datetime) G_GNUC_MALLOC; G_END_DECLS #endif /* __G_DATE_TIME_H__ */
Save
cmd:
run