setTimestamp($timestamp); return $dt; } else { throw new \InvalidArgumentException('expected integer or null'); } } }