code: def validate_time_slice(max_period, min_period):
      check_argument(
          max_period in TIME_RESOLUTIONS,
          "max_period {} must be a valid resolution in {}",
          max_period,
          TIME_RESOLUTIONS,
      )
      check_argument(
          min_period in TIME_RESOLUTIONS,
          "min_period {} must be a valid resolution in {}",
          min_period,
          TIME_RESOLUTIONS,
      )
      start = TIME_RESOLUTIONS.index(max_period)
      end = TIME_RESOLUTIONS.index(min_period) + 1
      check_argument(
          start < end,
          "max_period {} must be earlier in sequence {} than min_period {}",
          max_period,
          TIME_RESOLUTIONS,
          min_period,
      )
      return TIME_RESOLUTIONS[start:end]
  
imports: import importlib
  import math
  from typing import TYPE_CHECKING, Any, Literal, Mapping, Optional, Sequence, Tuple, Type, TypeVar, Union
  import numpy
  from hypothesis import strategies
  from hypothesis._settings import note_deprecation
  from hypothesis.errors import HypothesisException, InvalidArgument
  from hypothesis.extra._array_helpers import NDIM_MAX, BasicIndex, BasicIndexStrategy, BroadcastableShapes, Shape, array_shapes, broadcastable_shapes, check_argument, check_valid_dims, mutually_broadcastable_shapes, order_check, valid_tuple_axes
  from hypothesis.internal.conjecture import utils
  from hypothesis.internal.coverage import check_function
  from hypothesis.internal.reflection import proxies
  from hypothesis.internal.validation import check_type
  from hypothesis.strategies._internal.numbers import Real
  from hypothesis.strategies._internal.strategies import Ex, T, check_strategy
  from hypothesis.strategies._internal.utils import defines_strategy
label_desc: Use image node_id 13 for calling a global function with example usage: validate_time_slice(max_period, min_period) and returns: TIME_RESOLUTIONS