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 it's 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   *
28   *
29   * @see gnu.lgpl.License for license details.<br>
30   *      The copyright to this program is held by it's authors.
31   * @author DM Smith
32   */
33  public class SystemGerman extends Versification {
34      /**
35       * Build the "German" Versification.
36       */
37      /* protected */ SystemGerman() {
38          super(V11N_NAME, BOOKS_OT, BOOKS_NT, LAST_VERSE_OT, LAST_VERSE_NT);
39      }
40  
41      public static final String V11N_NAME = "German";
42      /* protected */ static final BibleBook[] BOOKS_NT = SystemDefault.BOOKS_NT;
43      /* protected */ static final int[][] LAST_VERSE_NT =
44      {
45          // Matthew
46          {
47                 25,    23,    17,    25,    48,    34,    29,    34,    38,
48                 42,    30,    50,    58,    36,    39,    28,    27,    35,    30,
49                 34,    46,    46,    39,    51,    46,    75,    66,    20,
50          },
51          // Mark
52          {
53                 45,    28,    35,    41,    43,    56,    37,    38,    50,
54                 52,    33,    44,    37,    72,    47,    20,
55          },
56          // Luke
57          {
58                 80,    52,    38,    44,    39,    49,    50,    56,    62,
59                 42,    54,    59,    35,    35,    32,    31,    37,    43,    48,
60                 47,    38,    71,    56,    53,
61          },
62          // John
63          {
64                 51,    25,    36,    54,    47,    71,    53,    59,    41,
65                 42,    57,    50,    38,    31,    27,    33,    26,    40,    42,
66                 31,    25,
67          },
68          // Acts
69          {
70                 26,    47,    26,    37,    42,    15,    60,    40,    43,
71                 48,    30,    25,    52,    28,    41,    40,    34,    28,    40,
72                 38,    40,    30,    35,    27,    27,    32,    44,    31,
73          },
74          // Romans
75          {
76                 32,    29,    31,    25,    21,    23,    25,    39,    33,
77                 21,    36,    21,    14,    23,    33,    27,
78          },
79          // I Corinthians
80          {
81                 31,    16,    23,    21,    13,    20,    40,    13,    27,
82                 33,    34,    31,    13,    40,    58,    24,
83          },
84          // II Corinthians
85          {
86                 24,    17,    18,    18,    21,    18,    16,    24,    15,
87                 18,    33,    21,    13,
88          },
89          // Galatians
90          {
91                 24,    21,    29,    31,    26,    18,
92          },
93          // Ephesians
94          {
95                 23,    22,    21,    32,    33,    24,
96          },
97          // Philippians
98          {
99                 30,    30,    21,    23,
100         },
101         // Colossians
102         {
103                29,    23,    25,    18,
104         },
105         // I Thessalonians
106         {
107                10,    20,    13,    18,    28,
108         },
109         // II Thessalonians
110         {
111                12,    17,    18,
112         },
113         // I Timothy
114         {
115                20,    15,    16,    16,    25,    21,
116         },
117         // II Timothy
118         {
119                18,    26,    17,    22,
120         },
121         // Titus
122         {
123                16,    15,    15,
124         },
125         // Philemon
126         {
127                25,
128         },
129         // Hebrews
130         {
131                14,    18,    19,    16,    14,    20,    28,    13,    28,
132                39,    40,    29,    25,
133         },
134         // James
135         {
136                27,    26,    18,    17,    20,
137         },
138         // I Peter
139         {
140                25,    25,    22,    19,    14,
141         },
142         // II Peter
143         {
144                21,    22,    18,
145         },
146         // I John
147         {
148                10,    29,    24,    21,    21,
149         },
150         // II John
151         {
152                13,
153         },
154         // III John
155         {
156                15,
157         },
158         // Jude
159         {
160                25,
161         },
162         // Revelation of John
163         {
164                20,    29,    22,    11,    14,    17,    17,    13,    21,
165                11,    19,    18,    18,    20,     8,    21,    18,    24,    21,
166                15,    27,    21,
167         },
168     };
169 
170     /* protected */ static final BibleBook[] BOOKS_OT = SystemDefault.BOOKS_OT;
171     /* protected */ static final int[][] LAST_VERSE_OT =
172     {
173         // Genesis
174         {
175                31,    25,    24,    26,    32,    22,    24,    22,    29,
176                32,    32,    20,    18,    24,    21,    16,    27,    33,    38,
177                18,    34,    24,    20,    67,    34,    35,    46,    22,    35,
178                43,    54,    33,    20,    31,    29,    43,    36,    30,    23,
179                23,    57,    38,    34,    34,    28,    34,    31,    22,    33,
180                26,
181         },
182         // Exodus
183         {
184                22,    25,    22,    31,    23,    30,    29,    28,    35,
185                29,    10,    51,    22,    31,    27,    36,    16,    27,    25,
186                26,    37,    30,    33,    18,    40,    37,    21,    43,    46,
187                38,    18,    35,    23,    35,    35,    38,    29,    31,    43,
188                38,
189         },
190         // Leviticus
191         {
192                17,    16,    17,    35,    26,    23,    38,    36,    24,
193                20,    47,     8,    59,    57,    33,    34,    16,    30,    37,
194                27,    24,    33,    44,    23,    55,    46,    34,
195         },
196         // Numbers
197         {
198                54,    34,    51,    49,    31,    27,    89,    26,    23,
199                36,    35,    16,    33,    45,    41,    35,    28,    32,    22,
200                29,    35,    41,    30,    25,    19,    65,    23,    31,    39,
201                17,    54,    42,    56,    29,    34,    13,
202         },
203         // Deuteronomy
204         {
205                46,    37,    29,    49,    33,    25,    26,    20,    29,
206                22,    32,    31,    19,    29,    23,    22,    20,    22,    21,
207                20,    23,    29,    26,    22,    19,    19,    26,    69,    28,
208                20,    30,    52,    29,    12,
209         },
210         // Joshua
211         {
212                18,    24,    17,    24,    15,    27,    26,    35,    27,
213                43,    23,    24,    33,    15,    63,    10,    18,    28,    51,
214                 9,    45,    34,    16,    33,
215         },
216         // Judges
217         {
218                36,    23,    31,    24,    31,    40,    25,    35,    57,
219                18,    40,    15,    25,    20,    20,    31,    13,    31,    30,
220                48,    25,
221         },
222         // Ruth
223         {
224                22,    23,    18,    22,
225         },
226         // I Samuel
227         {
228                28,    36,    21,    22,    12,    21,    17,    22,    27,
229                27,    15,    25,    23,    52,    35,    23,    58,    30,    24,
230                42,    16,    23,    28,    23,    44,    25,    12,    25,    11,
231                31,    13,
232         },
233         // II Samuel
234         {
235                27,    32,    39,    12,    25,    23,    29,    18,    13,
236                19,    27,    31,    39,    33,    37,    23,    29,    32,    44,
237                26,    22,    51,    39,    25,
238         },
239         // I Kings
240         {
241                53,    46,    28,    20,    32,    38,    51,    66,    28,
242                29,    43,    33,    34,    31,    34,    34,    24,    46,    21,
243                43,    29,    54,
244         },
245         // II Kings
246         {
247                18,    25,    27,    44,    27,    33,    20,    29,    37,
248                36,    20,    22,    25,    29,    39,    20,    41,    37,    37,
249                21,    26,    20,    37,    20,    30,
250         },
251         // I Chronicles
252         {
253                54,    55,    24,    43,    41,    66,    40,    40,    44,
254                14,    47,    41,    14,    17,    29,    43,    27,    17,    19,
255                 8,    30,    19,    32,    31,    31,    32,    34,    21,    30,
256         },
257         // II Chronicles
258         {
259                18,    17,    17,    22,    14,    42,    22,    18,    31,
260                19,    23,    16,    23,    14,    19,    14,    19,    34,    11,
261                37,    20,    12,    21,    27,    28,    23,     9,    27,    36,
262                27,    21,    33,    25,    33,    27,    23,
263         },
264         // Ezra
265         {
266                11,    70,    13,    24,    17,    22,    28,    36,    15,
267                44,
268         },
269         // Nehemiah
270         {
271                11,    20,    38,    17,    19,    19,    73,    18,    37,
272                40,    36,    47,    31,
273         },
274         // Esther
275         {
276                22,    23,    15,    17,    14,    14,    10,    17,    32,
277                 3,
278         },
279         // Job
280         {
281                22,    13,    26,    21,    27,    30,    21,    22,    35,
282                22,    20,    25,    28,    22,    35,    22,    16,    21,    29,
283                29,    34,    30,    17,    25,     6,    14,    23,    28,    25,
284                31,    40,    22,    33,    37,    16,    33,    24,    41,    30,
285                32,    26,    17,
286         },
287         // Psalms
288         {
289                 6,    12,     9,     9,    13,    11,    18,    10,    21,
290                18,     7,     9,     6,     7,     5,    11,    15,    51,    15,
291                10,    14,    32,     6,    10,    22,    12,    14,     9,    11,
292                13,    25,    11,    22,    23,    28,    13,    40,    23,    14,
293                18,    14,    12,     5,    27,    18,    12,    10,    15,    21,
294                23,    21,    11,     7,     9,    24,    14,    12,    12,    18,
295                14,     9,    13,    12,    11,    14,    20,     8,    36,    37,
296                 6,    24,    20,    28,    23,    11,    13,    21,    72,    13,
297                20,    17,     8,    19,    13,    14,    17,     7,    19,    53,
298                17,    16,    16,     5,    23,    11,    13,    12,     9,     9,
299                 5,     8,    29,    22,    35,    45,    48,    43,    14,    31,
300                 7,    10,    10,     9,     8,    18,    19,     2,    29,   176,
301                 7,     8,     9,     4,     8,     5,     6,     5,     6,     8,
302                 8,     3,    18,     3,     3,    21,    26,     9,     8,    24,
303                14,    10,     8,    12,    15,    21,    10,    20,    14,     9,
304                 6,
305         },
306         // Proverbs
307         {
308                33,    22,    35,    27,    23,    35,    27,    36,    18,
309                32,    31,    28,    25,    35,    33,    33,    28,    24,    29,
310                30,    31,    29,    35,    34,    28,    28,    27,    28,    27,
311                33,    31,
312         },
313         // Ecclesiastes
314         {
315                18,    26,    22,    17,    19,    12,    29,    17,    18,
316                20,    10,    14,
317         },
318         // Song of Solomon
319         {
320                17,    17,    11,    16,    16,    12,    14,    14,
321         },
322         // Isaiah
323         {
324                31,    22,    26,     6,    30,    13,    25,    23,    20,
325                34,    16,     6,    22,    32,     9,    14,    14,     7,    25,
326                 6,    17,    25,    18,    23,    12,    21,    13,    29,    24,
327                33,     9,    20,    24,    17,    10,    22,    38,    22,     8,
328                31,    29,    25,    28,    28,    25,    13,    15,    22,    26,
329                11,    23,    15,    12,    17,    13,    12,    21,    14,    21,
330                22,    11,    12,    19,    11,    25,    24,
331         },
332         // Jeremiah
333         {
334                19,    37,    25,    31,    31,    30,    34,    23,    25,
335                25,    23,    17,    27,    22,    21,    21,    27,    23,    15,
336                18,    14,    30,    40,    10,    38,    24,    22,    17,    32,
337                24,    40,    44,    26,    22,    19,    32,    21,    28,    18,
338                16,    18,    22,    13,    30,     5,    28,     7,    47,    39,
339                46,    64,    34,
340         },
341         // Lamentations
342         {
343                22,    22,    66,    22,    22,
344         },
345         // Ezekiel
346         {
347                28,    10,    27,    17,    17,    14,    27,    18,    11,
348                22,    25,    28,    23,    23,     8,    63,    24,    32,    14,
349                44,    37,    31,    49,    27,    17,    21,    36,    26,    21,
350                26,    18,    32,    33,    31,    15,    38,    28,    23,    29,
351                49,    26,    20,    27,    31,    25,    24,    23,    35,
352         },
353         // Daniel
354         {
355                21,    49,    33,    34,    30,    29,    28,    27,    27,
356                21,    45,    13,
357         },
358         // Hosea
359         {
360                 9,    25,     5,    19,    15,    11,    16,    14,    17,
361                15,    11,    15,    15,    10,
362         },
363         // Joel
364         {
365                20,    27,     5,    21,
366         },
367         // Amos
368         {
369                15,    16,    15,    13,    27,    14,    17,    14,    15,
370         },
371         // Obadiah
372         {
373                21,
374         },
375         // Jonah
376         {
377                16,    11,    10,    11,
378         },
379         // Micah
380         {
381                16,    13,    12,    14,    14,    16,    20,
382         },
383         // Nahum
384         {
385                14,    14,    19,
386         },
387         // Habakkuk
388         {
389                17,    20,    19,
390         },
391         // Zephaniah
392         {
393                18,    15,    20,
394         },
395         // Haggai
396         {
397                15,    23,
398         },
399         // Zechariah
400         {
401                17,    17,    10,    14,    11,    15,    14,    23,    17,
402                12,    17,    14,     9,    21,
403         },
404         // Malachi
405         {
406                14,    17,    24,
407         },
408     };
409 
410     /**
411      * Serialization ID
412      */
413     private static final long serialVersionUID = -6921663376948709188L;
414 }
415