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 as published by
5    * the Free Software Foundation. This program is distributed in the hope
6    * that it will be useful, but WITHOUT ANY WARRANTY; without even the
7    * 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 it's authors.
19   *
20   * ID: $Id: SystemNRSV.java 2223 2012-01-26 21:28:02Z dmsmith $
21   */
22  package org.crosswire.jsword.versification.system;
23  
24  import org.crosswire.jsword.versification.BibleBook;
25  import org.crosswire.jsword.versification.Versification;
26  
27  /**
28   * The NRSV Versification is nearly the same as the KJV versification.
29   * It differs in that 3 John has 15 verses not 14 and Revelation 12
30   * has 18 verses not 17.
31   *
32   * @see gnu.lgpl.License for license details.<br>
33   *      The copyright to this program is held by it's authors.
34   * @author DM Smith [dmsmith555 at yahoo dot com]
35   */
36  public class SystemNRSV extends Versification {
37      /**
38       * Build the "NRSV" Versification.
39       */
40      /* protected */ SystemNRSV() {
41          super(V11N_NAME, BOOKS_OT, BOOKS_NT, LAST_VERSE_OT, LAST_VERSE_NT);
42      }
43  
44      public static final String V11N_NAME = "NRSV";
45      /* protected */ static final BibleBook[] BOOKS_NT = SystemDefault.BOOKS_NT;
46  
47      /* protected */ static final int[][] LAST_VERSE_NT =
48      {
49          // Matt
50          {
51                 25,    23,    17,    25,    48,    34,    29,    34,    38,
52                 42,    30,    50,    58,    36,    39,    28,    27,    35,    30,
53                 34,    46,    46,    39,    51,    46,    75,    66,    20,
54          },
55          // Mark
56          {
57                 45,    28,    35,    41,    43,    56,    37,    38,    50,
58                 52,    33,    44,    37,    72,    47,    20,
59          },
60          // Luke
61          {
62                 80,    52,    38,    44,    39,    49,    50,    56,    62,
63                 42,    54,    59,    35,    35,    32,    31,    37,    43,    48,
64                 47,    38,    71,    56,    53,
65          },
66          // John
67          {
68                 51,    25,    36,    54,    47,    71,    53,    59,    41,
69                 42,    57,    50,    38,    31,    27,    33,    26,    40,    42,
70                 31,    25,
71          },
72          // Acts
73          {
74                 26,    47,    26,    37,    42,    15,    60,    40,    43,
75                 48,    30,    25,    52,    28,    41,    40,    34,    28,    41,
76                 38,    40,    30,    35,    27,    27,    32,    44,    31,
77          },
78          // Rom
79          {
80                 32,    29,    31,    25,    21,    23,    25,    39,    33,
81                 21,    36,    21,    14,    23,    33,    27,
82          },
83          // 1Cor
84          {
85                 31,    16,    23,    21,    13,    20,    40,    13,    27,
86                 33,    34,    31,    13,    40,    58,    24,
87          },
88          // 2Cor
89          {
90                 24,    17,    18,    18,    21,    18,    16,    24,    15,
91                 18,    33,    21,    14,
92          },
93          // Gal
94          {
95                 24,    21,    29,    31,    26,    18,
96          },
97          // Eph
98          {
99                 23,    22,    21,    32,    33,    24,
100         },
101         // Phil
102         {
103                30,    30,    21,    23,
104         },
105         // Col
106         {
107                29,    23,    25,    18,
108         },
109         // 1Thess
110         {
111                10,    20,    13,    18,    28,
112         },
113         // 2Thess
114         {
115                12,    17,    18,
116         },
117         // 1Tim
118         {
119                20,    15,    16,    16,    25,    21,
120         },
121         // 2Tim
122         {
123                18,    26,    17,    22,
124         },
125         // Titus
126         {
127                16,    15,    15,
128         },
129         // Phlm
130         {
131                25,
132         },
133         // Heb
134         {
135                14,    18,    19,    16,    14,    20,    28,    13,    28,
136                39,    40,    29,    25,
137         },
138         // Jas
139         {
140                27,    26,    18,    17,    20,
141         },
142         // 1Pet
143         {
144                25,    25,    22,    19,    14,
145         },
146         // 2Pet
147         {
148                21,    22,    18,
149         },
150         // 1John
151         {
152                10,    29,    24,    21,    21,
153         },
154         // 2John
155         {
156                13,
157         },
158         // 3John
159         {
160                15,
161         },
162         // Jude
163         {
164                25,
165         },
166         // Rev
167         {
168                20,    29,    22,    11,    14,    17,    17,    13,    21,
169                11,    19,    18,    18,    20,     8,    21,    18,    24,    21,
170                15,    27,    21,
171         },
172     };
173 
174     /* protected */ static final BibleBook[] BOOKS_OT = SystemDefault.BOOKS_OT;
175     /* protected */ static final int[][] LAST_VERSE_OT = SystemKJV.LAST_VERSE_OT;
176 
177     /**
178      * Serialization ID
179      */
180     private static final long serialVersionUID = 6104112750913219370L;
181 }
182