Date.setTimeVal

Sets the value of a date from a glib.TimeVal value. Note that the tv_usec member is ignored, because glib.Date 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 TimeVal

glib.TimeVal value to set

Detailed Description

Deprecated: glib.TimeVal is not year-2038-safe. Use Date.setTimeT instead.

Meta

Since

2.10