Implement binary search for ChronologyContainer.getIndexOfItemBeforeOrAt()