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   * Copyright: 2012
18   *     The copyright to this program is held by its authors.
19   *
20   */
21  package org.crosswire.jsword.versification.system;
22  
23  import org.crosswire.jsword.versification.BibleBook;
24  import org.crosswire.jsword.versification.Versification;
25  
26  /**
27   * The NRSV Versification is nearly the same as the KJV versification.
28   * It differs in that 3 John has 15 verses not 14 and Revelation 12
29   * has 18 verses not 17.
30   *
31   * @see gnu.lgpl.License The GNU Lesser General Public License for details.
32   * @author DM Smith
33   */
34  public class SystemNRSV extends Versification {
35      /**
36       * Build the "NRSV" Versification.
37       */
38      /* protected */ SystemNRSV() {
39          super(V11N_NAME, BOOKS_OT, BOOKS_NT, LAST_VERSE_OT, LAST_VERSE_NT);
40      }
41  
42      public static final String V11N_NAME = "NRSV";
43  
44      /* protected */ static final BibleBook[] BOOKS_OT = SystemDefault.BOOKS_OT;
45  
46      /* protected */ static final BibleBook[] BOOKS_NT = SystemDefault.BOOKS_NT;
47  
48      /* protected */ static final int[][] LAST_VERSE_OT = SystemKJV.LAST_VERSE_OT;
49  
50      /* protected */ static final int[][] LAST_VERSE_NT =
51      {
52          // Matthew
53          {
54             25,  23,  17,  25,  48,  34,  29,  34,  38,  42,
55             30,  50,  58,  36,  39,  28,  27,  35,  30,  34,
56             46,  46,  39,  51,  46,  75,  66,  20,
57          },
58          // Mark
59          {
60             45,  28,  35,  41,  43,  56,  37,  38,  50,  52,
61             33,  44,  37,  72,  47,  20,
62          },
63          // Luke
64          {
65             80,  52,  38,  44,  39,  49,  50,  56,  62,  42,
66             54,  59,  35,  35,  32,  31,  37,  43,  48,  47,
67             38,  71,  56,  53,
68          },
69          // John
70          {
71             51,  25,  36,  54,  47,  71,  53,  59,  41,  42,
72             57,  50,  38,  31,  27,  33,  26,  40,  42,  31,
73             25,
74          },
75          // Acts
76          {
77             26,  47,  26,  37,  42,  15,  60,  40,  43,  48,
78             30,  25,  52,  28,  41,  40,  34,  28,  41,  38,
79             40,  30,  35,  27,  27,  32,  44,  31,
80          },
81          // Romans
82          {
83             32,  29,  31,  25,  21,  23,  25,  39,  33,  21,
84             36,  21,  14,  23,  33,  27,
85          },
86          // I Corinthians
87          {
88             31,  16,  23,  21,  13,  20,  40,  13,  27,  33,
89             34,  31,  13,  40,  58,  24,
90          },
91          // II Corinthians
92          {
93             24,  17,  18,  18,  21,  18,  16,  24,  15,  18,
94             33,  21,  14,
95          },
96          // Galatians
97          {
98             24,  21,  29,  31,  26,  18,
99          },
100         // Ephesians
101         {
102            23,  22,  21,  32,  33,  24,
103         },
104         // Philippians
105         {
106            30,  30,  21,  23,
107         },
108         // Colossians
109         {
110            29,  23,  25,  18,
111         },
112         // I Thessalonians
113         {
114            10,  20,  13,  18,  28,
115         },
116         // II Thessalonians
117         {
118            12,  17,  18,
119         },
120         // I Timothy
121         {
122            20,  15,  16,  16,  25,  21,
123         },
124         // II Timothy
125         {
126            18,  26,  17,  22,
127         },
128         // Titus
129         {
130            16,  15,  15,
131         },
132         // Philemon
133         {
134            25,
135         },
136         // Hebrews
137         {
138            14,  18,  19,  16,  14,  20,  28,  13,  28,  39,
139            40,  29,  25,
140         },
141         // James
142         {
143            27,  26,  18,  17,  20,
144         },
145         // I Peter
146         {
147            25,  25,  22,  19,  14,
148         },
149         // II Peter
150         {
151            21,  22,  18,
152         },
153         // I John
154         {
155            10,  29,  24,  21,  21,
156         },
157         // II John
158         {
159            13,
160         },
161         // III John
162         {
163            15,
164         },
165         // Jude
166         {
167            25,
168         },
169         // Revelation of John
170         {
171            20,  29,  22,  11,  14,  17,  17,  13,  21,  11,
172            19,  18,  18,  20,   8,  21,  18,  24,  21,  15,
173            27,  21,
174         },
175     };
176 
177     /**
178      * Serialization ID
179      */
180     private static final long serialVersionUID = 6104112750913219370L;
181 }
182