Exemplo n.º 1
0
 /**
  * We never want to do comparisons on date - therefore we always force the date time to have the same date
  * @param int $year
  * @param int $month
  * @param int $day
  *
  * @return \DateTime
  */
 public function setDate($year, $month, $day)
 {
     return parent::setDate(self::$yearMustAlwaysBe, self::$monthMustAlwaysBe, self::$dayMustAlwaysBe);
 }