Class: RiCal::Component::Journal

Inherits:
RiCal::Component show all
Includes:
OccurrenceEnumerator, Properties::Journal
Defined in:
lib/ri_cal/component/journal.rb

Overview

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

Instance Attribute Summary

Attributes inherited from RiCal::Component

#imported

Class Method Summary collapse

Instance Method Summary collapse

Methods included from OccurrenceEnumerator

#after_range?, #before_range?, #bounded?, #default_duration, #default_start_time, #each, #enumeration_instance, #occurrences, #recurrence, #recurs?, #set_occurrence_properties!, #zulu_occurrence_range

Methods included from Properties::Journal

#==, #add_attach, #add_attachments, #add_attendee, #add_attendees, #add_categories, #add_comment, #add_comments, #add_contact, #add_contacts, #add_date_times_to, #add_exdate, #add_exdates, #add_exrule, #add_exrules, #add_multiple_categories, #add_multiple_related_to, #add_rdate, #add_rdates, #add_related_to, #add_request_status, #add_request_statuses, #add_rrule, #add_rrules, #attach, #attach=, #attach_property, #attach_property=, #attach_property_from_string, #attachments=, #attendee, #attendee=, #attendee_property, #attendee_property=, #attendee_property_from_string, #attendees=, #categories, #categories=, #categories_property, #categories_property=, #categories_property_from_string, #class_property, #class_property=, #class_property_from_string, #comment, #comment=, #comment_property, #comment_property=, #comment_property_from_string, #comments=, #contact, #contact=, #contact_property, #contact_property=, #contact_property_from_string, #contacts=, #created, #created=, #created_property, #created_property=, #created_property_from_string, #description, #description=, #description_property, #description_property=, #description_property_from_string, #dtstamp, #dtstamp=, #dtstamp_property, #dtstamp_property=, #dtstamp_property_from_string, #dtstart, #dtstart=, #dtstart_property, #dtstart_property=, #dtstart_property_from_string, #exdate, #exdate=, #exdate_property, #exdate_property=, #exdate_property_from_string, #exdates=, #export_properties_to, #exrule, #exrule=, #exrule_property, #exrule_property=, #exrule_property_from_string, #exrules=, included, #initialize_copy, #last_modified, #last_modified=, #last_modified_property, #last_modified_property=, #last_modified_property_from_string, #multiple_categories=, #multiple_related_to=, #mutual_exclusion_violation, #organizer, #organizer=, #organizer_property, #organizer_property=, #organizer_property_from_string, #rdate, #rdate=, #rdate_property, #rdate_property=, #rdate_property_from_string, #rdates=, #recurrence_id, #recurrence_id=, #recurrence_id_property, #recurrence_id_property=, #recurrence_id_property_from_string, #related_to, #related_to=, #related_to_property, #related_to_property=, #related_to_property_from_string, #remove_attach, #remove_attachments, #remove_attendee, #remove_attendees, #remove_categories, #remove_comment, #remove_comments, #remove_contact, #remove_contacts, #remove_exdate, #remove_exdates, #remove_exrule, #remove_exrules, #remove_multiple_categories, #remove_multiple_related_to, #remove_rdate, #remove_rdates, #remove_related_to, #remove_request_status, #remove_request_statuses, #remove_rrule, #remove_rrules, #request_status, #request_status=, #request_status_property, #request_status_property=, #request_status_property_from_string, #request_statuses=, #rrule, #rrule=, #rrule_property, #rrule_property=, #rrule_property_from_string, #rrules=, #security_class, #security_class=, #sequence, #sequence=, #sequence_property, #sequence_property=, #sequence_property_from_string, #status, #status=, #status_property, #status_property=, #status_property_from_string, #summary, #summary=, #summary_property, #summary_property=, #summary_property_from_string, #uid, #uid=, #uid_property, #uid_property=, #uid_property_from_string, #url, #url=, #url_property, #url_property=, #url_property_from_string

Methods inherited from RiCal::Component

#add_property_date_times_to, #add_subcomponent, #add_x_property, #alarms, #daylight, #default_tzid, #entity_name, #export, #export_prop_to, #export_subcomponent_to, #export_to, #export_x_properties_to, #find_timezone, from_parser, #imported?, #initialize, #initialize_copy, #last_before_local, #last_before_utc, #last_period, #method_missing, parse, parse_string, #parse_subcomponent, #process_line, #prop_string, #standard, #subcomponent_class, #subcomponents, #time_zone_for, #to_s, #tz_info_source?, #valid?, #x_properties

Constructor Details

This class inherits a constructor from RiCal::Component

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RiCal::Component

Class Method Details

.entity_nameObject

:nodoc:



11
12
13
# File 'lib/ri_cal/component/journal.rb', line 11

def self.entity_name #:nodoc:
  "VJOURNAL"
end

Instance Method Details

#start_timeObject Also known as: finish_time

Return a date_time representing the time at which the event starts



16
17
18
# File 'lib/ri_cal/component/journal.rb', line 16

def start_time
  dtstart.to_datetime
end