Calendar class winrt Class

Manipulates the representation of a DateTime within a given calendar and clock.

Inheritance
Implemented types
Available extensions

Properties

day int
getter/setter pairoverride
dayOfWeek DayOfWeek
no setteroverride
era int
getter/setter pairoverride
firstDayInThisMonth int
no setteroverride
firstEra int
no setteroverride
firstHourInThisPeriod int
no setteroverride
firstMinuteInThisHour int
no setteroverride
firstMonthInThisYear int
no setteroverride
firstPeriodInThisDay int
no setteroverride
firstSecondInThisMinute int
no setteroverride
firstYearInThisEra int
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
hour int
getter/setter pairoverride
isDaylightSavingTime bool
no setteroverride
languages List<String>
no setteroverride
lastDayInThisMonth int
no setteroverride
lastEra int
no setteroverride
lastHourInThisPeriod int
no setteroverride
lastMinuteInThisHour int
no setteroverride
lastMonthInThisYear int
no setteroverride
lastPeriodInThisDay int
no setteroverride
lastSecondInThisMinute int
no setteroverride
lastYearInThisEra int
no setteroverride
minute int
getter/setter pairoverride
month int
getter/setter pairoverride
nanosecond int
getter/setter pairoverride
numberOfDaysInThisMonth int
no setteroverride
numberOfEras int
no setteroverride
numberOfHoursInThisPeriod int
no setteroverride
numberOfMinutesInThisHour int
no setteroverride
numberOfMonthsInThisYear int
no setteroverride
numberOfPeriodsInThisDay int
no setteroverride
numberOfSecondsInThisMinute int
no setteroverride
numberOfYearsInThisEra int
no setteroverride
numeralSystem String
getter/setter pairoverride
period int
getter/setter pairoverride
ptr Pointer<COMObject>
getter/setter pairinherited
resolvedLanguage String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
getter/setter pairoverride
year int
getter/setter pairoverride

Methods

addDays(int days) → void
override
addEras(int eras) → void
override
addHours(int hours) → void
override
addMinutes(int minutes) → void
override
addMonths(int months) → void
override
addNanoseconds(int nanoseconds) → void
override
addPeriods(int periods) → void
override
addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
addSeconds(int seconds) → void
override
addWeeks(int weeks) → void
override
addYears(int years) → void
override
changeCalendarSystem(String value) → void
override
changeClock(String value) → void
override
changeTimeZone(String timeZoneId) → void
clone() Calendar?
override
compare(Calendar? other) int
override
compareDateTime(DateTime other) int
override
copyTo(Calendar? other) → void
override
dayAsPaddedString(int minDigits) String
override
dayAsString() String
override
dayOfWeekAsFullSoloString() String
override
dayOfWeekAsFullString() String
override
dayOfWeekAsSoloString(int idealLength) String
override
dayOfWeekAsString(int idealLength) String
override
eraAsFullString() String
override
eraAsString(int idealLength) String
override
getCalendarSystem() String
override
getClock() String
override
getDateTime() DateTime
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTimeZone() String
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
hourAsPaddedString(int minDigits) String
override
hourAsString() String
override
minuteAsPaddedString(int minDigits) String
override
minuteAsString() String
override
monthAsFullSoloString() String
override
monthAsFullString() String
override
monthAsNumericString() String
override
monthAsPaddedNumericString(int minDigits) String
override
monthAsSoloString(int idealLength) String
override
monthAsString(int idealLength) String
override
nanosecondAsPaddedString(int minDigits) String
override
nanosecondAsString() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
periodAsFullString() String
override
periodAsString(int idealLength) String
override
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
secondAsPaddedString(int minDigits) String
override
secondAsString() String
override
setDateTime(DateTime value) → void
override
setToMax() → void
override
setToMin() → void
override
setToNow() → void
override
timeZoneAsFullString() String
timeZoneAsString(int idealLength) String
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited
yearAsPaddedString(int minDigits) String
override
yearAsString() String
override
yearAsTruncatedString(int remainingDigits) String
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createCalendar(IIterable<String> languages, String calendar, String clock) Calendar
createCalendarDefaultCalendarAndClock(IIterable<String> languages) Calendar
createCalendarWithTimeZone(IIterable<String> languages, String calendar, String clock, String timeZoneId) Calendar