ADTF
3.18.4
|
Public API for Date, Time and DateTime types and functions. More...
Go to the source code of this file.
Classes | |
class | Date |
Date implementation representing a date consisting of year, month and day. More... | |
class | Time |
Time implementation representing a time of day (00:00:00,0 - 23:59:59,999999) More... | |
class | DateTime |
DateTime class representing both Date and Time. More... | |
Namespaces | |
a_util | |
Serves as the root component, with common functionality documented in core functionality. | |
a_util::datetime | |
Serves as component for date and time handling. | |
Enumerations | |
enum | TimestampReference { MicroSecondsSinceJulianDateOrigin = 0 , MicroSecondsSinceUnixTimeOrigin = 1 } |
The reference point in time. More... | |
Functions | |
bool | operator== (const Date &lhs, const Date &rhs) |
Compare two dates for equality. More... | |
bool | operator!= (const Date &lhs, const Date &rhs) |
Compare two dates for inequality. More... | |
Date | getCurrentLocalDate () |
Retrieves the current date (hardware clock with respect to timezone). More... | |
Date | getCurrentSystemDate () |
Retrieves the current system date (in UTC format). More... | |
bool | operator== (const Time &lhs, const Time &rhs) |
Compare two times for equality. More... | |
bool | operator!= (const Time &lhs, const Time &rhs) |
Compare two times for inequality. More... | |
Time | getCurrentLocalTime () |
Get the current time (hardware clock with respect to timezone). More... | |
Time | getCurrentSystemTime () |
Get the current time (in UTC format). More... | |
bool | operator== (const DateTime &lhs, const DateTime &rhs) |
Compare two date-time representations for equality. More... | |
bool | operator!= (const DateTime &lhs, const DateTime &rhs) |
Compare two date-time representations for inequality. More... | |
DateTime | getCurrentLocalDateTime () |
Get the current date and time (hardware clock with respect to timezone). More... | |
DateTime | getCurrentSystemDateTime () |
Get the current date and time (in UTC format). More... | |
Public API for Date, Time and DateTime types and functions.
Copyright @ 2023 VW Group. All rights reserved. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Definition in file workspace/conan/dev_essential/1.3.4/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/a_util/datetime/datetime.h.