Method
GLibDateTimeadd
since: 2.26
Description
Creates a copy of datetime and adds the specified timespan to the copy.
Available since: 2.26
Parameters
timespan-
Type:
GTimeSpanA
GTimeSpan.
Return value
Type: GDateTime
The newly created GDateTime which
should be freed with g_date_time_unref(), or NULL.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL. |