23 lines
339 B
C++
23 lines
339 B
C++
#pragma once
|
|
#include <time.h>
|
|
|
|
class WorkingHours
|
|
{
|
|
private:
|
|
unsigned int from = 0;
|
|
unsigned int to = 0;
|
|
public:
|
|
WorkingHours() = default;
|
|
WorkingHours(unsigned int from, unsigned int to) {
|
|
this->from = from;
|
|
this->to = to;
|
|
};
|
|
unsigned int getFrom() {
|
|
return this->from;
|
|
};
|
|
unsigned int getTo() {
|
|
return this->to;
|
|
};
|
|
};
|
|
|