/** * Gets the full name or abbriviated name of this weekday * * Gets the full name or abbriviated name of this weekday * * @access public * @param boolean $abbr * abbrivate the name * @return string name of this day */ function getDayName($abbr = false, $length = 3) { if ($abbr) { return Calc::getWeekdayAbbrname($this->day, $this->month, $this->year, $length); } else { return Calc::getWeekdayFullname($this->day, $this->month, $this->year); } }