struct Calendar.RecurrenceRule
イニシャライザ
init(calendar: Calendar, frequency: Calendar.RecurrenceRule.Frequency, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheYear: [Int], daysOfTheMonth: [Int], weeks: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int])
init(from: any Decoder)
インスタンスプロパティ
var calendar: Calendar
var daysOfTheMonth: [Int]
var daysOfTheYear: [Int]
var end: Calendar.RecurrenceRule.End
var frequency: Calendar.RecurrenceRule.Frequency
var hours: [Int]
var interval: Int
var matchingPolicy: Calendar.MatchingPolicy
var minutes: [Int]
var months: [Calendar.RecurrenceRule.Month]
var repeatedTimePolicy: Calendar.RepeatedTimePolicy
var seconds: [Int]
var setPositions: [Int]
var weekdays: [Calendar.RecurrenceRule.Weekday]
var weeks: [Int]
インスタンスメソッド
func encode(to: any Encoder)
func recurrences(of: Date, in: Range<Date>?) -> Sendable & Sequence<Date>
型メソッド
static func daily(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheMonth: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
static func hourly(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheYear: [Int], daysOfTheMonth: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
static func minutely(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheYear: [Int], daysOfTheMonth: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
static func monthly(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheMonth: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
static func weekly(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
static func yearly(calendar: Calendar, interval: Int, end: Calendar.RecurrenceRule.End, matchingPolicy: Calendar.MatchingPolicy, repeatedTimePolicy: Calendar.RepeatedTimePolicy, months: [Calendar.RecurrenceRule.Month], daysOfTheYear: [Int], daysOfTheMonth: [Int], weeks: [Int], weekdays: [Calendar.RecurrenceRule.Weekday], hours: [Int], minutes: [Int], seconds: [Int], setPositions: [Int]) -> Calendar.RecurrenceRule
演算子関数
static func != (Calendar.RecurrenceRule, Calendar.RecurrenceRule) -> Bool
static func == (Calendar.RecurrenceRule, Calendar.RecurrenceRule) -> Bool
構造体
struct Calendar.RecurrenceRule.End
イニシャライザ
init(from: any Decoder)
型プロパティ
static var never: Calendar.RecurrenceRule.End
インスタンスメソッド
func encode(to: any Encoder)
型メソッド
static func afterDate(Date) -> Calendar.RecurrenceRule.End
static func afterOccurrences(Int) -> Calendar.RecurrenceRule.End
演算子関数
static func != (Calendar.RecurrenceRule.End, Calendar.RecurrenceRule.End) -> Bool
static func == (Calendar.RecurrenceRule.End, Calendar.RecurrenceRule.End) -> Bool
struct Calendar.RecurrenceRule.Month
型エイリアス
typealias Calendar.RecurrenceRule.Month.IntegerLiteralType
イニシャライザ
init(Int, isLeap: Bool)
init(from: any Decoder)
init(integerLiteral: Int)
インスタンスプロパティ
var index: Int
var isLeap: Bool
インスタンスメソッド
func encode(to: any Encoder)
演算子関数
static func != (Calendar.RecurrenceRule.Month, Calendar.RecurrenceRule.Month) -> Bool
static func == (Calendar.RecurrenceRule.Month, Calendar.RecurrenceRule.Month) -> Bool
列挙型
enum Calendar.RecurrenceRule.Frequency
型エイリアス
typealias Calendar.RecurrenceRule.Frequency.RawValue
列挙型 Case
case daily
case hourly
case minutely
case monthly
case weekly
case yearly
イニシャライザ
init(from: any Decoder)
init?(rawValue: Int)
インスタンスプロパティ
var hashValue: Int
var rawValue: Int
インスタンスメソッド
func encode(to: any Encoder)
func hash(into: inout Hasher)
演算子関数
static func != (Calendar.RecurrenceRule.Month, Calendar.RecurrenceRule.Month) -> Bool
enum Calendar.RecurrenceRule.Weekday
列挙型 Case
case every(Locale.Weekday)
case nth(Int, Locale.Weekday)
イニシャライザ
init(from: any Decoder)
演算子関数
static func != (Calendar.RecurrenceRule.WeekDay, Calendar.RecurrenceRule.WeekDay) -> Bool
static func == (Calendar.RecurrenceRule.Weekday, Calendar.RecurrenceRule.Weekday) -> Bool