DateTime.addFull

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

class DateTime
addFull
(
int years
,
int months
,
int days
,
int hours
,,
double seconds
)

Parameters

years int

the number of years to add

months int

the number of months to add

days int

the number of days to add

hours int

the number of hours to add

minutes int

the number of minutes to add

seconds double

the number of seconds to add

Return Value

Type: DateTime

the newly created #GDateTime that should be freed with g_date_time_unref().

Meta

Since

2.26