Date.setTimeVal

Sets the value of a date from a #GTimeVal value. Note that the tv_usec member is ignored, because #GDate can't make use of the additional precision.

The time to date conversion is done using the user's current timezone.

More...
class Date
void
setTimeVal

Parameters

timeval glib.time_val.TimeVal

#GTimeVal value to set

Detailed Description

Deprecated: #GTimeVal is not year-2038-safe. Use glib.date.Date.setTimeT instead.