Date time class.
More...
#include <DateTime.h>
◆ Ptr
◆ Policy
Date creation strategy.
Enumerator |
---|
ONLY_CREATE | Timestamps are created without parsing to a human-readable time format.
|
FORMAT | Create timestamps and parse them into a readable format.
|
◆ DateTime() [1/2]
sese::DateTime::DateTime |
( |
| ) |
|
|
explicitdefaultnoexcept |
◆ DateTime() [2/2]
◆ compareTo()
int32_t sese::DateTime::compareTo |
( |
const DateTime & | date_time | ) |
const |
|
nodiscardnoexcept |
◆ getDayOfWeek()
int32_t sese::DateTime::getDayOfWeek |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getDayOfYear()
int32_t sese::DateTime::getDayOfYear |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getDays()
int32_t sese::DateTime::getDays |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getHours()
int32_t sese::DateTime::getHours |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getMicroseconds()
int32_t sese::DateTime::getMicroseconds |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getMilliseconds()
int32_t sese::DateTime::getMilliseconds |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getMinutes()
int32_t sese::DateTime::getMinutes |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getMonths()
int32_t sese::DateTime::getMonths |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getSeconds()
int32_t sese::DateTime::getSeconds |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getTimestamp()
uint64_t sese::DateTime::getTimestamp |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getUTC()
int32_t sese::DateTime::getUTC |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ getYears()
int32_t sese::DateTime::getYears |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ isLeapYear()
bool sese::DateTime::isLeapYear |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ now()
◆ nowPtr()
◆ operator+()
◆ operator-() [1/2]
◆ operator-() [2/2]
◆ unclearCompareTo()
int32_t sese::DateTime::unclearCompareTo |
( |
const DateTime & | date_time | ) |
const |
|
nodiscardnoexcept |
◆ dayofweek
int32_t sese::DateTime::dayofweek = 0 |
|
private |
◆ dayofyear
int32_t sese::DateTime::dayofyear = 0 |
|
private |
◆ days
int32_t sese::DateTime::days = 1 |
|
private |
◆ hours
int32_t sese::DateTime::hours = 0 |
|
private |
◆ isLeap
bool sese::DateTime::isLeap = false |
|
private |
◆ microseconds
int32_t sese::DateTime::microseconds = 0 |
|
private |
◆ milliseconds
int32_t sese::DateTime::milliseconds = 0 |
|
private |
◆ minutes
int32_t sese::DateTime::minutes = 0 |
|
private |
◆ months
int32_t sese::DateTime::months = 1 |
|
private |
◆ seconds
int32_t sese::DateTime::seconds = 0 |
|
private |
◆ timestamp
uint64_t sese::DateTime::timestamp = 0 |
|
private |
◆ utc
int32_t sese::DateTime::utc = 0 |
|
private |
◆ years
int32_t sese::DateTime::years = 1970 |
|
private |
The documentation for this class was generated from the following files: