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

A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30. More...

#include <local_time.h>

Public Attributes

uint8_t hours
 the hour-of-day to represent, from 0 to 23
uint8_t minutes
 the minute-of-hour to represent, from 0 to 59
uint8_t seconds
 the second-of-minute to represent, from 0 to 59
int32_t nanos
 the nanosecond-of-second to represent, from 0 to 999,999,999

Detailed Description

A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30.

local_time is an immutable date-time object that represents a time, often viewed as hour-minute-second. Time is represented to nanosecond precision. For example, the value "13:45.30.123456789" can be stored in a
local_time
.

This class does not store or represent a date or time-zone. Instead, it is a description of 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. This API assumes that all calendar systems use the same representation, this class, for time-of-day.

The minimum supported local_time, '00:00'. This is the time of midnight at the start of the day. The maximum supported local_time, '23:59:59.999999999'. This is the time just before midnight at the end of the day.

Definition at line 52 of file local_time.h.

Member Data Documentation

◆ hours

uint8_t hazelcast::client::local_time::hours

the hour-of-day to represent, from 0 to 23

Definition at line 57 of file local_time.h.

◆ minutes

uint8_t hazelcast::client::local_time::minutes

the minute-of-hour to represent, from 0 to 59

Definition at line 61 of file local_time.h.

◆ nanos

int32_t hazelcast::client::local_time::nanos

the nanosecond-of-second to represent, from 0 to 999,999,999

Definition at line 69 of file local_time.h.

◆ seconds

uint8_t hazelcast::client::local_time::seconds

the second-of-minute to represent, from 0 to 59

Definition at line 65 of file local_time.h.


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