Remove MyTime class and create DoubleTime class