def indexer_at_time(self, time, asof=False):
if asof:<EOL><INDENT>raise NotImplementedError("<STR_LIT>")<EOL><DEDENT>if isinstance(time, str):<EOL><INDENT>from dateutil.parser import parse<EOL>time = parse(time).time()<EOL><DEDENT>if time.tzinfo:<EOL><INDENT>if self.tz is None:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>time_micros = self.tz_convert(time.tzinfo)._get_time_micros()<EOL><DEDENT>else:<EOL><INDENT>time_micros = self._get_time_micros()<EOL><DEDENT>micros = _time_to_micros(time)<EOL>return (micros == time_micros).nonzero()[<NUM_LIT:0>]<EOL>
Return index locations of index values at particular time of day
(e.g. 9:30AM).

Parameters
----------
time : datetime.time or string
    datetime.time or string in appropriate format ("%H:%M", "%H%M",
    "%I:%M%p", "%I%M%p", "%H:%M:%S", "%H%M%S", "%I:%M:%S%p",
    "%I%M%S%p").

Returns
-------
values_at_time : array of integers

See Also
--------
indexer_between_time, DataFrame.at_time