public final function formatNamedDate( bool $short = false )
      : string
   {

      if ( $short )
      {
         return \sprintf(
            '%s., %s. %s %d',
            $this->getShortWeekDayName(),
            $this->getDay(),
            $this->getShortMonthName(),
            $this->getYear()
         );
      }

      return \sprintf(
         '%s, %s. %s %d',
         $this->getWeekDayName(),
         $this->getDay(),
         $this->getMonthName(),
         $this->getYear()
      );

   }
public final function formatNamedDate( bool $short = false )
      : string
   {

      if ( $short )
      {
         return \sprintf(
            '%s., %s. %s %d',
            $this->getShortWeekDayName(),
            $this->getDay(),
            $this->getShortMonthName(),
            $this->getYear()
         );
      }

      return \sprintf(
         '%s, %s. %s %d',
         $this->getWeekDayName(),
         $this->getDay(),
         $this->getMonthName(),
         $this->getYear()
      );

   }
public final function formatNamedDate ( bool $ short = false ) : string { if ( $ short ) { return \ sprintf ( '%s., %s. %s %d' , $ this -> getShortWeekDayName ( ) , $ this -> getDay ( ) , $ this -> getShortMonthName ( ) , $ this -> getYear ( ) ) ; } return \ sprintf ( '%s, %s. %s %d' , $ this -> getWeekDayName ( ) , $ this -> getDay ( ) , $ this -> getMonthName ( ) , $ this -> getYear ( ) ) ; }
Formats the current instance to a named date, depending to current used locale.
The output uses long names like  "Montag, 20. Dezember 2030" or short names
like "Mon, 20. Dec 2030"

@param  boolean $short Return names in short notation?
@return string
Formats the current instance to a named date depending to current used locale . The output uses long names like Montag 20 . Dezember 2030 or short names like Mon 20 . Dec 2030