original_string: public function format(\DateTimeInterface $date)
      {
          if ($date->getOffset() == 0) {
              return $date->format('YmdHis\Z');
          }
          return str_replace(':', '\'', $date->format('YmdHisP')) . '\'';
      }
code: public function format(\DateTimeInterface $date)
      {
          if ($date->getOffset() == 0) {
              return $date->format('YmdHis\Z');
          }
          return str_replace(':', '\'', $date->format('YmdHisP')) . '\'';
      }
code_tokens: public function format ( \ DateTimeInterface $ date ) { if ( $ date -> getOffset ( ) == 0 ) { return $ date -> format ( 'YmdHis\Z' ) ; } return str_replace ( ':' , '\'' , $ date -> format ( 'YmdHisP' ) ) . '\'' ; }
docstring: Formats the date according to the formatting string
  
  @param \DateTimeInterface $date
  
  @return string
docstring_tokens: Formats the date according to the formatting string