add_years


Description:

public DateTime add_years (int years)

Creates a copy of this and adds the specified number of years to the copy.

Add negative values to subtract years.

Parameters:

this

a DateTime

years

the number of years

Returns:

the newly created DateTime which should be freed with g_date_time_unref .