Class: Puree::Model::TemporalRange

Inherits:
Structure
  • Object
show all
Defined in:
lib/puree/model/temporal_range.rb

Overview

One or two dates which are part of a date range.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Structure

#data?

Instance Attribute Details

#endTime?

Returns:

  • (Time, nil)


11
12
13
# File 'lib/puree/model/temporal_range.rb', line 11

def end
  @end
end

#startTime?

Returns:

  • (Time, nil)


8
9
10
# File 'lib/puree/model/temporal_range.rb', line 8

def start
  @start
end