class_docstr: Display a widget for picking dates.
  
  Parameters
  ----------
  
  value: datetime.date
      The current value of the widget.
  
  disabled: bool
      Whether to disable user changes.
  
  Examples
  --------
  
  >>> import datetime
  >>> import ipywidgets as widgets
  >>> date_pick = widgets.DatePicker()
  >>> date_pick.value = datetime.date(2019, 7, 9)
class_docstr_tok: ["Display","a","widget","for","picking","dates",".","Parameters","--","--","--","--","--","value",":","datetime.date","The","current","value","of","the","widget",".","disabled",":","bool","Whether","to","disable","user","changes",".","Examples","--","--","--","--",">",">",">","import","datetime",">",">",">","import","ipywidgets","as","widgets",">",">",">","date_pick","=","widgets.DatePicker","(",")",">",">",">","date_pick.value","=","datetime.date","(","2019",",","7",",","9",")"]
docstr: Enforce min <= value <= max
docstr_tok: ["Enforce","min","<","=","value","<","=","max"]
code: def _validate_min(self, proposal):
      """Enforce min <= value <= max"""
      min = proposal["value"]
      if min is None:
          return min
      if self.max and min > self.max:
          raise TraitError("Setting min > max")
      if self.value and min > self.value:
          self.value = min
      return min
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/widget_date.py
imports: from .widget_description import DescriptionWidget
  from .valuewidget import ValueWidget
  from .widget import register
  from .widget_core import CoreWidget
  from .trait_types import Date, date_serialization
  from traitlets import Unicode, Bool, Union, CInt, CaselessStrEnum, TraitError, validate
label_desc: Use image node_id 2 for calling the DatePicker obj's underlying member method code with example usage: obj._validate_min(proposal) and returns: min, min