Gst.DateTime.new_ymd
function new_ymd(year:Number, month:Number, day:Number):Gst.DateTime { // Gjs wrapper for gst_date_time_new_ymd() }
Creates a new Gst.DateTime 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 Gst.DateTime will created only for year. If day == -1, then Gst.DateTime will created for year and month and so on.
Free-function: gst_date_time_unref
- year
the gregorian year
- month
the gregorian month
- day
the day of the gregorian month
- Returns
the newly created Gst.DateTime