/** * Checks if the passed in date is the same day as the instance current day. * * @param ChronosInterface $dt The instance to check against. * @return bool */ public function isSameDay(ChronosInterface $dt) { return $this->toDateString() === $dt->toDateString(); }