public GLib.DateTime ToTimezone(GLib.TimeZone tz) { IntPtr raw_ret = g_date_time_to_timezone(Handle, tz == null ? IntPtr.Zero : tz.Handle); GLib.DateTime ret = raw_ret == IntPtr.Zero ? null : (GLib.DateTime)GLib.Opaque.GetOpaque(raw_ret, typeof(GLib.DateTime), true); return(ret); }
public DateTime(GLib.TimeZone tz) { Raw = g_date_time_new_now(tz == null ? IntPtr.Zero : tz.Handle); }
public DateTime(GLib.TimeZone tz, int year, int month, int day, int hour, int minute, double seconds) { Raw = g_date_time_new(tz == null ? IntPtr.Zero : tz.Handle, year, month, day, hour, minute, seconds); }