[vala/staging] glib-2.0: Add DateTime.get_timezone() and TimeZone.get_identifier()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] glib-2.0: Add DateTime.get_timezone() and TimeZone.get_identifier()
- Date: Fri, 13 Apr 2018 16:01:02 +0000 (UTC)
commit 12591930f186cf236196e4ba3b8e904995ce5a55
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Apr 13 12:58:06 2018 +0200
glib-2.0: Add DateTime.get_timezone() and TimeZone.get_identifier()
vapi/glib-2.0.vapi | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 4c9dfa7..3d99ea7 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]