Add support for time <-> TimeOfDay