Class: Edoxen::DateRange

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/edoxen/date_range.rb,
sig/edoxen.rbs

Overview

Start + end pair for multi-day meetings. Both endpoints are Date. Either may be nil for one-sided ranges (theoretically), though the schema enforces both required when DateRange is present.

Instance Attribute Summary collapse

Instance Attribute Details

#endDate? (readonly)

Returns the value of attribute end.

Returns:

  • (Date, nil)


89
90
91
# File 'sig/edoxen.rbs', line 89

def end
  @end
end

#startDate? (readonly)

Returns the value of attribute start.

Returns:

  • (Date, nil)


88
89
90
# File 'sig/edoxen.rbs', line 88

def start
  @start
end