protected function checkDateTime($value, $base = null)
    {
        if (is_null($value)) {
            return $value;
        }

        if (!$value instanceof \DateTimeInterface) {
            return $this->buildDateTimebyString($value, $base);
        } else {
            return $value;
        }
    }