add_hours


Description:

public DateTime add_hours (int hours)

Creates a copy of this and adds the specified number of hours.

Add negative values to subtract hours.

Parameters:

this

a DateTime

hours

the number of hours to add

Returns:

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