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