共用方式為


GregorianCalendar Class

Definition

[Android.Runtime.Register("android/icu/util/GregorianCalendar", ApiSince=24, DoNotGenerateAcw=true)]
public class GregorianCalendar : Android.Icu.Util.Calendar
[<Android.Runtime.Register("android/icu/util/GregorianCalendar", ApiSince=24, DoNotGenerateAcw=true)>]
type GregorianCalendar = class
    inherit Calendar
Inheritance
GregorianCalendar
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

GregorianCalendar()
GregorianCalendar(Int32, Int32, Int32, Int32, Int32, Int32)
GregorianCalendar(Int32, Int32, Int32, Int32, Int32)
GregorianCalendar(Int32, Int32, Int32)
GregorianCalendar(IntPtr, JniHandleOwnership)
GregorianCalendar(Locale)
GregorianCalendar(TimeZone, Locale)
GregorianCalendar(TimeZone, ULocale)
GregorianCalendar(TimeZone)
GregorianCalendar(ULocale)

Fields

Ad
Am (Inherited from Calendar)
AmPm
Obsolete.
(Inherited from Calendar)
April (Inherited from Calendar)
August (Inherited from Calendar)
BaseFieldCount (Inherited from Calendar)
Bc
Date
Obsolete.
(Inherited from Calendar)
DayOfMonth
Obsolete.
(Inherited from Calendar)
DayOfWeek
Obsolete.
(Inherited from Calendar)
DayOfWeekInMonth
Obsolete.
(Inherited from Calendar)
DayOfYear
Obsolete.
(Inherited from Calendar)
December (Inherited from Calendar)
DowLocal
Obsolete.
(Inherited from Calendar)
DstOffset
Obsolete.
(Inherited from Calendar)
EpochJulianDay (Inherited from Calendar)
Era
Obsolete.
(Inherited from Calendar)
ExtendedYear
Obsolete.
(Inherited from Calendar)
February (Inherited from Calendar)
Friday (Inherited from Calendar)
GreatestMinimum (Inherited from Calendar)
Hour
Obsolete.
(Inherited from Calendar)
HourOfDay
Obsolete.
(Inherited from Calendar)
InternallySet (Inherited from Calendar)
IsLeapMonth (Inherited from Calendar)
Jan11JulianDay (Inherited from Calendar)
January (Inherited from Calendar)
JulianDay
Obsolete.
(Inherited from Calendar)
July (Inherited from Calendar)
June (Inherited from Calendar)
LeastMaximum (Inherited from Calendar)
March (Inherited from Calendar)
MaxFieldCount (Inherited from Calendar)
Maximum (Inherited from Calendar)
MaxJulian (Inherited from Calendar)
MaxMillis (Inherited from Calendar)
May (Inherited from Calendar)
Millisecond
Obsolete.
(Inherited from Calendar)
MillisecondsInDay
Obsolete.
(Inherited from Calendar)
Minimum (Inherited from Calendar)
MinimumUserStamp (Inherited from Calendar)
MinJulian (Inherited from Calendar)
MinMillis (Inherited from Calendar)
Minute
Obsolete.
(Inherited from Calendar)
Monday (Inherited from Calendar)
Month
Obsolete.
(Inherited from Calendar)
November (Inherited from Calendar)
October (Inherited from Calendar)
OneDay (Inherited from Calendar)
OneHour (Inherited from Calendar)
OneMinute (Inherited from Calendar)
OneSecond (Inherited from Calendar)
OneWeek (Inherited from Calendar)
Pm (Inherited from Calendar)
ResolveRemap (Inherited from Calendar)
Saturday (Inherited from Calendar)
Second
Obsolete.
(Inherited from Calendar)
September (Inherited from Calendar)
Sunday (Inherited from Calendar)
Thursday (Inherited from Calendar)
Tuesday (Inherited from Calendar)
Undecimber (Inherited from Calendar)
Unset (Inherited from Calendar)
WalltimeFirst
Obsolete.
(Inherited from Calendar)
WalltimeLast
Obsolete.
(Inherited from Calendar)
WalltimeNextValid
Obsolete.
(Inherited from Calendar)
Wednesday (Inherited from Calendar)
WeekOfMonth
Obsolete.
(Inherited from Calendar)
WeekOfYear
Obsolete.
(Inherited from Calendar)
Year
Obsolete.
(Inherited from Calendar)
YearWoy
Obsolete.
(Inherited from Calendar)
ZoneOffset
Obsolete.
(Inherited from Calendar)

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
FieldCount (Inherited from Calendar)
FirstDayOfWeek (Inherited from Calendar)
GregorianChange
GregorianDayOfMonth (Inherited from Calendar)
GregorianDayOfYear (Inherited from Calendar)
GregorianMonth (Inherited from Calendar)
GregorianYear (Inherited from Calendar)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
InvertGregorian
IsGregorian
IsWeekend (Inherited from Calendar)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Lenient (Inherited from Calendar)
MinimalDaysInFirstWeek (Inherited from Calendar)
PeerReference (Inherited from Object)
RepeatedWallTimeOption (Inherited from Calendar)
SkippedWallTimeOption (Inherited from Calendar)
ThresholdClass
ThresholdType
Time (Inherited from Calendar)
TimeInMillis (Inherited from Calendar)
TimeZone (Inherited from Calendar)
Type (Inherited from Calendar)

Methods

Add(CalendarField, Int32) (Inherited from Calendar)
After(Object) (Inherited from Calendar)
Before(Object) (Inherited from Calendar)
Clear() (Inherited from Calendar)
Clear(CalendarField) (Inherited from Calendar)
Clone() (Inherited from Calendar)
CompareTo(Calendar) (Inherited from Calendar)
Complete() (Inherited from Calendar)
ComputeFields() (Inherited from Calendar)
ComputeGregorianFields(Int32) (Inherited from Calendar)
ComputeGregorianMonthStart(Int32, Int32) (Inherited from Calendar)
ComputeJulianDay() (Inherited from Calendar)
ComputeMillisInDay() (Inherited from Calendar)
ComputeTime() (Inherited from Calendar)
ComputeZoneOffset(Int64, Int32) (Inherited from Calendar)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

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

(Inherited from Object)
FieldDifference(Date, CalendarField) (Inherited from Calendar)
FieldName(CalendarField) (Inherited from Calendar)
Get(CalendarField) (Inherited from Calendar)
GetActualMaximum(CalendarField) (Inherited from Calendar)
GetActualMinimum(CalendarField) (Inherited from Calendar)
GetDateTimeFormat(DateFormatStyle, Int32, Locale) (Inherited from Calendar)
GetDateTimeFormat(DateFormatStyle, Int32, ULocale) (Inherited from Calendar)
GetDisplayName(Locale) (Inherited from Calendar)
GetDisplayName(ULocale) (Inherited from Calendar)
GetFieldResolutionTable() (Inherited from Calendar)
GetGreatestMinimum(CalendarField) (Inherited from Calendar)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetLeastMaximum(CalendarField) (Inherited from Calendar)
GetLimit(CalendarField, Int32) (Inherited from Calendar)
GetMaximum(CalendarField) (Inherited from Calendar)
GetMinimum(CalendarField) (Inherited from Calendar)
GetStamp(CalendarField) (Inherited from Calendar)
GetWeekData() (Inherited from Calendar)
HandleComputeFields(Int32) (Inherited from Calendar)
HandleComputeJulianDay(Int32) (Inherited from Calendar)
HandleComputeMonthStart(Int32, Int32, Boolean)
HandleCreateFields() (Inherited from Calendar)
HandleGetDateFormat(String, Locale) (Inherited from Calendar)
HandleGetDateFormat(String, String, Locale) (Inherited from Calendar)
HandleGetDateFormat(String, ULocale) (Inherited from Calendar)
HandleGetExtendedYear()
HandleGetLimit(CalendarField, Int32)
HandleGetMonthLength(Int32, Int32) (Inherited from Calendar)
HandleGetYearLength(Int32) (Inherited from Calendar)
InternalGet(CalendarField, Int32) (Inherited from Calendar)
InternalGet(CalendarField) (Inherited from Calendar)
InternalGetTimeInMillis() (Inherited from Calendar)
InternalSet(CalendarField, Int32) (Inherited from Calendar)
InvokeIsWeekend(Date) (Inherited from Calendar)
IsEquivalentTo(Calendar) (Inherited from Calendar)
IsLeapYear(Int32)
IsSet(CalendarField) (Inherited from Calendar)
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)
NewerField(Int32, Int32) (Inherited from Calendar)
NewestStamp(Int32, Int32, Int32) (Inherited from 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)
PinField(CalendarField) (Inherited from Calendar)
PrepareGetActual(CalendarField, Boolean) (Inherited from Calendar)
ResolveFields(Int32[][][]) (Inherited from Calendar)
Roll(CalendarField, Boolean) (Inherited from Calendar)
Roll(CalendarField, Int32) (Inherited from Calendar)
Set(CalendarField, Int32) (Inherited from Calendar)
Set(Int32, Int32, Int32, Int32, Int32, Int32) (Inherited from Calendar)
Set(Int32, Int32, Int32, Int32, Int32) (Inherited from Calendar)
Set(Int32, Int32, Int32) (Inherited from Calendar)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetWeekData(Calendar+WeekData) (Inherited from Calendar)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
ValidateField(CalendarField, Int32, Int32) (Inherited from Calendar)
ValidateField(CalendarField) (Inherited from Calendar)
ValidateFields() (Inherited from Calendar)
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)
WeekNumber(Int32, Int32, Int32) (Inherited from Calendar)
WeekNumber(Int32, Int32) (Inherited from Calendar)

Explicit Interface Implementations

IComparable.CompareTo(Object) (Inherited from Calendar)
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