DateTime.this
- this(GDateTime* gDateTime, bool ownedRef)
- this(long t, bool utc)
- this(GTimeVal tv, bool utc)
- this(TimeZone tz, int year, int month, int day, int hour, int minute, double seconds)
- this(string text, TimeZone defaultTz)
- this(TimeZone tz)
glib DateTime DateTime
aliasesconstructorsdestructorsfunctionsstatic functionsvariables
Creates a #GDateTime corresponding to this exact instant in the given time zone @tz. The time is as accurate as the system allows, to a maximum accuracy of 1 microsecond.
This function will always succeed unless the system clock is set to truly insane values (or unless GLib is still being used after the year 9999).
You should release the return value by calling g_date_time_unref() when you are done with it.