fixed const issue in class Time