DateTime.from_g_date_time


Description:

[ CCode ( has_construct_function = false ) ]
public DateTime.from_g_date_time (owned DateTime? dt)

Creates a new DateTime from a DateTime object.

Parameters:

dt

the DateTime.

Returns:

a newly created DateTime, or null if dt is null.