/** * @return integer */ public function getDay() { return $this->date->getDay(); }
/** * @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()]); }