public static function getWeekdayFullname($day = null)
    {
        if ($day === null) {
            $day = new AnDate();
        }
        if ($day instanceof AnDate) {
            $weekday = self::getDayOfWeek($day);
        } elseif (is_int($day)) {
            $weekday = $day;
        }
        $names = self::getWeekDays();
        return $names[$weekday];
    }
public static function getWeekdayFullname($day = null)
    {
        if ($day === null) {
            $day = new AnDate();
        }
        if ($day instanceof AnDate) {
            $weekday = self::getDayOfWeek($day);
        } elseif (is_int($day)) {
            $weekday = $day;
        }
        $names = self::getWeekDays();
        return $names[$weekday];
    }
public static function getWeekdayFullname ( $ day = null ) { if ( $ day === null ) { $ day = new AnDate ( ) ; } if ( $ day instanceof AnDate ) { $ weekday = self :: getDayOfWeek ( $ day ) ; } elseif ( is_int ( $ day ) ) { $ weekday = $ day ; } $ names = self :: getWeekDays ( ) ; return $ names [ $ weekday ] ; }
Returns the full weekday name for the given date

@param   mixed   $day     AnDate or the weekday number (0-6)
@return  string  the full name of the day of the week
Returns the full weekday name for the given date