DateTime.addWeeks

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

class DateTime
addWeeks
(
int weeks
)

Parameters

weeks int

the number of weeks

Return Value

Type: DateTime

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

Meta

Since

2.26