/** * Only for internal use. * * Creates a \DateTime object for $timestamp in the current time zone * * @param int $timestamp * * @return \DateTime */ public function createDateTime($timestamp = null) { return $this->repository->createDateTime($timestamp); }