Returns the last boundary preceding the specified character offset. If the
specified offset equals to the first text boundary, it returns
BreakIterator.DONE
and the iterator's current position is unchanged.
Otherwise, the iterator's current position is set to the returned boundary.
The value returned is always less than the offset or the value
BreakIterator.DONE
.
offset | the character offset to begin scanning. |
BreakIterator.DONE
if the first text boundary is passed in
as the offset.
IllegalArgumentException | if the specified offset is less than the first text boundary or greater than the last text boundary. |
Diagram: BreakIterator