Sha256: fc45092f1f1cf27f663cb9c90a529ffe71a8a6d515033bd064446df7086ea814

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

module MPXJ
  # Represents a range of hours
  class CalendarHours < Container

    # Retrieve the the start hour
    #
    # @return [Time] start hour
    def from
      get_date_value(attribute_values['from'])
    end

    # Retrieve the the finish hour
    #
    # @return [Time] finish hour
    def to
      get_date_value(attribute_values['to'])
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mpxj-13.9.0 lib/mpxj/calendar_hours.rb
mpxj-13.8.0 lib/mpxj/calendar_hours.rb
mpxj-13.7.0 lib/mpxj/calendar_hours.rb