# File lib/icalendar/conversions.rb, line 110 def to_ical(utc = false) s = "" # 4 digit year s << self.year.to_s # Double digit month s << "0" unless self.month > 9 s << self.month.to_s # Double digit day s << "0" unless self.day > 9 s << self.day.to_s end