original_string: protected function getDateTime($value)
      {
          try {
              if ($this->isTestingRelativeDateTime($value)) {
                  return Date::parse($value);
              }
  
              return new DateTime($value);
          } catch (Exception $e) {
              //
          }
      }
code: protected function getDateTime($value)
      {
          try {
              if ($this->isTestingRelativeDateTime($value)) {
                  return Date::parse($value);
              }
  
              return new DateTime($value);
          } catch (Exception $e) {
              //
          }
      }
code_tokens: protected function getDateTime ( $ value ) { try { if ( $ this -> isTestingRelativeDateTime ( $ value ) ) { return Date :: parse ( $ value ) ; } return new DateTime ( $ value ) ; } catch ( Exception $ e ) { // } }
docstring: Get a DateTime instance from a string with no format.
  
  @param  string $value
  @return \DateTime|null
docstring_tokens: Get a DateTime instance from a string with no format .