class CalendarEvent::Recurrence
- CalendarEvent::Recurrence
- Reference
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
models/event.crConstructors
- .new(range_start : Time, range_end : Time, interval : Int32 | Nil, pattern, days_of_week : Nil | String = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
-
#days_of_week : String | Nil
"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545
-
#days_of_week=(days_of_week : String | Nil)
"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545
-
#interval : Int32 | Nil
defaults to 1
-
#interval=(interval : Int32 | Nil)
defaults to 1
- #pattern : String
- #pattern=(pattern : String)
- #range_end : Time
- #range_end=(range_end : Time)
- #range_start : Time
- #range_start=(range_start : Time)
Constructor Detail
def self.new(range_start : Time, range_end : Time, interval : Int32 | Nil, pattern, days_of_week : Nil | String = nil)
#
Class Method Detail
Instance Method Detail
def days_of_week : String | Nil
#
"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545
def days_of_week=(days_of_week : String | Nil)
#
"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545