projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo
[platform/upstream/glib.git]
/
glib
/
gdatetime.h
diff --git
a/glib/gdatetime.h
b/glib/gdatetime.h
index
396c07d
..
63942c8
100644
(file)
--- a/
glib/gdatetime.h
+++ b/
glib/gdatetime.h
@@
-91,26
+91,36
@@
typedef gint64 GTimeSpan;
/**
* GDateTime:
*
/**
* GDateTime:
*
- *
<structname>GDateTime</structname>
is an opaque structure whose members
+ *
`GDateTime`
is an opaque structure whose members
* cannot be accessed directly.
*
* Since: 2.26
*/
typedef struct _GDateTime GDateTime;
* cannot be accessed directly.
*
* Since: 2.26
*/
typedef struct _GDateTime GDateTime;
+GLIB_AVAILABLE_IN_ALL
void g_date_time_unref (GDateTime *datetime);
void g_date_time_unref (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_ref (GDateTime *datetime);
GDateTime * g_date_time_ref (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_now (GTimeZone *tz);
GDateTime * g_date_time_new_now (GTimeZone *tz);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_now_local (void);
GDateTime * g_date_time_new_now_local (void);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_now_utc (void);
GDateTime * g_date_time_new_now_utc (void);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_from_unix_local (gint64 t);
GDateTime * g_date_time_new_from_unix_local (gint64 t);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_new (GTimeZone *tz,
gint year,
gint month,
GDateTime * g_date_time_new (GTimeZone *tz,
gint year,
gint month,
@@
-118,12
+128,14
@@
GDateTime * g_date_time_new (GTimeZo
gint hour,
gint minute,
gdouble seconds);
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);
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,
GDateTime * g_date_time_new_utc (gint year,
gint month,
gint day,
@@
-131,33
+143,42
@@
GDateTime * g_date_time_new_utc (gint
gint minute,
gdouble seconds);
gint minute,
gdouble seconds);
+GLIB_AVAILABLE_IN_ALL
G_GNUC_WARN_UNUSED_RESULT
GDateTime * g_date_time_add (GDateTime *datetime,
GTimeSpan timespan);
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);
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);
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);
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);
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);
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);
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);
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,
G_GNUC_WARN_UNUSED_RESULT
GDateTime * g_date_time_add_full (GDateTime *datetime,
gint years,
@@
-167,48
+188,74
@@
GDateTime * g_date_time_add_full (GDateTi
gint minutes,
gdouble seconds);
gint minutes,
gdouble seconds);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_compare (gconstpointer dt1,
gconstpointer dt2);
gint g_date_time_compare (gconstpointer dt1,
gconstpointer dt2);
+GLIB_AVAILABLE_IN_ALL
GTimeSpan g_date_time_difference (GDateTime *end,
GDateTime *begin);
GTimeSpan g_date_time_difference (GDateTime *end,
GDateTime *begin);
+GLIB_AVAILABLE_IN_ALL
guint g_date_time_hash (gconstpointer datetime);
guint g_date_time_hash (gconstpointer datetime);
+GLIB_AVAILABLE_IN_ALL
gboolean g_date_time_equal (gconstpointer dt1,
gconstpointer dt2);
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);
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);
gint g_date_time_get_year (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_month (GDateTime *datetime);
gint g_date_time_get_month (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_day_of_month (GDateTime *datetime);
gint g_date_time_get_day_of_month (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_week_numbering_year (GDateTime *datetime);
gint g_date_time_get_week_numbering_year (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_week_of_year (GDateTime *datetime);
gint g_date_time_get_week_of_year (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_day_of_week (GDateTime *datetime);
gint g_date_time_get_day_of_week (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_day_of_year (GDateTime *datetime);
gint g_date_time_get_day_of_year (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_hour (GDateTime *datetime);
gint g_date_time_get_hour (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_minute (GDateTime *datetime);
gint g_date_time_get_minute (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_second (GDateTime *datetime);
gint g_date_time_get_second (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint g_date_time_get_microsecond (GDateTime *datetime);
gint g_date_time_get_microsecond (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gdouble g_date_time_get_seconds (GDateTime *datetime);
gdouble g_date_time_get_seconds (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gint64 g_date_time_to_unix (GDateTime *datetime);
gint64 g_date_time_to_unix (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gboolean g_date_time_to_timeval (GDateTime *datetime,
GTimeVal *tv);
gboolean g_date_time_to_timeval (GDateTime *datetime,
GTimeVal *tv);
+GLIB_AVAILABLE_IN_ALL
GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_to_timezone (GDateTime *datetime,
GTimeZone *tz);
GDateTime * g_date_time_to_timezone (GDateTime *datetime,
GTimeZone *tz);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_to_local (GDateTime *datetime);
GDateTime * g_date_time_to_local (GDateTime *datetime);
+GLIB_AVAILABLE_IN_ALL
GDateTime * g_date_time_to_utc (GDateTime *datetime);
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;
gchar * g_date_time_format (GDateTime *datetime,
const gchar *format) G_GNUC_MALLOC;