def _post_setattr_maximum(self, old, new):
        if new < self.minimum:
            self.minimum = new
        if new < self.datetime:
            self.datetime = new

    #--------------------------------------------------------------------------
    # Post Validate Handlers
    #--------------------------------------------------------------------------
Post setattr the maximum datetime.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/bounded_datetime.py/BoundedDatetime._post_setattr_maximum