def islice(self, start, end):
        """
        Returns a new DateTimeIndex, containing a subslice of the timestamps in this index,
        as specified by the given integer start and end locations.

        Parameters
        ----------
        start : int
            The location of the start of the range, inclusive.
        end : int
            The location of the end of the range, exclusive.
        """
        jdt_index = self._jdt_index.islice(start, end)
        return DateTimeIndex(jdt_index=jdt_index)
Returns a new DateTimeIndex, containing a subslice of the timestamps in this index,
        as specified by the given integer start and end locations.

        Parameters
        ----------
        start : int
            The location of the start of the range, inclusive.
        end : int
            The location of the end of the range, exclusive.