code: def __post_init__(self) -> None:
      if self.min > self.max:
          raise StreamlitAPIException(
              f"The `min_value`, set to {self.min}, shouldn't be larger "
              f"than the `max_value`, set to {self.max}."
          )
  
      if self.value:
          start_value = self.value[0]
          end_value = self.value[-1]
  
          if (start_value < self.min) or (end_value > self.max):
              raise StreamlitAPIException(
                  f"The default `value` of {self.value} "
                  f"must lie between the `min_value` of {self.min} "
                  f"and the `max_value` of {self.max}, inclusively."
              )
  
imports: from __future__ import annotations
  import re
  from dataclasses import dataclass
  from datetime import date, datetime, time, timedelta
  from textwrap import dedent
  from typing import TYPE_CHECKING, Any, List, Literal, Sequence, Tuple, Union, cast, overload
  from dateutil import relativedelta
  from typing_extensions import TypeAlias
  from streamlit.elements.form import current_form_id
  from streamlit.elements.utils import check_callback_rules, check_session_state_rules, get_label_visibility_proto_value
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.DateInput_pb2 import DateInput
  from streamlit.proto.TimeInput_pb2 import TimeInput
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.runtime.scriptrunner import ScriptRunContext, get_script_run_ctx
  from streamlit.runtime.state import WidgetArgs, WidgetCallback, WidgetKwargs, register_widget
  from streamlit.runtime.state.common import compute_widget_id
  from streamlit.type_util import Key, LabelVisibility, maybe_raise_label_warnings, to_key
label_desc: Use image node_id 2 for calling the _DateInputValues obj's underlying member method code with example usage: obj.__post_init__() without return types