DateTime.newY

gst.date_time.DateTime newY(int year)

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

year should be from 1 to 9999.

Parameters

yearthe gregorian year

Returns

the newly created #GstDateTime,

or null on error.