Period\Range::contains
ovgray opened this issue · 3 comments
ovgray commented
Shouldn't this method return true if $date->format('U') == $this->begin->format('U')?
yohang commented
It should, and the same goes for the Range end DateTime, i'll fix that.
ovgray commented
Wait - isn't the idea that a period object represents the period from and including 'begin' to and excluding 'end'?