added DbTime class