public function getDays($total = false)
    {
        return ($total == true) ? $this->getInterval()->days : $this->getInterval()->d;
    }
public function getDays($total = false)
    {
        return ($total == true) ? $this->getInterval()->days : $this->getInterval()->d;
    }
public function getDays ( $ total = false ) { return ( $ total == true ) ? $ this -> getInterval ( ) -> days : $ this -> getInterval ( ) -> d ; }
Get the number of days.

@param boolean $total Wether the number of days must be the total of days or simply an offset (default).
@return int
Get the number of days .