30 namespace Scheduling {
48 static Enum parse(
const std::string & value);
51 static std::string toString(
Enum value);
90 std::string toString()
const;
108 static TimeOfDay parse(
const std::string &);
125 return seconds_ == other.seconds_;
131 return seconds_ != other.seconds_;
178 friend class SessionStateChanger;
180 TimeOfDayOfWeek logonTimes_;
181 TimeOfDayOfWeek logoutTimes_;
189 return logonTimes_[day];
195 logonTimes_[day] = logonTime;
202 return logoutTimes_[day];
208 logoutTimes_[day] = logoutTime;
#define ONIXS_B3_BOE_NOTHROW
#define ONIXS_B3_BOE_EXPORTED
Seconds sinceMidnight() const noexcept
TimeOfDay TimeOfDayOfWeek[DayOfWeek::Total]
Collection of time of day values indexed by the day of week.
DayOfWeek::Enum resetDay() const noexcept
int Seconds
The number of seconds.
TimeOfDay logonTime(DayOfWeek::Enum day) const noexcept
TimeOfDay logoutTime(DayOfWeek::Enum day) const noexcept
int Hours
The number of hours.
bool operator==(const TimeOfDay &other) const noexcept
Checks whether the instance is equal to the given one.
bool operator!=(const TimeOfDay &other) const noexcept
Checks whether the instance is unequal to the given one.
int Minutes
The number of minutes.