code: def test_dt_accessor_limited_display_api(self):
      # tznaive
      ser = Series(
          date_range("20130101", periods=5, freq="D"), name="xxx"
      )
      results = get_dir(ser)
      tm.assert_almost_equal(
          results, sorted(set(ok_for_dt + ok_for_dt_methods))
      )
  
      # tzaware
      ser = Series(
          date_range("2015-01-01", "2016-01-01", freq="min"), name="xxx"
      )
      ser = ser.dt.tz_localize("UTC").dt.tz_convert("America/Chicago")
      results = get_dir(ser)
      tm.assert_almost_equal(
          results, sorted(set(ok_for_dt + ok_for_dt_methods))
      )
  
      # Period
      idx = period_range(
          "20130101", periods=5, freq="D", name="xxx"
      ).astype(object)
      with tm.assert_produces_warning(
          FutureWarning, match="Dtype inference"
      ):
          ser = Series(idx)
      results = get_dir(ser)
      tm.assert_almost_equal(
          results, sorted(set(ok_for_period + ok_for_period_methods))
      )
  
imports: import calendar
  from datetime import date, datetime, time
  import locale
  import unicodedata
  import numpy
  import pytest
  import pytz
  from pandas._libs.tslibs.timezones import maybe_get_tz
  from pandas.errors import SettingWithCopyError
  from pandas.core.dtypes.common import is_integer_dtype, is_list_like
  import pandas
  from pandas import DataFrame, DatetimeIndex, Index, Period, PeriodIndex, Series, TimedeltaIndex, date_range, period_range, timedelta_range
  import pandas._testing
  from pandas.core.arrays import DatetimeArray, PeriodArray, TimedeltaArray
label_desc: Use image node_id 7 for calling the TestSeriesDatetimeValues obj's underlying member method code with example usage: obj.test_dt_accessor_limited_display_api() without return types