or null on error.
DateTime.newYm
gst.date_time.DateTime newYm(int year, int month)Creates a new #GstDateTime using the date and times in the gregorian calendar in the local timezone.
year should be from 1 to 9999, month should be from 1 to 12.
If value is -1 then all over value will be ignored. For example if month == -1, then #GstDateTime will created only for year.
Parameters
year | the gregorian year |
month | the gregorian month |
Returns
the newly created #GstDateTime,