public DateTime.from_timeval_local (TimeVal tv)
Warning: DateTime.from_timeval_local is deprecated since 2.62.
The time contained in a TimeVal is always stored in the form of seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.
This call can fail (returning null) if
tv represents a time outside of the supported range of
You should release the return value by calling
g_date_time_unref when you are done with it.
a new DateTime, or null