The members of Java.Text.DateFormat are listed below.
See Also: Inherited members from Java.Text._Format
Constructs a new instance of DateFormat. | ||
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | AmPmField | int (14). FieldPosition selector for 'a' field alignment, corresponds to the Java.Util.Calendar.AmPm field. |
const | DateField | int (3). The FieldPosition selector for 'd' field alignment, corresponds to the Java.Util.Calendar.Date field. |
const | DayOfWeekField | int (9). FieldPosition selector for 'E' field alignment, corresponds to the Java.Util.Calendar.DayOfWeek field. |
const | DayOfWeekInMonthField | int (11). FieldPosition selector for 'F' field alignment, corresponds to the Java.Util.Calendar.DayOfWeekInMonth field. |
const | DayOfYearField | int (10). FieldPosition selector for 'D' field alignment, corresponds to the Java.Util.Calendar.DayOfYear field. |
const | Default | int (2). The format style constant defining the default format style. |
const | EraField | int (0). The FieldPosition selector for 'G' field alignment, corresponds to the Java.Util.Calendar.Era field. |
const | Full | int (0). The format style constant defining the full style. |
const | Hour0Field | int (16). The FieldPosition selector for 'K' field alignment, corresponding to the Java.Util.Calendar.Hour field. |
const | Hour1Field | int (15). FieldPosition selector for 'h' field alignment, corresponding to the Java.Util.Calendar.Hour field. |
const | HourOfDay0Field | int (5). The FieldPosition selector for 'H' field alignment, corresponds to the Java.Util.Calendar.HourOfDay field. |
const | HourOfDay1Field | int (4). The FieldPosition selector for 'k' field alignment, corresponds to the Java.Util.Calendar.HourOfDay field. |
const | Long | int (1). The format style constant defining the long style. |
const | Medium | int (2). The format style constant defining the medium style. |
const | MillisecondField | int (8). FieldPosition selector for 'S' field alignment, corresponds to the Java.Util.Calendar.Millisecond field. |
const | MinuteField | int (6). FieldPosition selector for 'm' field alignment, corresponds to the Java.Util.Calendar.Minute field. |
const | MonthField | int (2). The FieldPosition selector for 'M' field alignment, corresponds to the Java.Util.Calendar.Month field. |
const | SecondField | int (7). FieldPosition selector for 's' field alignment, corresponds to the Java.Util.Calendar.Second field. |
const | Short | int (3). The format style constant defining the short style. |
const | TimezoneField | int (17). The FieldPosition selector for 'z' field alignment, corresponds to the Java.Util.Calendar.ZoneOffset and Java.Util.Calendar.DstOffset fields. |
const | WeekOfMonthField | int (13). FieldPosition selector for 'W' field alignment, corresponds to the Java.Util.Calendar.WeekOfMonth field. |
const | WeekOfYearField | int (12). FieldPosition selector for 'w' field alignment, corresponds to the Java.Util.Calendar.WeekOfYear field. |
const | YearField | int (1). The FieldPosition selector for 'y' field alignment, corresponds to the Java.Util.Calendar.Year field. |
Calendar | Java.Util.Calendar. Returns the calendar used by this DateFormat. | |
[read-only] static | DateInstance | DateFormat. Returns a DateFormat instance for formatting and parsing dates in the DEFAULT style for the default locale. |
[read-only] static | DateTimeInstance | DateFormat. Returns a DateFormat instance for formatting and parsing dates and time values in the DEFAULT style for the default locale. |
[read-only] static | Instance | DateFormat. Returns a DateFormat instance for formatting and parsing dates and times in the SHORT style for the default locale. |
Lenient | bool. Indicates whether the calendar used by this date format is lenient. | |
NumberFormat | NumberFormat. Returns the NumberFormat used by this DateFormat. | |
[read-only] static | TimeInstance | DateFormat. Returns a DateFormat instance for formatting and parsing time values in the DEFAULT style for the default locale. |
TimeZone | Java.Util.TimeZone. Returns the time zone of this date format's calendar. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Format(Java.Util.Date)Formats the specified date using the rules of this date format. | ||
override | Format(Java.Lang.Object, Java.Lang.StringBuffer, FieldPosition)Formats the specified object as a string using the pattern of this date format and appends the string to the specified string buffer. | |
abstract | Format(Java.Util.Date, Java.Lang.StringBuffer, FieldPosition)Formats the specified date as a string using the pattern of this date format and appends the string to the specified string buffer. | |
static | GetAvailableLocales()Returns an array of locales for which custom DateFormat instances are available. | |
static | GetDateInstance(int)Returns a DateFormat instance for formatting and parsing dates in the specified style for the user's default locale. | |
static | GetDateInstance(int, Java.Util.Locale)Returns a DateFormat instance for formatting and parsing dates in the specified style for the specified locale. | |
static | GetDateTimeInstance(int, int)Returns a DateFormat instance for formatting and parsing of both dates and time values in the manner appropriate for the user's default locale. | |
static | GetDateTimeInstance(int, int, Java.Util.Locale)Returns a DateFormat instance for formatting and parsing dates and time values in the specified styles for the specified locale. | |
static | GetTimeInstance(int)Returns a DateFormat instance for formatting and parsing time values in the specified style for the user's default locale. | |
static | GetTimeInstance(int, Java.Util.Locale)Returns a DateFormat instance for formatting and parsing time values in the specified style for the specified locale. | |
Parse(string)Parses a date from the specified string using the rules of this date format. | ||
abstract | Parse(string, ParsePosition)Parses a date from the specified string starting at the index specified by position. | |
override | ParseObject(string, ParsePosition)Parses a date from the specified string starting at the index specified by position. |