#include <iostream>
#include <ctime>
#include <string>
class Time{
public:
// Općeniti konstruktor -- implementiran u drugoj datoteci
Time(int s, int min, int sec, std::string name);
// Delegirajući konstruktori
Time() : Time(0,0,0,"") {}
Time(int s) : Time(s,0,0,"") {}
Time(int s, int min) : Time(s,min,0,"") {}
Time(int s, int min, int sec) : Time(s,min,sec,"") {}
Time(std::string name) : Time(0,0,0,name) {}
int getSat() const { return sat; }
int getMinuta() const { return minuta; }
int getSekunda() const { return sekunda; }
void setTrenutno();
void printStandard(std::ostream&) const;
private:
int sat;
int minuta;
int sekunda;
std::string ime;
};