Format date and time similarly to IntlDateFormatter.