Java.Text.DateFormatSymbols Class
Encapsulates localized date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data.

See Also: DateFormatSymbols Members

Syntax

[Android.Runtime.Register("java/text/DateFormatSymbols", DoNotGenerateAcw=true)]
public class DateFormatSymbols : Java.Lang.Object, Java.IO.ISerializable, Java.Lang.ICloneable, IDisposable

Remarks

Encapsulates localized date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data. DateFormat and SimpleDateFormat both use DateFormatSymbols to encapsulate this information.

Typically you shouldn't use DateFormatSymbols directly. Rather, you are encouraged to create a date/time formatter with the DateFormat class's factory methods: getTimeInstance, getDateInstance, or getDateTimeInstance. These methods automatically create a DateFormatSymbols for the formatter so that you don't have to. After the formatter is created, you may modify its format pattern using the setPattern method. For more information about creating formatters using DateFormat's factory methods, see Java.Text.DateFormat.

Direct use of DateFormatSymbols is likely to be less efficient because the implementation cannot make assumptions about user-supplied/user-modifiable data to the same extent that it can with its own built-in data.

See Also

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1