146 return seconds_ == other.seconds_;
152 return seconds_ != other.seconds_;
216 return logonTimes_[day];
229 return logoutTimes_[day];
248 return seqNumberResetPolicy_;
#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
SessionSchedule(DayOfWeek::Enum firstDay, DayOfWeek::Enum lastDay, TimeOfDay logonTime, TimeOfDay logoutTime, SequenceNumberResetPolicy::Enum seqNumberResetPolicy=SequenceNumberResetPolicy::Enum::Weekly)
friend class SessionStateChanger
SequenceNumberResetPolicy::Enum sequenceNumberResetPolicy() const noexcept
Defines the session sequence number reset policy.
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)
Defines the session sequence number reset policy.
static Enum parse(const std::string &value)
Transforms the string presentation into a valid constant.
static std::string toString(Enum value)
Builds the string presentation for a given constant.