DateTime.getYear

Returns the year of this #GstDateTime. Call gst.date_time.DateTime.hasYear before, to avoid warnings.

class DateTime
int
getYear
()

Return Value

Type: int

The year of this #GstDateTime