SimpleDateFormat Class

Definition

[Android.Runtime.Register("android/icu/text/SimpleDateFormat", ApiSince=24, DoNotGenerateAcw=true)]
public class SimpleDateFormat : Android.Icu.Text.DateFormat
[<Android.Runtime.Register("android/icu/text/SimpleDateFormat", ApiSince=24, DoNotGenerateAcw=true)>]
type SimpleDateFormat = class
    inherit DateFormat
Inheritance
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

SimpleDateFormat()
SimpleDateFormat(IntPtr, JniHandleOwnership)
SimpleDateFormat(String)
SimpleDateFormat(String, DateFormatSymbols)
SimpleDateFormat(String, Locale)
SimpleDateFormat(String, String, ULocale)
SimpleDateFormat(String, ULocale)

Fields

AbbrGenericTz (Inherited from DateFormat)
AbbrMonth (Inherited from DateFormat)
AbbrMonthDay (Inherited from DateFormat)
AbbrMonthWeekdayDay (Inherited from DateFormat)
AbbrQuarter (Inherited from DateFormat)
AbbrSpecificTz (Inherited from DateFormat)
AbbrUtcTz (Inherited from DateFormat)
AbbrWeekday (Inherited from DateFormat)
AmPmField
Obsolete.
(Inherited from DateFormat)
AmPmMidnightNoonField
Obsolete.
(Inherited from DateFormat)
DateField
Obsolete.
(Inherited from DateFormat)
Day (Inherited from DateFormat)
DayOfWeekField
Obsolete.
(Inherited from DateFormat)
DayOfWeekInMonthField
Obsolete.
(Inherited from DateFormat)
DayOfYearField
Obsolete.
(Inherited from DateFormat)
Default
Obsolete.
(Inherited from DateFormat)
DowLocalField
Obsolete.
(Inherited from DateFormat)
EraField
Obsolete.
(Inherited from DateFormat)
ExtendedYearField
Obsolete.
(Inherited from DateFormat)
FlexibleDayPeriodField
Obsolete.
(Inherited from DateFormat)
FractionalSecondField
Obsolete.
(Inherited from DateFormat)
Full
Obsolete.
(Inherited from DateFormat)
GenericTz (Inherited from DateFormat)
Hour (Inherited from DateFormat)
Hour0Field
Obsolete.
(Inherited from DateFormat)
Hour1Field
Obsolete.
(Inherited from DateFormat)
Hour24 (Inherited from DateFormat)
Hour24Minute (Inherited from DateFormat)
Hour24MinuteSecond (Inherited from DateFormat)
HourMinute (Inherited from DateFormat)
HourMinuteSecond (Inherited from DateFormat)
HourOfDay0Field
Obsolete.
(Inherited from DateFormat)
HourOfDay1Field
Obsolete.
(Inherited from DateFormat)
JulianDayField
Obsolete.
(Inherited from DateFormat)
LocationTz (Inherited from DateFormat)
Long
Obsolete.
(Inherited from DateFormat)
Medium
Obsolete.
(Inherited from DateFormat)
MillisecondField
Obsolete.
(Inherited from DateFormat)
MillisecondsInDayField
Obsolete.
(Inherited from DateFormat)
Minute (Inherited from DateFormat)
MinuteField
Obsolete.
(Inherited from DateFormat)
MinuteSecond (Inherited from DateFormat)
Month (Inherited from DateFormat)
MonthDay (Inherited from DateFormat)
MonthField
Obsolete.
(Inherited from DateFormat)
MonthWeekdayDay (Inherited from DateFormat)
None
Obsolete.
(Inherited from DateFormat)
NumMonth (Inherited from DateFormat)
NumMonthDay (Inherited from DateFormat)
NumMonthWeekdayDay (Inherited from DateFormat)
Quarter (Inherited from DateFormat)
QuarterField
Obsolete.
(Inherited from DateFormat)
Relative
Obsolete.
(Inherited from DateFormat)
RelativeDefault
Obsolete.
(Inherited from DateFormat)
RelativeFull
Obsolete.
(Inherited from DateFormat)
RelativeLong
Obsolete.
(Inherited from DateFormat)
RelativeMedium
Obsolete.
(Inherited from DateFormat)
RelativeShort
Obsolete.
(Inherited from DateFormat)
Second (Inherited from DateFormat)
SecondField
Obsolete.
(Inherited from DateFormat)
Short
Obsolete.
(Inherited from DateFormat)
SpecificTz (Inherited from DateFormat)
StandaloneDayField
Obsolete.
(Inherited from DateFormat)
StandaloneMonthField
Obsolete.
(Inherited from DateFormat)
StandaloneQuarterField
Obsolete.
(Inherited from DateFormat)
TimezoneField
Obsolete.
(Inherited from DateFormat)
TimezoneGenericField
Obsolete.
(Inherited from DateFormat)
TimezoneIsoField
Obsolete.
(Inherited from DateFormat)
TimezoneIsoLocalField
Obsolete.
(Inherited from DateFormat)
TimezoneLocalizedGmtOffsetField
Obsolete.
(Inherited from DateFormat)
TimezoneRfcField
Obsolete.
(Inherited from DateFormat)
TimezoneSpecialField
Obsolete.
(Inherited from DateFormat)
Weekday (Inherited from DateFormat)
WeekOfMonthField
Obsolete.
(Inherited from DateFormat)
WeekOfYearField
Obsolete.
(Inherited from DateFormat)
Year (Inherited from DateFormat)
YearAbbrMonth (Inherited from DateFormat)
YearAbbrMonthDay (Inherited from DateFormat)
YearAbbrMonthWeekdayDay (Inherited from DateFormat)
YearAbbrQuarter (Inherited from DateFormat)
YearField
Obsolete.
(Inherited from DateFormat)
YearMonth (Inherited from DateFormat)
YearMonthDay (Inherited from DateFormat)
YearMonthWeekdayDay (Inherited from DateFormat)
YearNameField
Obsolete.
(Inherited from DateFormat)
YearNumMonth (Inherited from DateFormat)
YearNumMonthDay (Inherited from DateFormat)
YearNumMonthWeekdayDay (Inherited from DateFormat)
YearQuarter (Inherited from DateFormat)
YearWoyField
Obsolete.
(Inherited from DateFormat)

Properties

Calendar (Inherited from DateFormat)
CalendarLenient (Inherited from DateFormat)
Class

Returns the runtime class of this Object.

(Inherited from Object)
DateFormatSymbols
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Lenient (Inherited from DateFormat)
NumberFormat (Inherited from DateFormat)
PeerReference (Inherited from Object)
Symbols
ThresholdClass
ThresholdType
TimeZone (Inherited from DateFormat)
TimeZoneFormat

Methods

ApplyLocalizedPattern(String)
ApplyPattern(String)
Clone()

Creates and returns a copy of this object.

(Inherited from _Format)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Format(Calendar, StringBuffer, FieldPosition)
Format(Date) (Inherited from DateFormat)
Format(Date, StringBuffer, FieldPosition) (Inherited from DateFormat)
Format(Object)

Formats an object to produce a string.

(Inherited from _Format)
Format(Object, StringBuffer, FieldPosition) (Inherited from DateFormat)
FormatToCharacterIterator(Object)

Formats an Object producing an AttributedCharacterIterator.

(Inherited from _Format)
Get2DigitYearStart()
GetBooleanAttribute(DateFormat+BooleanAttribute) (Inherited from DateFormat)
GetContext(DisplayContext+Type) (Inherited from DateFormat)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetNumberFormat(Char)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
MatchQuarterString(String, Int32, Int32, String[], Calendar)
MatchString(String, Int32, Int32, String[], Calendar)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Parse(String) (Inherited from DateFormat)
Parse(String, Calendar, ParsePosition)
Parse(String, ParsePosition) (Inherited from DateFormat)
ParseObject(String)

Parses text from the beginning of the given string to produce an object.

(Inherited from _Format)
ParseObject(String, ParsePosition) (Inherited from DateFormat)
PatternCharToDateFormatField(Char)
Set2DigitYearStart(Date)
SetBooleanAttribute(DateFormat+BooleanAttribute, Boolean) (Inherited from DateFormat)
SetContext(DisplayContext) (Inherited from DateFormat)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetNumberFormat(String, NumberFormat)
SubFormat(Char, Int32, Int32, FieldPosition, DateFormatSymbols, Calendar)
SubParse(String, Int32, Char, Int32, Boolean, Boolean, Boolean[], Calendar)
ToArray<T>() (Inherited from Object)
ToLocalizedPattern()
ToPattern()
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
ZeroPaddingNumber(Int64, Int32, Int32)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to