# android.text.format

# android.text.format

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/text/format/package-summary "View this page in Java")

## Classes

|---------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DateFormat](https://developer.android.com/reference/kotlin/android/text/format/DateFormat) | Utility class for producing strings with formatted date/time.                                                                                                                                                                                                                 |
| [DateUtils](https://developer.android.com/reference/kotlin/android/text/format/DateUtils)   | This class contains various date-related utilities for creating text for things like elapsed time and date ranges, strings for days of the week and months, and AM/PM text etc.                                                                                               |
| [Formatter](https://developer.android.com/reference/kotlin/android/text/format/Formatter)   | Utility class to aid in formatting common values that are not covered by the[java.util.Formatter](https://developer.android.com/reference/kotlin/java/util/Formatter.html#)class in[java.util](https://developer.android.com/reference/kotlin/java/util/package-summary.html) |
| [Time](https://developer.android.com/reference/kotlin/android/text/format/Time)             | An alternative to the[java.util.Calendar](https://developer.android.com/reference/kotlin/java/util/Calendar.html#)and[java.util.GregorianCalendar](https://developer.android.com/reference/kotlin/java/util/GregorianCalendar.html#)classes.                                  |