Instance Propertyswift 6.0.3FoundationEssentials
isLeap
- iOS
- 16.4+
- macOS
- 13.3+
- tvOS
- 16.4+
- watchOS
- 9.4+
var isLeap: Bool
var isLeap: Bool
s20FoundationEssentials8CalendarV14RecurrenceRuleV5MonthV6isLeapSbvp
What are these?8381K
import FoundationEssentials
struct Month
Uniquely identifies a month in any calendar system
struct Calendar
Calendar
encapsulates information about systems of reckoning time in which the beginning, length, and divisions of a year are defined. It provides information about the calendar and support for calendrical computations such as determining the range of a given calendrical unit and adding units to a given absolute time.
struct RecurrenceRule
A rule which specifies how often an event should repeat in the future
@frozen struct Bool
A value type whose instances are either true
or false
.
init(_ index: Int, isLeap: Bool = false)
init(from decoder: any Decoder) throws
init(integerLiteral value: Int)
var index: Int
func encode(to encoder: any Encoder) throws
typealias IntegerLiteralType = Int