@Override public Verse createStartVerse(Versification v11n, VerseRange verseRangeBasis, String[] parts) throws NoSuchVerseException { BibleBook book = v11n.getBook(parts[0]); int chapter = getChapter(v11n, book, parts[1]); int verse = 0; // chapter > 0 ? 1 : 0; // 0 ? return new Verse(v11n, book, chapter, verse); }
@Override public Verse createEndVerse(Versification v11n, Verse verseBasis, String[] endParts) throws NoSuchVerseException { // Very similar to the start verse but we want the end of the chapter BibleBook book = v11n.getBook(endParts[0]); int chapter = getChapter(v11n, book, endParts[1]); int verse = v11n.getLastVerse(book, chapter); return new Verse(v11n, book, chapter, verse); } },