Update Time.cpp

added method implementation