Added output functions to TIME type