public function asVersionDateTime()
    {
        $this->verifyHasPropertyNameForVersioning(__METHOD__);
        $this->asDateTime();
        $this->definition->optimisticLocking(new DateTimeVersionLockingStrategy($this->propertyName, $this->name));
    }