original_string: public function formatLocalized($format, $encoding = 'UTF-8')
  	{
  		$str = strftime($format, $this->getTimestamp());
  		if ($encoding == 'UTF-8') {
  			$str = utf8_encode($str);
  		}
  		return $str;
  	}
code: public function formatLocalized($format, $encoding = 'UTF-8')
  	{
  		$str = strftime($format, $this->getTimestamp());
  		if ($encoding == 'UTF-8') {
  			$str = utf8_encode($str);
  		}
  		return $str;
  	}
code_tokens: public function formatLocalized ( $ format , $ encoding = 'UTF-8' ) { $ str = strftime ( $ format , $ this -> getTimestamp ( ) ) ; if ( $ encoding == 'UTF-8' ) { $ str = utf8_encode ( $ str ) ; } return $ str ; }
docstring: Returns a string representation according to locale settings.
  
  @link http://php.net/manual/en/function.strftime.php
  @link http://php.net/manual/en/class.datetime.php
  
  @param  string  $format    A format string containing specifiers like <code>%a</code>,
  <code>%B</code> etc.
  @param  string  $encoding  For example 'UTF-8', 'ISO-8859-1'.
  @return string
docstring_tokens: Returns a string representation according to locale settings .