/** * @param HammerTime $otherDate * @return bool */ public function isSameDate(HammerTime $otherDate) { return $this->copy()->startOfDay()->eq($otherDate->copy()->startOfDay()); }
/** * @param HammerTime $otherDate * @return bool */ public function isSameDate(HammerTime $otherDate) { return $this->copy()->startOfDay()->eq($otherDate->copy()->startOfDay()); }