Creates a DateTime corresponding to the given TimeVal tv.
The time contained in a TimeVal is always stored in the form of
seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the
local time offset.
This call can fail (ConstructionException) if tv represents a time outside
of the supported range of DateTime.
You should release the return value by calling unref()
when you are done with it.
Creates a DateTime corresponding to the given TimeVal tv. The time contained in a TimeVal is always stored in the form of seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.
This call can fail (ConstructionException) if tv represents a time outside of the supported range of DateTime. You should release the return value by calling unref() when you are done with it.