in reply to Re^2: Check if Date interval contains Hour X
in thread Check if Date interval contains Hour X
The very first thing that came to my mind after reading the OP was the method DateTime::Span::contains. However, yours is the right approach since that method only works for sets that are fully inside, as the manual says.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Check if Date interval contains Hour X
by ikegami (Patriarch) on Jul 23, 2009 at 20:26 UTC | |
by alexm (Chaplain) on Jul 23, 2009 at 21:33 UTC | |
by ikegami (Patriarch) on Jul 23, 2009 at 21:44 UTC | |
by alexm (Chaplain) on Jul 23, 2009 at 22:47 UTC |