(self)
Will return the expected deadline (or None) for this state calculated
        from datetime.today()
Will return the expected deadline (or None) for this state calculated
        from datetime.today()
Will return the expected deadline ( or None ) for this state calculated from datetime . today ()
def deadline(self):
        """
        Will return the expected deadline (or None) for this state calculated
        from datetime.today()
        """
        if self.estimation_value > 0:
            duration = datetime.timedelta(
                    seconds=(self.estimation_value*self.estimation_unit)
                    )
            return (self._today()+duration)
        else:
            return None
def deadline ( self ) : if self . estimation_value > 0 : duration = datetime . timedelta ( seconds = ( self . estimation_value * self . estimation_unit ) ) return ( self . _today ( ) + duration ) else : return None