TimestampDataType


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.7.0" ) ]
public TimestampDataType (TimeUnit unit, TimeZone? time_zone)

Parameters:

unit

The unit of the timestamp data.

time_zone

The time zone of the timestamp data. If based GLib is less than 2.58, this is ignored.

Returns:

A newly created the number of seconds/milliseconds/microseconds/nanoseconds since UNIX epoch in 64-bit signed integer data type.