Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::local_date Struct Reference

A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03. More...

#include <local_date.h>

Public Attributes

int32_t year
 minimum value is -999999999 maximum value is 999999999
uint8_t month
 minimum value is 1 maximum value is 12
uint8_t day_of_month
 minimum value is 1 maximum value is 31

Detailed Description

A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03.

local_date is an immutable date-time object that represents a date, often viewed as year-month-day. Other date fields, such as day-of-year, day-of-week and week-of-year, can also be accessed. For example, the value "2nd October 2007" can be stored in a
local_date
.

This class does not store or represent a time or time-zone. Instead, it is a description of the date, as used for birthdays. 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. < p> The minimum supported local_date, '-999999999-01-01'. The maximum supported local_date, '+999999999-12-31'.

Definition at line 52 of file local_date.h.

Member Data Documentation

◆ day_of_month

uint8_t hazelcast::client::local_date::day_of_month

minimum value is 1 maximum value is 31

Definition at line 68 of file local_date.h.

◆ month

uint8_t hazelcast::client::local_date::month

minimum value is 1 maximum value is 12

Definition at line 63 of file local_date.h.

◆ year

int32_t hazelcast::client::local_date::year

minimum value is -999999999 maximum value is 999999999

Definition at line 58 of file local_date.h.


The documentation for this struct was generated from the following file: