public function isCapricorn()
    {
        return ($this->month === self::MONTH_DECEMBER) && ($this->day >= 22) && ($this->day <= 30) || ($this->month === self::MONTH_JANUARY) && ($this->day <= 20);
    }
public function isCapricorn()
    {
        return ($this->month === self::MONTH_DECEMBER) && ($this->day >= 22) && ($this->day <= 30) || ($this->month === self::MONTH_JANUARY) && ($this->day <= 20);
    }
public function isCapricorn ( ) { return ( $ this -> month === self :: MONTH_DECEMBER ) && ( $ this -> day >= 22 ) && ( $ this -> day <= 30 ) || ( $ this -> month === self :: MONTH_JANUARY ) && ( $ this -> day <= 20 ) ; }
Checks whether the sign is Capricorn

@return boolean
Checks whether the sign is Capricorn