diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-09-14 08:00:40 +0100 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-09-17 11:40:10 -0400 |
commit | 67f1e52ce2a1372e4f8ffc5fdf292b33120264ab (patch) | |
tree | e9f11b6f977d8c245ebbb4a2310291d2a483a273 /docs | |
parent | bff4ac15d09a3f80551fda41f8ff2e2c1ae30d91 (diff) |
datetime: Rework time zone support in constructors
Timezone handling is complicated. Really complicated.
In order to simplify it a little bit, we need to expose the GTimeZone
structure.
First of all, we allow creating time zone information directly from the
offset and the DST state, and then pass it to the g_date_time_new_full()
constructor. We also need to clean up the mess that is UTC-vs.-localtime
for the other constructors.
We also allow creating a GTimeZone from the Olson zoneinfo database
names; a time zone created like this will be "floating": it will just
reference the zoneinfo file - which are mmap()'ed, kept in a cache and
refcounted. Once the GTimeZone has been associated with a GDateTime, it
will be "anchored" to it: the offset will be resolved, as well as the
DST state.
https://bugzilla.gnome.org/show_bug.cgi?id=50076
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index dd9aa3532..1568c48e7 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -1424,7 +1424,6 @@ g_date_time_new_from_timeval g_date_time_new_now g_date_time_new_utc_now g_date_time_new_today -g_date_time_copy g_date_time_ref g_date_time_unref <SUBSECTION> |