addFull

fun addFull(years: Int, months: Int, days: Int, hours: Int, minutes: Int, seconds: Double): DateTime?

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

Return

the newly created #GDateTime which should be freed with g_date_time_unref(), or null

Since

2.26

Parameters

years

the number of years to add

months

the number of months to add

days

the number of days to add

hours

the number of hours to add

minutes

the number of minutes to add

seconds

the number of seconds to add