1   /**
2    * Distribution License:
3    * JSword is free software; you can redistribute it and/or modify it under
4    * the terms of the GNU Lesser General Public License, version 2.1 or later
5    * as published by the Free Software Foundation. This program is distributed
6    * in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
7    * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
8    * See the GNU Lesser General Public License for more details.
9    *
10   * The License is available on the internet at:
11   *      http://www.gnu.org/copyleft/lgpl.html
12   * or by writing to:
13   *      Free Software Foundation, Inc.
14   *      59 Temple Place - Suite 330
15   *      Boston, MA 02111-1307, USA
16   *
17   * © CrossWire Bible Society, 2012 - 2016
18   *
19   */
20  package org.crosswire.jsword.versification.system;
21  
22  import org.crosswire.jsword.versification.BibleBook;
23  import org.crosswire.jsword.versification.Versification;
24  
25  /**
26   * The NRSV Versification is nearly the same as the KJV versification.
27   * It differs in that 3 John has 15 verses not 14 and Revelation 12
28   * has 18 verses not 17.
29   *
30   * @see gnu.lgpl.License The GNU Lesser General Public License for details.
31   * @author DM Smith
32   */
33  public class SystemNRSV extends Versification {
34      /**
35       * Build the "NRSV" Versification.
36       */
37      /* protected */ SystemNRSV() {
38          super(V11N_NAME, BOOKS_OT, BOOKS_NT, LAST_VERSE_OT, LAST_VERSE_NT);
39      }
40  
41      public static final String V11N_NAME = "NRSV";
42  
43      /* protected */ static final BibleBook[] BOOKS_OT = SystemDefault.BOOKS_OT;
44  
45      /* protected */ static final BibleBook[] BOOKS_NT = SystemDefault.BOOKS_NT;
46  
47      /* protected */ static final int[][] LAST_VERSE_OT = SystemKJV.LAST_VERSE_OT;
48  
49      /* protected */ static final int[][] LAST_VERSE_NT =
50      {
51          // Matthew
52          {
53             25,  23,  17,  25,  48,  34,  29,  34,  38,  42,
54             30,  50,  58,  36,  39,  28,  27,  35,  30,  34,
55             46,  46,  39,  51,  46,  75,  66,  20,
56          },
57          // Mark
58          {
59             45,  28,  35,  41,  43,  56,  37,  38,  50,  52,
60             33,  44,  37,  72,  47,  20,
61          },
62          // Luke
63          {
64             80,  52,  38,  44,  39,  49,  50,  56,  62,  42,
65             54,  59,  35,  35,  32,  31,  37,  43,  48,  47,
66             38,  71,  56,  53,
67          },
68          // John
69          {
70             51,  25,  36,  54,  47,  71,  53,  59,  41,  42,
71             57,  50,  38,  31,  27,  33,  26,  40,  42,  31,
72             25,
73          },
74          // Acts
75          {
76             26,  47,  26,  37,  42,  15,  60,  40,  43,  48,
77             30,  25,  52,  28,  41,  40,  34,  28,  41,  38,
78             40,  30,  35,  27,  27,  32,  44,  31,
79          },
80          // Romans
81          {
82             32,  29,  31,  25,  21,  23,  25,  39,  33,  21,
83             36,  21,  14,  23,  33,  27,
84          },
85          // I Corinthians
86          {
87             31,  16,  23,  21,  13,  20,  40,  13,  27,  33,
88             34,  31,  13,  40,  58,  24,
89          },
90          // II Corinthians
91          {
92             24,  17,  18,  18,  21,  18,  16,  24,  15,  18,
93             33,  21,  14,
94          },
95          // Galatians
96          {
97             24,  21,  29,  31,  26,  18,
98          },
99          // Ephesians
100         {
101            23,  22,  21,  32,  33,  24,
102         },
103         // Philippians
104         {
105            30,  30,  21,  23,
106         },
107         // Colossians
108         {
109            29,  23,  25,  18,
110         },
111         // I Thessalonians
112         {
113            10,  20,  13,  18,  28,
114         },
115         // II Thessalonians
116         {
117            12,  17,  18,
118         },
119         // I Timothy
120         {
121            20,  15,  16,  16,  25,  21,
122         },
123         // II Timothy
124         {
125            18,  26,  17,  22,
126         },
127         // Titus
128         {
129            16,  15,  15,
130         },
131         // Philemon
132         {
133            25,
134         },
135         // Hebrews
136         {
137            14,  18,  19,  16,  14,  20,  28,  13,  28,  39,
138            40,  29,  25,
139         },
140         // James
141         {
142            27,  26,  18,  17,  20,
143         },
144         // I Peter
145         {
146            25,  25,  22,  19,  14,
147         },
148         // II Peter
149         {
150            21,  22,  18,
151         },
152         // I John
153         {
154            10,  29,  24,  21,  21,
155         },
156         // II John
157         {
158            13,
159         },
160         // III John
161         {
162            15,
163         },
164         // Jude
165         {
166            25,
167         },
168         // Revelation of John
169         {
170            20,  29,  22,  11,  14,  17,  17,  13,  21,  11,
171            19,  18,  18,  20,   8,  21,  18,  24,  21,  15,
172            27,  21,
173         },
174     };
175 
176     /**
177      * Serialization ID
178      */
179     private static final long serialVersionUID = 6104112750913219370L;
180 }
181