def get_date_status(value):
        """
        For date values that are tomorrow, today or yesterday compared to
        present day returns representing string. Otherwise, returns an empty string or overdue string
        if date value is late.
        """
        try:
            value = date(value.year, value.month, value.day)
        except __HOLE__:
            # Passed value wasn't a date object
            ret = ''
        except ValueError:
            # Date arguments out of range
            ret = ''
        delta = value - date.today()
        if delta.days == 0:
            ret = 'today'
        elif delta.days == 1:
            ret = 'tomorrow'
        elif delta.days < 0:
            ret = 'overdue'
        else:
            ret = ''

        return ret
dataset/ETHPy150Open zorna/zorna/zorna/calendars/api.py/get_date_status