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.

class Date
void
setTimeVal

Parameters

timeval TimeVal

#GTimeVal value to set

Meta

Since

2.10