class_docstr: A domain built directly from an index of sessions.
  
  Mostly useful for testing.
  
  Parameters
  ----------
  sessions : pd.DatetimeIndex
      Sessions to use as output labels for pipelines run on this domain.
  country_code : str
      ISO 3166 country code of equities to be used with this domain.
  data_query_time : datetime.time, optional
      The time of day when data should no longer be considered available for
      a session.
  data_query_date_offset : int, optional
      The number of days to add to the session label before applying the
      ``data_query_time``. This can be used to express that the cutoff time
      for a session falls on a different calendar day from the session label.
class_docstr_tok: ["A","domain","built","directly","from","an","index","of","sessions",".","Mostly","useful","for","testing",".","Parameters","--","--","--","--","--","sessions",":","pd.DatetimeIndex","Sessions","to","use","as","output","labels","for","pipelines","run","on","this","domain",".","country_code",":","str","ISO","3166","country","code","of","equities","to","be","used","with","this","domain",".","data_query_time",":","datetime.time",",","optional","The","time","of","day","when","data","should","no","longer","be","considered","available","for","a","session",".","data_query_date_offset",":","int",",","optional","The","number","of","days","to","add","to","the","session","label","before","applying","the","``","data_query_time","``",".","This","can","be","used","to","express","that","the","cutoff","time","for","a","session","falls","on","a","different","calendar","day","from","the","session","label","."]
code: def country_code(self):
      return self._country_code
  
imports: import datetime
  from textwrap import dedent
  from interface import default, implements, Interface
  import numpy
  import pandas
  import pytz
  from trading_calendars import get_calendar
  from zipline.country import CountryCode
  from zipline.utils.formatting import bulleted_list
  from zipline.utils.input_validation import expect_types, optional
  from zipline.utils.memoize import lazyval
  from zipline.utils.pandas_utils import days_at_time
label_desc: Use image node_id 2 for calling the EquitySessionDomain obj's underlying member method code with example usage: obj.country_code() and returns: self