add_full


Description:

public DateTime add_full (int years, int months, int days, int hours = 0, int minutes = 0, double seconds = 0)

Creates a new DateTime adding the specified values to the current date and time in this.

Add negative values to subtract.

Parameters:

this

a DateTime

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

Returns:

the newly created DateTime which should be freed with g_date_time_unref , or null