19 #include <cudf/utilities/export.hpp>
27 namespace CUDF_EXPORT
cudf {
30 template <
class Duration>
31 using time_point = cuda::std::chrono::sys_time<Duration>;
38 template <
class Duration>
77 static_assert(
sizeof(
timestamp_D) ==
sizeof(
typename timestamp_D::rep));
78 static_assert(
sizeof(
timestamp_h) ==
sizeof(
typename timestamp_h::rep));
79 static_assert(
sizeof(
timestamp_m) ==
sizeof(
typename timestamp_m::rep));
80 static_assert(
sizeof(
timestamp_s) ==
sizeof(
typename timestamp_s::rep));
81 static_assert(
sizeof(
timestamp_ms) ==
sizeof(
typename timestamp_ms::rep));
82 static_assert(
sizeof(
timestamp_us) ==
sizeof(
typename timestamp_us::rep));
83 static_assert(
sizeof(
timestamp_ns) ==
sizeof(
typename timestamp_ns::rep));
Concrete type definitions for int32_t and int64_t durations in varying resolutions.
detail::timestamp< cudf::duration_ms > timestamp_ms
Type alias representing a cudf::duration_ms (int64_t) since the unix epoch.
detail::timestamp< cudf::duration_s > timestamp_s
Type alias representing a cudf::duration_s (int64_t) since the unix epoch.
detail::timestamp< cudf::duration_D > timestamp_D
Type alias representing a cudf::duration_D (int32_t) since the unix epoch.
detail::timestamp< cudf::duration_m > timestamp_m
Type alias representing a cudf::duration_m (int32_t) since the unix epoch.
detail::timestamp< cudf::duration_h > timestamp_h
Type alias representing a cudf::duration_h (int32_t) since the unix epoch.
detail::timestamp< cudf::duration_us > timestamp_us
Type alias representing a cudf::duration_us (int64_t) since the unix epoch.
detail::timestamp< cudf::duration_ns > timestamp_ns
Type alias representing a cudf::duration_ns (int64_t) since the unix epoch.
cuda::std::chrono::sys_time< Duration > time_point
Time point type.
time_point< Duration > timestamp
A wrapper around a column of time_point in varying resolutions.