One Logo Pool Ball
Foundation · IOS API REFERENCE

Calendar.RecurrenceRule.Month

struct · iOS 18.0+ · SDK 27.1

struct Month

Uniquely identifies a month in any calendar system.

Members (6)

init · iOS 18.0+

init

TypeScript
static initIntegerLiteral(value: number): Calendar_RecurrenceRule_Month
Swift declaration
init(integerLiteral value: Int)

Creates an instance initialized to the specified integer value. Do not call this initializer directly. Instead, initialize a variable or constant using an integer literal. For example: let x = 23 In this example, the assignment to the `x` constant calls this integer literal initializer behind the scenes. - Parameter value: The value to create.

get · iOS 18.0+

index

TypeScript
get index(): number
Swift declaration
var index: Int
set · iOS 18.0+

index

TypeScript
set index(value: number)
Swift declaration
var index: Int
get · iOS 18.0+

isLeap

TypeScript
get isLeap(): boolean
Swift declaration
var isLeap: Bool
set · iOS 18.0+

isLeap

TypeScript
set isLeap(value: boolean)
Swift declaration
var isLeap: Bool
init · iOS 18.0+

init

TypeScript
static initIsLeap(index: number, isLeap?: boolean): Calendar_RecurrenceRule_Month
Swift declaration
init(_ index: Int, isLeap: Bool = false)

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →