Minor: add constructor taking some parameters..

This commit is contained in:
Gerhard Hoffmann 2023-12-12 10:31:54 +01:00
parent 43b8a8d3bf
commit 52ad1c3ba8

View File

@ -16,6 +16,12 @@ public:
: m_time_from(QTime())
, m_time_until(QTime()) {}
TariffTimeRange(QTime const& from, QTime const &until)
: m_time_from(from)
, m_time_until(until) {
}
void setTimeRange(QTime const& from, QTime const &until) {
m_time_from = from;
m_time_until = until;