prescriptionEnd->isBefore($this->guaranteeEnd); } /** @return array */ public function toArray(): array { return [ 'presumption_end' => $this->presumptionEnd->toString(), 'guarantee_end' => $this->guaranteeEnd->toString(), 'prescription_end' => $this->prescriptionEnd->toString(), 'extended' => $this->extended, 'prescription_before_guarantee_end' => $this->prescriptionBeforeGuaranteeEnd(), ]; } }