def getDate(self):
        """ returns datetime.date object or None if empty/unparsable by current format"""
        _sdate = self.tbox.getText()
        try:
            return datetime.strptime(_sdate, self.format).date()
        except __HOLE__:
            return None
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/Calendar.py/DateField.getDate