Java android.text.format DateFormat fields, constructors, methods, implement or subclass

Example usage for Java android.text.format DateFormat fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text.format DateFormat.

The text is from its open source code.

Field

charDATE
charMONTH
charYEAR

Constructor

Method

CharSequenceformat(CharSequence inFormat, long inTimeInMillis)
Given a format string and a time in milliseconds since Jan 1, 1970 GMT, returns a CharSequence containing the requested date.
CharSequenceformat(CharSequence inFormat, Date inDate)
Given a format string and a java.util.Date object, returns a CharSequence containing the requested date.
CharSequenceformat(CharSequence inFormat, Calendar inDate)
Given a format string and a java.util.Calendar object, returns a CharSequence containing the requested date.
StringgetBestDateTimePattern(Locale locale, String skeleton)
Returns the best possible localized form of the given skeleton for the given locale.
java.text.DateFormatgetDateFormat(Context context)
Returns a java.text.DateFormat object that can format the date in short form according to the context's locale.
char[]getDateFormatOrder(Context context)
Gets the current date format stored as a char array.
java.text.DateFormatgetLongDateFormat(Context context)
Returns a java.text.DateFormat object that can format the date in long form (such as Monday, January 3, 2000 ) for the context's locale.
java.text.DateFormatgetMediumDateFormat(Context context)
Returns a java.text.DateFormat object that can format the date in medium form (such as Jan 3, 2000 ) for the context's locale.
java.text.DateFormatgetTimeFormat(Context context)
Returns a java.text.DateFormat object that can format the time according to the context's locale and the user's 12-/24-hour clock preference.
booleanis24HourFormat(Context context)
Returns true if times should be formatted as 24 hour times, false if times should be formatted as 12 hour (AM/PM) times.