newLocal

fun newLocal(year: <Error class: unknown class>, month: <Error class: unknown class>, day: <Error class: unknown class>, hour: <Error class: unknown class>, minute: <Error class: unknown class>, seconds: <Error class: unknown class>): DateTime?

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

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

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