18#ifndef TRINITYCORE_WOWTIME_H
19#define TRINITYCORE_WOWTIME_H
std::chrono::seconds Seconds
Seconds shorthand typedef.
void SetPackedTime(uint32 packedTime)
std::time_t GetUnixTimeFromUtcTime() const
friend TC_GAME_API ByteBuffer & operator<<(ByteBuffer &data, WowTime const &wowTime)
friend TC_GAME_API bool operator==(WowTime const &left, WowTime const &right)
int8 GetHolidayOffset() const
void SetWeekDay(int8 weekDay)
friend TC_GAME_API ByteBuffer & operator>>(ByteBuffer &data, WowTime &wowTime)
WowTime & operator+=(Seconds seconds)
void SetMonth(int8 month)
WowTime operator-(Seconds seconds) const
void SetMonthDay(int8 monthDay)
void SetHolidayOffset(int8 holidayOffset)
WowTime & operator-=(Seconds seconds)
uint32 GetPackedTime() const
void SetFlags(int8 flags)
void SetMinute(int8 minute)
WowTime operator+(Seconds seconds) const
friend TC_GAME_API std::strong_ordering operator<=>(WowTime const &left, WowTime const &right)
void SetUtcTimeFromUnixTime(std::time_t unixTime)
bool IsInRange(WowTime const &from, WowTime const &to) const
constexpr bool is_eq(std::partial_ordering cmp) noexcept