Add some accessor functions to Time.