

def _post_validate_datetime(self, old, new):
    ' Post validate the datetime for the control.\n\n        If it lies outside of minimum and maximum bounds, it will be\n        clipped to the bounds.\n\n        '
    return max(self.minimum, min(old, self.maximum))

dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/bounded_datetime.py BoundedDatetime._post_validate_datetime/VarMisuse@25/90 `new`->`old`