Lines Matching refs:date
13 public function isSatisfiedBy(DateTime $date, $value)
15 return $this->isSatisfied($date->format('i'), $value);
18 public function increment(DateTime $date, $invert = false, $parts = null)
22 $date->modify('-1 minute');
24 $date->modify('+1 minute');
35 $current_minute = $date->format('i');
48 $date->modify(($invert ? '-' : '+') . '1 hour');
49 $date->setTime($date->format('H'), $invert ? 59 : 0);
52 $date->setTime($date->format('H'), $minutes[$position]);