added the timeService API.