Code improvements to TransitionTimeConverter