Sha256: 5330b51ebe147acc21c7082eae78bf5d5e880648f59049c86255304560371295
Contents?: true
Size: 885 Bytes
Versions: 1
Compression:
Stored size: 885 Bytes
Contents
module RiCal class Component # A Journal (VJOURNAL) calendar component groups properties describing a journal entry. # Journals may have multiple occurrences # to see the property accessing methods for this class see the RiCal::Properties::Journal module # to see the methods for enumerating occurrences of recurring journals see the RiCal::OccurrenceEnumerator module class Journal < Component include RiCal::Properties::Journal include RiCal::OccurrenceEnumerator def self.entity_name #:nodoc: "VJOURNAL" end # Return a date_time representing the time at which the event starts def start_time dtstart.to_datetime end # Journals take up no calendar time, so the finish time is always the same as the start_time alias_method :finish_time, :start_time end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
friflaj_ri_cal-0.9.0 | lib/ri_cal/component/journal.rb |