![]() |
Hazelcast C++ Client
Hazelcast C++ Client Library
|
A date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30
.
More...
#include <local_date_time.h>
Public Attributes | |
local_date | date |
local_time | time |
A date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30
.
local_date_time
is an immutable date-time object that represents a date-time, often viewed as year-month-day-hour-minute-second. Other date and time fields, such as day-of-year, day-of-week and week-of-year, can also be accessed. Time is represented to nanosecond precision. For example, the value "2nd October 2007 at 13:45.30.123456789" can be stored in a
.
local_date_time
This class does not store or represent a time-zone. Instead, it is a description of the date, as used for birthdays, combined with the local time as seen on a wall clock. It cannot represent an instant on the time-line without additional information such as an offset or time-zone.
The ISO-8601 calendar system is the modern civil calendar system used today in most of the world. It is equivalent to the proleptic Gregorian calendar system, in which today's rules for leap years are applied for all time. For most applications written today, the ISO-8601 rules are entirely suitable. However, any application that makes use of historical dates, and requires them to be accurate will find the ISO-8601 approach unsuitable.
The minimum supported local_date_time
, '-999999999-01-01T00:00:00'. The maximum supported local_date_time
, '+999999999-12-31T23:59:59.999999999'.
Definition at line 59 of file local_date_time.h.
local_date hazelcast::client::local_date_time::date |
Definition at line 61 of file local_date_time.h.
local_time hazelcast::client::local_date_time::time |
Definition at line 62 of file local_date_time.h.