original_string: public function setMax(string $max) : Datetime
      {
          $max = date($this->format, strtotime($max));
          $this->attributes['max'] = $max;
          return $this->addTest('max', function ($value) use ($max) {
              return $value <= $max;
          });
      }
code: public function setMax(string $max) : Datetime
      {
          $max = date($this->format, strtotime($max));
          $this->attributes['max'] = $max;
          return $this->addTest('max', function ($value) use ($max) {
              return $value <= $max;
          });
      }
code_tokens: public function setMax ( string $ max ) : Datetime { $ max = date ( $ this -> format , strtotime ( $ max ) ) ; $ this -> attributes [ 'max' ] = $ max ; return $ this -> addTest ( 'max' , function ( $ value ) use ( $ max ) { return $ value <= $ max ; } ) ; }
docstring: Set the maximum datetime.
  
  @param string $max Maximum timestamp. This can be any string parsable by
  PHP's `strtotime`.
  @return Monolyth\Formulaic\Datetime Self
docstring_tokens: Set the maximum datetime .