def get_age(self, today):
        a = (self.month, self.day)
        b = (today.month, today.day)
        if a > b:
            return today.year - self.year - 1
        return today.year - self.year


#~ class Warning(Exception):
    #~ """
    #~ An Exception whose message is meant to be
    #~ understandable by the user.
    #~ """

# unmodified copy from http://docs.python.org/library/decimal.html#recipes
Return age in years as integer.
dataset/ETHPy150Open lsaffre/lino/lino/utils/__init__.py/IncompleteDate.get_age