Sets our main struct and passes it to the parent class.
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.
Creates a DateTime corresponding to the given TimeVal tv. The time contained in a TimeVal is always stored in the form of seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.
Creates a new #GDateTime corresponding to the given date and time in the time zone @tz.
Creates a #GDateTime corresponding to the given ISO 8601 formatted string
@text. ISO 8601 strings of the form <date><sep><time><tz> are supported.
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.
Creates a copy of @datetime and adds the specified timespan to the copy.
Creates a copy of @datetime and adds the specified number of days to the copy. Add negative values to subtract days.
Creates a new #GDateTime adding the specified values to the current date and time in @datetime. Add negative values to subtract.
Creates a copy of @datetime and adds the specified number of hours. Add negative values to subtract hours.
Creates a copy of @datetime adding the specified number of minutes. Add negative values to subtract minutes.
Creates a copy of @datetime and adds the specified number of months to the copy. Add negative values to subtract months.
Creates a copy of @datetime and adds the specified number of seconds. Add negative values to subtract seconds.
Creates a copy of @datetime and adds the specified number of weeks to the copy. Add negative values to subtract weeks.
Creates a copy of @datetime and adds the specified number of years to the copy. Add negative values to subtract years.
Calculates the difference in time between @end and @begin. The #GTimeSpan that is returned is effectively @end - @begin (ie: positive if the first parameter is larger).
Atomically increments the reference count of @datetime by one.
Creates a newly allocated string representing the requested @format.
Get the main Gtk struct
Retrieves the day of the month represented by @datetime in the gregorian calendar.
Retrieves the ISO 8601 day of the week on which @datetime falls (1 is Monday, 2 is Tuesday... 7 is Sunday).
Retrieves the day of the year represented by @datetime in the Gregorian calendar.
Retrieves the hour of the day represented by @datetime
Retrieves the microsecond of the date represented by @datetime
Retrieves the minute of the hour represented by @datetime
Retrieves the month of the year represented by @datetime in the Gregorian calendar.
Retrieves the second of the minute represented by @datetime
Retrieves the number of seconds since the start of the last minute, including the fractional part.
the main Gtk struct as a void*
Determines the time zone abbreviation to be used at the time and in the time zone of @datetime.
Determines the offset to UTC in effect at the time and in the time zone of @datetime.
Returns the ISO 8601 week-numbering year in which the week containing @datetime falls.
Returns the ISO 8601 week number for the week containing @datetime. The ISO 8601 week number is the same for every day of the week (from Moday through Sunday). That can produce some unusual results (described below).
Retrieves the year represented by @datetime in the Gregorian calendar.
Retrieves the Gregorian day, month, and year of a given #GDateTime.
Hashes datetime into a guint, suitable for use within GHashTable. Since 2.26
Determines if daylight savings time is in effect at the time and in the time zone of @datetime.
Creates a new #GDateTime corresponding to the same instant in time as @datetime, but in the local time zone.
Stores the instant in time that @datetime represents into @tv.
Create a new #GDateTime corresponding to the same instant in time as @datetime, but in the time zone @tz.
Gives the Unix time corresponding to @datetime, rounding down to the nearest second.
Creates a new #GDateTime corresponding to the same instant in time as @datetime, but in UTC.
Atomically decrements the reference count of @datetime by one.
A comparison function for #GDateTimes that is suitable as a #GCompareFunc. Both #GDateTimes must be non-%NULL.
Checks to see if @dt1 and @dt2 are equal.
GDateTime is an opaque structure whose members cannot be accessed directly.