DateTime.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(float tzoffset, int year, int month, int day, int hour, int minute, double seconds)

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

year should be from 1 to 9999, month should be from 1 to 12, day from 1 to 31, hour from 0 to 23, minutes and seconds from 0 to 59.

Note that tzoffset is a float and was chosen so for being able to handle some fractional timezones, while it still keeps the readability of representing it in hours for most timezones.

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

Parameters

tzoffsetOffset from UTC in hours.
yearthe gregorian year
monththe gregorian month
daythe day of the gregorian month
hourthe hour of the day
minutethe minute of the hour
secondsthe second of the minute

Returns

the newly created #GstDateTime,

or null on error.