public final class AndroidDateTimeFormatter
extends java.lang.Object
DateTimeFormatters, such as a localized time formatter that respects the user's
12-/24-hour clock preference.| Modifier and Type | Method and Description |
|---|---|
static org.threeten.bp.format.DateTimeFormatter |
ofLocalizedTime(android.content.Context context)
Returns a
DateTimeFormatter that can format the time according to the context's locale and the user's
12-/24-hour clock preference. |
public static org.threeten.bp.format.DateTimeFormatter ofLocalizedTime(android.content.Context context)
DateTimeFormatter that can format the time according to the context's locale and the user's
12-/24-hour clock preference.context - the application contextDateTimeFormatter that properly formats the time.