to_ical (Time)

    # File lib/icalendar/conversions.rb, line 122
      def to_ical(utc = false)
        s = ""

        # Double digit hour
        s << "0" unless self.hour > 9
        s << self.hour.to_s

        # Double digit minute
        s << "0" unless self.min > 9
        s << self.min.to_s

        # Double digit second
        s << "0" unless self.sec > 9
        s << self.sec.to_s

        # UTC time gets a Z suffix
        if utc
          s << "Z"
        end

        s
      end