class CalendarEvent::Recurrence

Included Modules

Extended Modules

Defined in:

models/event.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(range_start : Time, range_end : Time, interval : Int32 | Nil, pattern, days_of_week : Nil | String = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.recurrence_from_google(recurrence_rule, event) #

[View source]
def self.recurrence_to_google(event_start, recurrence) #

[View source]

Instance Method Detail

def days_of_week : String | Nil #

"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545


[View source]
def days_of_week=(days_of_week : String | Nil) #

"SU" / "MO" / "TU" / "WE" / "TH" / "FR" / "SA" https://tools.ietf.org/html/rfc5545


[View source]
def interval : Int32 | Nil #

defaults to 1


[View source]
def interval=(interval : Int32 | Nil) #

defaults to 1


[View source]
def pattern : String #

[View source]
def pattern=(pattern : String) #

[View source]
def range_end : Time #

[View source]
def range_end=(range_end : Time) #

[View source]
def range_start : Time #

[View source]
def range_start=(range_start : Time) #

[View source]