]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add DateTime.get_timezone() and TimeZone.get_identifier()
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Apr 2018 10:58:06 +0000 (12:58 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Apr 2018 10:58:06 +0000 (12:58 +0200)
vapi/glib-2.0.vapi

index 4c9dfa7ae3b2662921ccc5aa4511ac8468a55724..3d99ea7c96359baf28e2d5cc46f3f212a4f8a7f4 100644 (file)
@@ -2940,6 +2940,8 @@ namespace GLib {
                public int get_second ();
                public int get_microsecond ();
                public double get_seconds ();
+               [Version (since = "2.58")]
+               public unowned TimeZone get_timezone ();
                public int64 to_unix ();
                public bool to_timeval (out TimeVal tv);
                public TimeSpan get_utc_offset ();
@@ -2970,6 +2972,8 @@ namespace GLib {
                public int find_interval (TimeType type, int64 time);
                public int adjust_time (TimeType type, ref int64 time);
                public unowned string get_abbreviation (int interval);
+               [Version (since = "2.58")]
+               public unowned string get_identifier ();
                public int32 get_offset (int interval);
                public bool is_dst (int interval);
        }