Sdílet prostřednictvím


DateTimePatternGenerator Class

Definition

[Android.Runtime.Register("android/icu/text/DateTimePatternGenerator", ApiSince=24, DoNotGenerateAcw=true)]
public class DateTimePatternGenerator : Java.Lang.Object, Android.Icu.Util.IFreezable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/icu/text/DateTimePatternGenerator", ApiSince=24, DoNotGenerateAcw=true)>]
type DateTimePatternGenerator = class
    inherit Object
    interface IFreezable
    interface ICloneable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
DateTimePatternGenerator
Attributes
Implements

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

DateTimePatternGenerator()
DateTimePatternGenerator(IntPtr, JniHandleOwnership)

Fields

Day
DayOfWeekInMonth
DayOfYear
Dayperiod
Era
FractionalSecond
Hour
MatchAllFieldsLength
MatchHourFieldLength
MatchNoOptions
Minute
Month
Quarter
Second
Weekday
WeekOfMonth
WeekOfYear
Year
Zone

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
DateTimeFormat
Decimal
DefaultHourCycle
EmptyInstance
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Instance
IsFrozen
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass
ThresholdType

Methods

AddPattern(String, Boolean, DateTimePatternGenerator+PatternInfo)
Clone()
CloneAsThawed()
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

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

(Inherited from Object)
Freeze()
GetAppendItemFormat(DateTimePatternField)
GetAppendItemName(DateTimePatternField)
GetBaseSkeleton(String)
GetBaseSkeletons(ICollection<String>)
GetBestPattern(String, DateTimePatternMatchOptions)
GetBestPattern(String)
GetFieldDisplayName(Int32, DateTimePatternGenerator+DisplayWidth)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInstance(Locale)
GetInstance(ULocale)
GetSkeleton(String)
GetSkeletons(IDictionary<String,String>)
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)
ReplaceFieldTypes(String, String, DateTimePatternMatchOptions)
ReplaceFieldTypes(String, String)
SetAppendItemFormat(DateTimePatternField, String)
SetAppendItemName(DateTimePatternField, String)
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

IFreezable.CloneAsThawed()
IFreezable.Freeze()
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