DateTime.addFull

glib.date_time.DateTime addFull(int years, int months, int days, int hours, int minutes, double seconds)

Creates a new #GDateTime adding the specified values to the current date and time in datetime. Add negative values to subtract.

Parameters

yearsthe number of years to add
monthsthe number of months to add
daysthe number of days to add
hoursthe number of hours to add
minutesthe number of minutes to add
secondsthe number of seconds to add

Returns

the newly created #GDateTime which

should be freed with [glib.date_time.DateTime.unref], or null