Пример #1
0
 /**
  * @return integer
  */
 public function getDay()
 {
     return $this->date->getDay();
 }
Пример #2
0
 /**
  * @param integer   $year  The expected year.
  * @param integer   $month The expected month.
  * @param integer   $day   The expected day.
  * @param LocalDate $date  The local date to test.
  */
 protected function assertLocalDateIs($year, $month, $day, LocalDate $date)
 {
     $this->compare([$year, $month, $day], [$date->getYear(), $date->getMonth(), $date->getDay()]);
 }