DateTime.addHours

Creates a copy of datetime and adds the specified number of hours. Add negative values to subtract hours.

class DateTime
addHours
(
int hours
)

Parameters

hours int

the number of hours to add

Return Value

Type: DateTime

the newly created gstreamer.DateTime which should be freed with Date.timeUnref.

Meta

Since

2.26