timezone = (new DateTimeZone($timezone))->getName(); DateTimeFormat::setLocalTimeZone($this->timezone); } /** * Get the timezone name */ public function getTimeZone(): string { return $this->timezone; } /** * Set the contact ID */ public function setContactId(int $contact_id): void { $this->contact_id = $contact_id; } /** * Get the contact ID */ public function getContactId(): int { return $this->contact_id; } }