Class
Runt::DateRange
In:
lib/runt/daterange.rb
Parent:
Range
DateRange
Based the
range
pattern by Martin Fowler.
Author:
Matthew Lipper
Methods
<=>
empty?
gap
include?
max
min
new
overlap?
to_s
Included Modules
DPrecision
Constants
EMPTY
=
DateRange.new(PDate.day(2004,2,2),PDate.day(2004,2,1))
Attributes
end_expr
[R]
start_expr
[R]
Public Class methods
new
(start_expr, end_expr,exclusive=false)
Public Instance methods
<=>
(other)
empty?
()
gap
(obj)
include?
(obj)
max
()
min
()
overlap?
(obj)
to_s
()
[Validate]