Logo Search packages:      
Sourcecode: yokadi version File versions  Download package

def yokadi::db::Recurrence::getNext (   self,
  refDate = None 
)

Return next date of recurrence after given date
@param refDate: reference date used to compute the next occurence of recurrence
@type refDate: datetime
@return: next occurence (datetime)

Definition at line 170 of file db.py.

00170                                    :
        """Return next date of recurrence after given date
        @param refDate: reference date used to compute the next occurence of recurrence
        @type refDate: datetime
        @return: next occurence (datetime)"""
        rr = self.getRrule()
        if refDate is None:
            refDate = datetime.now()
        return rr.after(refDate)

    def __str__(self):


Generated by  Doxygen 1.6.0   Back to index