Which class provides locale-sensitive text formatting for date and time information?
java.util.TimeFormat
java.util.DateFormat
java.text.TimeFormat
java.text.DateFormat
D.
The java.text.DateFormat class formats date and time data into strings that are appropriate to locales.