Upravit

Sdílet prostřednictvím


NSCalendarUnit Enum

Definition

An enumeration whose values specify calendrical units (e.g., seconds, months, eras).

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum NSCalendarUnit
type NSCalendarUnit = 
Inheritance
NSCalendarUnit
Attributes

Fields

Name Value Description
Era 2
Year 4
Month 8
Day 16
Hour 32
Minute 64
Second 128
Week 256

Developers should not use this deprecated field.

Weekday 512
WeekdayOrdinal 1024
Quarter 2048
WeekOfMonth 4096
WeekOfYear 8192
YearForWeakOfYear 16384
Nanosecond 32768
Calendar 1048576
TimeZone 2097152

Applies to