newUtc

fun newUtc(year: Int, month: Int, day: Int, hour: Int, minute: Int, seconds: Double): DateTime?

Creates a new #GDateTime corresponding to the given date and time in UTC.

This call is equivalent to calling g_date_time_new() with the time zone returned by g_time_zone_new_utc().

Return

a #GDateTime, or null

Since

2.26

Parameters

year

the year component of the date

month

the month component of the date

day

the day component of the date

hour

the hour component of the date

minute

the minute component of the date

seconds

the number of seconds past the minute