]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add TimeZone.offset() constructor
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 22 Apr 2018 08:57:18 +0000 (10:57 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 22 Apr 2018 08:57:18 +0000 (10:57 +0200)
vapi/glib-2.0.vapi

index f21c0a2d30630df1a39e18982cdf225ba949d154..65eac3582872440a4927e74816190114d8b78b9f 100644 (file)
@@ -2969,6 +2969,8 @@ namespace GLib {
                public TimeZone (string identifier);
                public TimeZone.utc ();
                public TimeZone.local ();
+               [Version (since = "2.58")]
+               public TimeZone.offset (int32 seconds);
                public int find_interval (TimeType type, int64 time);
                public int adjust_time (TimeType type, ref int64 time);
                public unowned string get_abbreviation (int interval);