[CAST-1751] Date format converter + unit test