Class: MPXJ::CalendarHours
- Defined in:
- lib/mpxj/calendar_hours.rb
Overview
Represents a range of hours
Instance Attribute Summary
Attributes inherited from Container
#attribute_values, #parent_project
Instance Method Summary collapse
-
#from ⇒ Time
Retrieve the the start hour.
-
#to ⇒ Time
Retrieve the the finish hour.
Methods inherited from Container
Constructor Details
This class inherits a constructor from MPXJ::Container
Instance Method Details
#from ⇒ Time
Retrieve the the start hour
8 9 10 |
# File 'lib/mpxj/calendar_hours.rb', line 8 def from get_date_value(attribute_values['from']) end |
#to ⇒ Time
Retrieve the the finish hour
15 16 17 |
# File 'lib/mpxj/calendar_hours.rb', line 15 def to get_date_value(attribute_values['to']) end |