Java.Text.DateFormat: Method Members

The methods of Java.Text.DateFormat are listed below. For a list of all members, see the DateFormat Members list.

See Also: Inherited members from Java.Text._Format

Public Methods

Format(Java.Util.Date) : string
Formats the specified date using the rules of this date format.
override
Format(Java.Lang.Object, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
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) : Java.Lang.StringBuffer
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() : Java.Util.Locale[]
Returns an array of locales for which custom DateFormat instances are available.
static
GetDateInstance(int) : DateFormat
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) : DateFormat
Returns a DateFormat instance for formatting and parsing dates in the specified style for the specified locale.
static
GetDateTimeInstance(int, int) : DateFormat
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) : DateFormat
Returns a DateFormat instance for formatting and parsing dates and time values in the specified styles for the specified locale.
static
GetTimeInstance(int) : DateFormat
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) : DateFormat
Returns a DateFormat instance for formatting and parsing time values in the specified style for the specified locale.
Parse(string) : Java.Util.Date
Parses a date from the specified string using the rules of this date format.
abstract
Parse(string, ParsePosition) : Java.Util.Date
Parses a date from the specified string starting at the index specified by position.
override
ParseObject(string, ParsePosition) : Java.Lang.Object
Parses a date from the specified string starting at the index specified by position.