public function hourly($diff)
    {
        if ($this->daily($diff) && ($diff->d == 0) && (($diff->h == 0) || (($diff->h == 1) && ($diff->i == 0)))) {
            return true;
        }
        return false;
    }
public function hourly($diff)
    {
        if ($this->daily($diff) && ($diff->d == 0) && (($diff->h == 0) || (($diff->h == 1) && ($diff->i == 0)))) {
            return true;
        }
        return false;
    }
public function hourly ( $ diff ) { if ( $ this -> daily ( $ diff ) && ( $ diff -> d == 0 ) && ( ( $ diff -> h == 0 ) || ( ( $ diff -> h == 1 ) && ( $ diff -> i == 0 ) ) ) ) { return true ; } return false ; }
Is date limit by hour
@param DateInterval $diff
@return bool
Is date limit by hour