Death::Containers::DateTime::Tm struct

Describes a date and time represented by DateTime.

Constructors, destructors, conversion operators

Tm() noexcept
Tm(const struct tm& tm, TimeZone tz) noexcept
operator bool() const explicit noexcept

Public functions

auto IsValid() const -> bool noexcept
auto GetWeekDay() -> std::int32_t noexcept
Returns the day of the week.
void AddMonths(std::int32_t monDiff) noexcept
Adds the specified number of months.
void AddDays(std::int32_t dayDiff) noexcept
Adds the specified number of days.

Public variables

std::int32_t Millisecond
std::int32_t Second
std::int32_t Minute
std::int32_t Hour
std::int32_t Day
std::int32_t DayOfYear
std::int32_t Month
std::int32_t Year