Xclox
C++11 header-only cross-platform date and time library with an asynchronous NTP client
|
This is the complete list of members for xclox::DateTime, including all inherited members.
addDays(int days) const | xclox::DateTime | inline |
addDuration(const Duration &duration) const | xclox::DateTime | inline |
addHours(int hours) const | xclox::DateTime | inline |
addMicroseconds(int microseconds) const | xclox::DateTime | inline |
addMilliseconds(int milliseconds) const | xclox::DateTime | inline |
addMinutes(int minutes) const | xclox::DateTime | inline |
addMonths(int months) const | xclox::DateTime | inline |
addNanoseconds(int nanoseconds) const | xclox::DateTime | inline |
addSeconds(int seconds) const | xclox::DateTime | inline |
addYears(int years) const | xclox::DateTime | inline |
current() | xclox::DateTime | inlinestatic |
date() const | xclox::DateTime | inline |
DateTime()=default | xclox::DateTime | |
DateTime(const DateTime &other)=default | xclox::DateTime | |
DateTime(DateTime &&other)=default | xclox::DateTime | |
DateTime(const Duration &duration) | xclox::DateTime | inlineexplicit |
DateTime(const std::chrono::system_clock::time_point &timePoint) | xclox::DateTime | inlineexplicit |
DateTime(const Date &date) | xclox::DateTime | inlineexplicit |
DateTime(const Date &date, const Time &time) | xclox::DateTime | inlineexplicit |
day() const | xclox::DateTime | inline |
dayOfWeek() const | xclox::DateTime | inline |
dayOfWeekName(bool shortName=false) const | xclox::DateTime | inline |
dayOfYear() const | xclox::DateTime | inline |
Days typedef | xclox::DateTime | |
daysBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
daysInMonth() const | xclox::DateTime | inline |
daysInYear() const | xclox::DateTime | inline |
epoch() | xclox::DateTime | inlinestatic |
fromJulianDay(double julianDay) | xclox::DateTime | inlinestatic |
fromString(const std::string &datetime, const std::string &format="yyyy-MM-dd hh:mm:ss") | xclox::DateTime | inlinestatic |
getYearMonthDay(int *year, int *month, int *day) const | xclox::DateTime | inline |
hour() const | xclox::DateTime | inline |
Hours typedef | xclox::DateTime | |
hoursBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
isLeapYear() const | xclox::DateTime | inline |
isValid() const | xclox::DateTime | inline |
microsecond() const | xclox::DateTime | inline |
Microseconds typedef | xclox::DateTime | |
microsecondsBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
millisecond() const | xclox::DateTime | inline |
Milliseconds typedef | xclox::DateTime | |
millisecondsBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
minute() const | xclox::DateTime | inline |
Minutes typedef | xclox::DateTime | |
minutesBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
month() const | xclox::DateTime | inline |
Month typedef | xclox::DateTime | |
monthName(bool shortName=false) const | xclox::DateTime | inline |
nanosecond() const | xclox::DateTime | inline |
Nanoseconds typedef | xclox::DateTime | |
nanosecondsBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
operator!=(const DateTime &other) const | xclox::DateTime | inline |
operator+(const Duration &duration) const | xclox::DateTime | inline |
operator-(const DateTime &other) const | xclox::DateTime | inline |
operator-(const Duration &duration) const | xclox::DateTime | inline |
operator<(const DateTime &other) const | xclox::DateTime | inline |
operator<<(std::ostream &os, const DateTime &dt) | xclox::DateTime | related |
operator<=(const DateTime &other) const | xclox::DateTime | inline |
operator=(const DateTime &other)=default | xclox::DateTime | |
operator=(DateTime &&other)=default | xclox::DateTime | |
operator==(const DateTime &other) const | xclox::DateTime | inline |
operator>(const DateTime &other) const | xclox::DateTime | inline |
operator>=(const DateTime &other) const | xclox::DateTime | inline |
operator>>(std::istream &is, DateTime &dt) | xclox::DateTime | related |
second() const | xclox::DateTime | inline |
Seconds typedef | xclox::DateTime | |
secondsBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
subtractDays(int days) const | xclox::DateTime | inline |
subtractDuration(const Duration &duration) const | xclox::DateTime | inline |
subtractHours(int hours) const | xclox::DateTime | inline |
subtractMicroseconds(int microseconds) const | xclox::DateTime | inline |
subtractMilliseconds(int milliseconds) const | xclox::DateTime | inline |
subtractMinutes(int minutes) const | xclox::DateTime | inline |
subtractMonths(int months) const | xclox::DateTime | inline |
subtractNanoseconds(int nanoseconds) const | xclox::DateTime | inline |
subtractSeconds(int seconds) const | xclox::DateTime | inline |
subtractYears(int years) const | xclox::DateTime | inline |
time() const | xclox::DateTime | inline |
toBrokenStdTime() const | xclox::DateTime | inline |
toDaysSinceEpoch() const | xclox::DateTime | inline |
toHoursSinceEpoch() const | xclox::DateTime | inline |
toJulianDay() const | xclox::DateTime | inline |
toMicrosecondsSinceEpoch() const | xclox::DateTime | inline |
toMillisecondsSinceEpoch() const | xclox::DateTime | inline |
toMinutesSinceEpoch() const | xclox::DateTime | inline |
toNanosecondsSinceEpoch() const | xclox::DateTime | inline |
toScalarStdTime() const | xclox::DateTime | inline |
toSecondsSinceEpoch() const | xclox::DateTime | inline |
toStdDurationSinceEpoch() const | xclox::DateTime | inline |
toStdTimePoint() const | xclox::DateTime | inline |
toString(const std::string &format="yyyy-MM-dd hh:mm:ss") const | xclox::DateTime | inline |
Weekday typedef | xclox::DateTime | |
weekOfYear(int *weekYear=nullptr) const | xclox::DateTime | inline |
Weeks typedef | xclox::DateTime | |
weeksBetween(const DateTime &from, const DateTime &to) | xclox::DateTime | inlinestatic |
year() const | xclox::DateTime | inline |
~DateTime()=default | xclox::DateTime |