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
constructorsdestructorsfunctionsstatic functionsvariables
Creates a DateTime corresponding to the given Unix time t Unix time is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.
This call can fail (ConstructionException) if t represents a time outside of the supported range of GDateTime. You should release the return value by calling unref() when you are done with it