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;
int Minutes
The number of minutes.
Seconds sinceMidnight() const noexcept
int Hours
The number of hours.
TimeOfDay TimeOfDayOfWeek[DayOfWeek::Total]
Collection of time of day values indexed by the day of week.
TimeOfDay logonTime(DayOfWeek::Enum day) const noexcept
bool operator!=(const TimeOfDay &other) const noexcept
Checks whether the instance is unequal to the given one.
#define ONIXS_ILINK3_EXPORTED
int Seconds
The number of seconds.
TimeOfDay logoutTime(DayOfWeek::Enum day) const noexcept
DayOfWeek::Enum resetDay() const noexcept
bool operator==(const TimeOfDay &other) const noexcept
Checks whether the instance is equal to the given one.
#define ONIXS_ILINK3_NOTHROW