set_time_val
Description:
[ Version ( deprecated_since = "2.62" , since = "2.10" ) ]
public void set_time_val (TimeVal timeval)
public void set_time_val (TimeVal timeval)
Warning: set_time_val is deprecated since 2.62.
Sets the value of a date from a TimeVal value.
Note:
TimeVal is not year-2038-safe. Use set_time_t instead.
Note that the tv_usec
member is ignored, because Date can't make use of the
additional precision.
The time to date conversion is done using the user's current timezone.
Parameters:
this |
a Date |
timeval |
TimeVal value to set |