Udostępnij za pośrednictwem


DateFormat Class

Definition

[Android.Runtime.Register("android/icu/text/DateFormat", ApiSince=24, DoNotGenerateAcw=true)]
public abstract class DateFormat : Android.Icu.Text.UFormat
[<Android.Runtime.Register("android/icu/text/DateFormat", ApiSince=24, DoNotGenerateAcw=true)>]
type DateFormat = class
    inherit UFormat
Inheritance
Derived
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

DateFormat()
DateFormat(IntPtr, JniHandleOwnership)

Fields

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

Properties

Calendar
CalendarLenient
Class

Returns the runtime class of this Object.

(Inherited from Object)
DateInstance
DateTimeInstance
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Instance
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Lenient
NumberFormat
PeerReference (Inherited from Object)
ThresholdClass
ThresholdType
TimeInstance
TimeZone

Methods

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, StringBuffer, FieldPosition)
Format(Date)
Format(Object, StringBuffer, FieldPosition)
Format(Object)

Formats an object to produce a string.

(Inherited from _Format)
FormatToCharacterIterator(Object)

Formats an Object producing an AttributedCharacterIterator.

(Inherited from _Format)
GetAvailableLocales()
GetBooleanAttribute(DateFormat+BooleanAttribute)
GetContext(DisplayContext+Type)
GetDateInstance(Calendar, DateFormatStyle, Locale)
GetDateInstance(Calendar, DateFormatStyle, ULocale)
GetDateInstance(Calendar, DateFormatStyle)
GetDateInstance(DateFormatStyle, Locale)
GetDateInstance(DateFormatStyle, ULocale)
GetDateInstance(DateFormatStyle)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32, Locale)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32, ULocale)
GetDateTimeInstance(Calendar, DateFormatStyle, Int32)
GetDateTimeInstance(DateFormatStyle, Int32, Locale)
GetDateTimeInstance(DateFormatStyle, Int32, ULocale)
GetDateTimeInstance(DateFormatStyle, Int32)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInstance(Calendar, Locale)
GetInstance(Calendar, ULocale)
GetInstance(Calendar)
GetInstanceForSkeleton(Calendar, String, Locale)
GetInstanceForSkeleton(Calendar, String, ULocale)
GetInstanceForSkeleton(String, Locale)
GetInstanceForSkeleton(String, ULocale)
GetInstanceForSkeleton(String)
GetPatternInstance(Calendar, String, Locale)
GetPatternInstance(Calendar, String, ULocale)
GetPatternInstance(String, Locale)
GetPatternInstance(String, ULocale)
GetPatternInstance(String)
GetTimeInstance(Calendar, DateFormatStyle, Locale)
GetTimeInstance(Calendar, DateFormatStyle, ULocale)
GetTimeInstance(Calendar, DateFormatStyle)
GetTimeInstance(DateFormatStyle, Locale)
GetTimeInstance(DateFormatStyle, ULocale)
GetTimeInstance(DateFormatStyle)
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)
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, Calendar, ParsePosition)
Parse(String, ParsePosition)
Parse(String)
ParseObject(String, ParsePosition)
ParseObject(String)

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

(Inherited from _Format)
SetBooleanAttribute(DateFormat+BooleanAttribute, Boolean)
SetContext(DisplayContext)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
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, 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)
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)

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