![]() |
Hazelcast C++ Client
Hazelcast C++ Client Library
|
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00
.
More...
#include <offset_date_time.h>
Public Attributes | |
local_date_time | date_time |
The local date-time. | |
int32_t | zone_offset_in_seconds |
The offset from UTC/Greenwich. |
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00
.
offset_date_time
is an immutable representation of a date-time with an offset. This class stores all date and time fields, to a precision of nanoseconds, as well as the offset from UTC/Greenwich. For example, the value "2nd October 2007 at 13:45:30.123456789 +02:00" can be stored in an
.
offset_date_time
The minimum supported offset_date_time
, '-999999999-01-01T00:00:00+18:00'. This is the local date-time of midnight at the start of the minimum date in the maximum offset (larger offsets are earlier on the time-line). The maximum supported offset_date_time
, '+999999999-12-31T23:59:59.999999999-18:00'. This is the local date-time just before midnight at the end of the maximum date in the minimum offset (larger negative offsets are later on the time-line).
Definition at line 47 of file offset_date_time.h.
local_date_time hazelcast::client::offset_date_time::date_time |
The local date-time.
Definition at line 52 of file offset_date_time.h.
int32_t hazelcast::client::offset_date_time::zone_offset_in_seconds |
The offset from UTC/Greenwich.
The offset must be in the range -18:00
to +18:00
, which corresponds to -64800 to +64800 seconds.
Definition at line 58 of file offset_date_time.h.