DateTime.newY

Creates a new #GstDateTime using the date and times in the gregorian calendar in the local timezone.

year should be from 1 to 9999.

class DateTime
static
newY
(
int year
)

Parameters

year int

the gregorian year

Return Value

Type: gst.date_time.DateTime

the newly created #GstDateTime, or null on error.