DateTime.newYmd

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, day from 1 to 31.

If value is -1 then all over value will be ignored. For example if month == -1, then #GstDateTime will created only for year. If day == -1, then #GstDateTime will created for year and month and so on.

class DateTime
static
newYmd
(
int year
,
int month
,
int day
)

Parameters

year int

the gregorian year

month int

the gregorian month

day int

the day of the gregorian month

Return Value

Type: gst.date_time.DateTime

the newly created #GstDateTime, or null on error.