Move all our date convert code into one class.