add

fun add(timespan: <Error class: unknown class>): DateTime?

Creates a copy of @datetime and adds the specified timespan to the copy.

Return

the newly created #GDateTime which should be freed with g_date_time_unref(), or null

Since

2.26

Parameters

timespan

a #GTimeSpan