Class ConvertsToTimeFunction