original_string: public function startDay()
      {
          $dateString = sprintf('%04d-%02d-01', $this->year->value(), $this->month);
  
          $datetime = new \DateTime($dateString);
  
          return (int) $datetime->format('N');
      }
code: public function startDay()
      {
          $dateString = sprintf('%04d-%02d-01', $this->year->value(), $this->month);
  
          $datetime = new \DateTime($dateString);
  
          return (int) $datetime->format('N');
      }
code_tokens: public function startDay ( ) { $ dateString = sprintf ( '%04d-%02d-01' , $ this -> year -> value ( ) , $ this -> month ) ; $ datetime = new \ DateTime ( $ dateString ) ; return ( int ) $ datetime -> format ( 'N' ) ; }
docstring: Returns the day of the week that the 1st of this month is on.
  
  @return int
docstring_tokens: Returns the day of the week that the 1st of this month is on .