125 return seconds_ == other.seconds_;
131 return seconds_ != other.seconds_;
189 return logonTimes_[day];
202 return logoutTimes_[day];
#define ONIXS_B3_BOE_EXPORTED
#define ONIXS_B3_BOE_NOTHROW
DayOfWeek::Enum resetDay() const noexcept
TimeOfDay logoutTime(DayOfWeek::Enum day) const noexcept
TimeOfDay logonTime(DayOfWeek::Enum day) const noexcept
friend class SessionStateChanger
SessionSchedule(DayOfWeek::Enum firstDay, DayOfWeek::Enum lastDay, TimeOfDay logonTime, TimeOfDay logoutTime)
Constructor.
SessionSchedule(const SessionSchedule &other)
std::string toString() const
static TimeOfDay parse(const std::string &)
Parses the time of day from the given string presentation.
static TimeOfDay midnight() noexcept
Seconds sinceMidnight() const noexcept
Hours hours() const noexcept
Minutes minutes() const noexcept
Seconds seconds() const noexcept
int Minutes
The number of minutes.
int Hours
The number of hours.
TimeOfDay TimeOfDayOfWeek[DayOfWeek::Total]
Collection of time of day values indexed by the day of week.
int Seconds
The number of seconds.
static Enum parse(const std::string &value)
Transforms the string presentation into a valid constant.
static std::string toString(Enum value)