Class: DateTime
- Includes:
- Icalendar::TzidSupport
- Defined in:
- lib/icalendar/conversions.rb
Instance Attribute Summary collapse
-
#ical_params ⇒ Object
Returns the value of attribute ical_params.
Attributes included from Icalendar::TzidSupport
Instance Method Summary collapse
Instance Attribute Details
#ical_params ⇒ Object
Returns the value of attribute ical_params.
73 74 75 |
# File 'lib/icalendar/conversions.rb', line 73 def ical_params @ical_params end |
Instance Method Details
#to_ical ⇒ Object
76 77 78 79 80 81 82 83 84 85 |
# File 'lib/icalendar/conversions.rb', line 76 def to_ical s = strftime '%Y%m%dT%H%M%S' # UTC time gets a Z suffix if icalendar_tzid == "UTC" s << "Z" end s end |