Date
Allocates a #GDate and initializes it to a safe state. The new date will be cleared (as if you'd called g_date_clear()) but invalid (it won't represent an existing day). Free the return value with g_date_free().
Return
a newly-allocated #GDate
Create a new #GDate representing the given day-month-year triplet.
The triplet you pass in must represent a valid date. Use g_date_valid_dmy() if needed to validate it. The returned #GDate is guaranteed to be non-null and valid.
Return
a newly-allocated #GDate initialized with @day, @month, and @year
Parameters
day of the month
month of the year
year
Create a new #GDate representing the given Julian date.
The @julian_day you pass in must be valid. Use g_date_valid_julian() if needed to validate it. The returned #GDate is guaranteed to be non-null and valid.
Return
a newly-allocated #GDate initialized with @julian_day
Parameters
days since January 1, Year 1