GLib.Date.prototype.set_time_val
function set_time_val(timeval: GLib.TimeVal): void {
// Gjs wrapper for g_date_set_time_val()
}
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.
Since 2.10
- timeval
GLib.TimeVal value to set