code: def timestamp_to_local_time(timestamp, timezone_name):
      
      # first convert timestamp to UTC
      utc_time = datetime.utcfromtimestamp(float(timestamp))
      delo = Delorean(utc_time, timezone='UTC')
      # shift d according to input timezone
      localized_d = delo.shift(timezone_name)
      return localized_d
docs: Convert epoch timestamp to a localized Delorean datetime object.
  
      Arguments
      ---------
      timestamp : int
          The timestamp to convert.
      timezone_name : datetime.timezone
          The timezone of the desired local time.
  
      Returns
      -------
      delorean.Delorean
          A localized Delorean datetime object.