View Javadoc
1   package com.opencsv.bean.mocks;
2   
3   import com.opencsv.bean.CsvBindByName;
4   import com.opencsv.bean.CsvBindByPosition;
5   import com.opencsv.bean.CsvDate;
6   import com.opencsv.bean.TemporalTest;
7   
8   import java.time.*;
9   import java.time.chrono.*;
10  import java.time.temporal.Temporal;
11  import java.time.temporal.TemporalAccessor;
12  
13  /**
14   * A test class that should provide full coverage of
15   * {@link java.time.temporal.TemporalAccessor}-based types.
16   *
17   * @see AnnotatedMockBeanFull
18   * @author Andrew Rucker Jones
19   */
20  public class AnnotatedMockBeanTemporal {
21  
22      /**
23       * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
24       * tests.
25       * <p>Used for the following test cases, reading:<ul>
26       * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
27       * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
28       * </ul></p>
29       * <p>Used for the following test cases, writing:<ul>
30       * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
31       * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
32       * <li>Setting an explicit format string but leaving
33       * {@link CsvDate#writeFormatEqualsReadFormat()} {@code true} for dates</li>
34       * </ul></p>
35       */
36      @CsvBindByName
37      @CsvBindByPosition(position = 0)
38      @CsvDate(
39              value = "GGGG yyyy MMMM dd HH mm ss z",
40              writeFormat = "GGGG") // Will be ignored
41      private TemporalAccessor temporalAccessor;
42  
43      /**
44       * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
45       * tests.
46       * <p>Used for the following test cases, reading:<ul>
47       * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
48       * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
49       * </ul></p>
50       * <p>Used for the following test cases, writing:<ul>
51       * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
52       * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
53       * </ul></p>
54       */
55      @CsvBindByName(locale = "de")
56      @CsvBindByPosition(position = 1, locale = "de")
57      @CsvDate("GGGG yyyy MMMM dd HH mm ss z")
58      private TemporalAccessor temporalAccessorLocale;
59  
60      /**
61       * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
62       * tests.
63       * <p>Used for the following test cases, reading:<ul>
64       * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
65       * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
66       * </ul></p>
67       * <p>Used for the following test cases, writing:<ul>
68       * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
69       * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
70       * </ul></p>
71       */
72      @CsvBindByName
73      @CsvBindByPosition(position = 2)
74      @CsvDate(
75              value = "G yyyy MMMM dd HH mm ss z",
76              writeFormatEqualsReadFormat = false,
77              writeFormat = "G yyyy MMMM dd")
78      private ChronoLocalDate chronoLocalDate;
79  
80      /**
81       * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
82       * tests.
83       * <p>Used for the following test cases, reading:<ul>
84       * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
85       * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
86       * </ul></p>
87       * <p>Used for the following test cases, writing:<ul>
88       * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
89       * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
90       * </ul></p>
91       */
92      @CsvBindByName(locale = "de")
93      @CsvBindByPosition(position = 3, locale = "de")
94      @CsvDate(
95              value = "G yyyy MMMM dd HH mm ss z",
96              writeFormatEqualsReadFormat = false,
97              writeFormat = "G yyyy MMMM dd")
98      private ChronoLocalDate chronoLocalDateLocale;
99  
100     /**
101      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
102      * tests.
103      * <p>Used for the following test cases, reading:<ul>
104      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
105      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
106      * </ul></p>
107      * <p>Used for the following test cases, writing:<ul>
108      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
109      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
110      * </ul></p>
111      */
112     @CsvBindByName
113     @CsvBindByPosition(position = 4)
114     @CsvDate(
115             value = "G yyyy MMMM dd HH mm ss z",
116             writeFormatEqualsReadFormat = false,
117             writeFormat = "G yyyy MMMM dd")
118     private LocalDate localDate;
119 
120     /**
121      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
122      * tests.
123      * <p>Used for the following test cases, reading:<ul>
124      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
125      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
126      * </ul></p>
127      * <p>Used for the following test cases, writing:<ul>
128      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
129      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
130      * </ul></p>
131      */
132     @CsvBindByName(locale = "de")
133     @CsvBindByPosition(position = 5, locale = "de")
134     @CsvDate(
135             value = "G yyyy MMMM dd HH mm ss z",
136             writeFormatEqualsReadFormat = false,
137             writeFormat = "G yyyy MMMM dd")
138     private LocalDate localDateLocale;
139 
140     /**
141      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
142      * tests.
143      * <p>Used for the following test cases, reading:<ul>
144      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
145      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
146      * </ul></p>
147      * <p>Used for the following test cases, writing:<ul>
148      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
149      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
150      * </ul></p>
151      */
152     @CsvBindByName
153     @CsvBindByPosition(position = 6)
154     @CsvDate(
155             value = "G yyyy MMMM dd HH mm ss z",
156             writeFormatEqualsReadFormat = false,
157             writeFormat = "G yyyy MMMM dd HH mm ss")
158     private ChronoLocalDateTime<LocalDate> chronoLocalDateTime;
159 
160     /**
161      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
162      * tests.
163      * <p>Used for the following test cases, reading:<ul>
164      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
165      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
166      * </ul></p>
167      * <p>Used for the following test cases, writing:<ul>
168      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
169      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
170      * </ul></p>
171      */
172     @CsvBindByName(locale = "de")
173     @CsvBindByPosition(position = 7, locale = "de")
174     @CsvDate(
175             value = "G yyyy MMMM dd HH mm ss z",
176             writeFormatEqualsReadFormat = false,
177             writeFormat = "G yyyy MMMM dd HH mm ss")
178     private ChronoLocalDateTime<LocalDate> chronoLocalDateTimeLocale;
179 
180     /**
181      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
182      * tests.
183      * <p>Used for the following test cases, reading:<ul>
184      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
185      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
186      * </ul></p>
187      * <p>Used for the following test cases, writing:<ul>
188      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
189      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
190      * </ul></p>
191      */
192     @CsvBindByName
193     @CsvBindByPosition(position = 8)
194     @CsvDate(
195             value = "G yyyy MMMM dd HH mm ss z",
196             writeFormatEqualsReadFormat = false,
197             writeFormat = "G yyyy MMMM dd HH mm ss")
198     private LocalDateTime localDateTime;
199 
200     /**
201      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
202      * tests.
203      * <p>Used for the following test cases, reading:<ul>
204      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
205      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
206      * </ul></p>
207      * <p>Used for the following test cases, writing:<ul>
208      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
209      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
210      * </ul></p>
211      */
212     @CsvBindByName(locale = "de")
213     @CsvBindByPosition(position = 9, locale = "de")
214     @CsvDate(
215             value = "G yyyy MMMM dd HH mm ss z",
216             writeFormatEqualsReadFormat = false,
217             writeFormat = "G yyyy MMMM dd HH mm ss")
218     private LocalDateTime localDateTimeLocale;
219 
220     /**
221      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
222      * tests.
223      * <p>Used for the following test cases, reading:<ul>
224      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
225      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
226      * </ul></p>
227      * <p>Used for the following test cases, writing:<ul>
228      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
229      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
230      * </ul></p>
231      */
232     @CsvBindByName
233     @CsvBindByPosition(position = 10)
234     @CsvDate("G yyyy MMMM dd HH mm ss z")
235     private ChronoZonedDateTime<LocalDate> chronoZonedDateTime;
236 
237     /**
238      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
239      * tests.
240      * <p>Used for the following test cases, reading:<ul>
241      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
242      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
243      * </ul></p>
244      * <p>Used for the following test cases, writing:<ul>
245      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
246      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
247      * </ul></p>
248      */
249     @CsvBindByName(locale = "de")
250     @CsvBindByPosition(position = 11, locale = "de")
251     @CsvDate("G yyyy MMMM dd HH mm ss z")
252     private ChronoZonedDateTime<LocalDate> chronoZonedDateTimeLocale;
253 
254     /**
255      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
256      * tests.
257      * <p>Used for the following test cases, reading:<ul>
258      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
259      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
260      * </ul></p>
261      * <p>Used for the following test cases, writing:<ul>
262      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
263      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
264      * <li>{@link TemporalTest#testBeanInputDoesNotMatchFormatString()}</li>
265      * </ul></p>
266      */
267     @CsvBindByName
268     @CsvBindByPosition(position = 12)
269     @CsvDate("G yyyy MMMM dd HH mm ss z")
270     private Temporal temporal;
271 
272     /**
273      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
274      * tests.
275      * <p>Used for the following test cases, reading:<ul>
276      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
277      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
278      * </ul></p>
279      * <p>Used for the following test cases, writing:<ul>
280      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
281      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
282      * </ul></p>
283      */
284     @CsvBindByName(locale = "de")
285     @CsvBindByPosition(position = 13, locale = "de")
286     @CsvDate("G yyyy MMMM dd HH mm ss z")
287     private Temporal temporalLocale;
288 
289     /**
290      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
291      * tests.
292      * <p>Used for the following test cases, reading:<ul>
293      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
294      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
295      * </ul></p>
296      * <p>Used for the following test cases, writing:<ul>
297      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
298      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
299      * </ul></p>
300      */
301     @CsvBindByName
302     @CsvBindByPosition(position = 14)
303     @CsvDate(
304             value= "G yyyy MMMM dd HH mm ss z",
305             writeFormatEqualsReadFormat = false,
306             writeFormat = "G")
307     private Era era;
308 
309     /**
310      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
311      * tests.
312      * <p>Used for the following test cases, reading:<ul>
313      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
314      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
315      * </ul></p>
316      * <p>Used for the following test cases, writing:<ul>
317      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
318      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
319      * </ul></p>
320      */
321     @CsvBindByName(locale = "de")
322     @CsvBindByPosition(position = 15, locale = "de")
323     @CsvDate(
324             value= "G yyyy MMMM dd HH mm ss z",
325             writeFormatEqualsReadFormat = false,
326             writeFormat = "G")
327     private Era eraLocale;
328 
329     /**
330      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
331      * tests.
332      * <p>Used for the following test cases, reading:<ul>
333      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
334      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
335      * </ul></p>
336      * <p>Used for the following test cases, writing:<ul>
337      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
338      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
339      * </ul></p>
340      */
341     @CsvBindByName
342     @CsvBindByPosition(position = 16)
343     @CsvDate(
344             value= "G yyyy MMMM dd HH mm ss z",
345             writeFormatEqualsReadFormat = false,
346             writeFormat = "G")
347     private IsoEra isoEra;
348 
349     /**
350      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
351      * tests.
352      * <p>Used for the following test cases, reading:<ul>
353      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
354      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
355      * </ul></p>
356      * <p>Used for the following test cases, writing:<ul>
357      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
358      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
359      * </ul></p>
360      */
361     @CsvBindByName(locale = "de")
362     @CsvBindByPosition(position = 17, locale = "de")
363     @CsvDate(
364             value= "G yyyy MMMM dd HH mm ss z",
365             writeFormatEqualsReadFormat = false,
366             writeFormat = "G")
367     private IsoEra isoEraLocale;
368 
369     /**
370      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
371      * tests.
372      * <p>Used for the following test cases, reading:<ul>
373      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
374      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
375      * </ul></p>
376      * <p>Used for the following test cases, writing:<ul>
377      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
378      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
379      * </ul></p>
380      */
381     @CsvBindByName
382     @CsvBindByPosition(position = 18)
383     @CsvDate(
384             value = "G yyyy MMMM dd HH mm ss z",
385             writeFormatEqualsReadFormat = false,
386             writeFormat = "E")
387     private DayOfWeek dayOfWeek;
388 
389     /**
390      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
391      * tests.
392      * <p>Used for the following test cases, reading:<ul>
393      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
394      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
395      * </ul></p>
396      * <p>Used for the following test cases, writing:<ul>
397      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
398      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
399      * </ul></p>
400      */
401     @CsvBindByName(locale = "de")
402     @CsvBindByPosition(position = 19, locale = "de")
403     @CsvDate(
404             value = "G yyyy MMMM dd HH mm ss z",
405             writeFormatEqualsReadFormat = false,
406             writeFormat = "E")
407     private DayOfWeek dayOfWeekLocale;
408 
409     /**
410      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
411      * tests.
412      * <p>Used for the following test cases, reading:<ul>
413      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
414      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
415      * </ul></p>
416      * <p>Used for the following test cases, writing:<ul>
417      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
418      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
419      * </ul></p>
420      */
421     @CsvBindByName
422     @CsvBindByPosition(position = 20)
423     @CsvDate(value = "G yyyy MMMM dd", chronology = "Hijrah-umalqura")
424     private HijrahDate hijrahDate;
425 
426     /**
427      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
428      * tests.
429      * <p>Used for the following test cases, reading:<ul>
430      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
431      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
432      * </ul></p>
433      * <p>Used for the following test cases, writing:<ul>
434      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
435      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
436      * </ul></p>
437      */
438     @CsvBindByName(locale = "de")
439     @CsvBindByPosition(position = 21, locale = "de")
440     @CsvDate(value = "G yyyy MMMM dd", chronology = "Hijrah-umalqura")
441     private HijrahDate hijrahDateLocale;
442 
443     /**
444      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
445      * tests.
446      * <p>Used for the following test cases, reading:<ul>
447      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
448      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
449      * </ul></p>
450      * <p>Used for the following test cases, writing:<ul>
451      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
452      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
453      * </ul></p>
454      */
455     @CsvBindByName
456     @CsvBindByPosition(position = 22)
457     @CsvDate(
458             value = "G yyyy MMMM dd",
459             chronology = "Hijrah-umalqura",
460             writeFormatEqualsReadFormat = false,
461             writeFormat = "G",
462             writeChronologyEqualsReadChronology = false)
463     private HijrahEra hijrahEra;
464 
465     /**
466      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
467      * tests.
468      * <p>Used for the following test cases, reading:<ul>
469      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
470      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
471      * </ul></p>
472      * <p>Used for the following test cases, writing:<ul>
473      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
474      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
475      * </ul></p>
476      */
477     @CsvBindByName(locale = "de")
478     @CsvBindByPosition(position = 23, locale = "de")
479     @CsvDate(
480             value = "G yyyy MMMM dd",
481             chronology = "Hijrah-umalqura",
482             writeFormatEqualsReadFormat = false,
483             writeFormat = "G",
484             writeChronologyEqualsReadChronology = false)
485     private HijrahEra hijrahEraLocale;
486 
487     /**
488      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
489      * tests.
490      * <p>Used for the following test cases, reading:<ul>
491      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
492      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
493      * </ul></p>
494      * <p>Used for the following test cases, writing:<ul>
495      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
496      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
497      * </ul></p>
498      */
499     @CsvBindByName
500     @CsvBindByPosition(position = 24)
501     @CsvDate(
502             value = "G yyyy MMMM dd HH mm ss z",
503             writeFormatEqualsReadFormat = false,
504             writeFormat = "uuuu MMMM dd HH mm ss")
505     private Instant instant;
506 
507     /**
508      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
509      * tests.
510      * <p>Used for the following test cases, reading:<ul>
511      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
512      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
513      * <li>Deriving a chronology from a locale that does not specify a chronology</li>
514      * </ul></p>
515      * <p>Used for the following test cases, writing:<ul>
516      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
517      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
518      * </ul></p>
519      */
520     @CsvBindByName(locale = "ja")
521     @CsvBindByPosition(position = 25, locale = "ja")
522     @CsvDate(
523             value = "G yyyy MMMM dd HH mm ss z",
524             chronology = "",
525             writeFormatEqualsReadFormat = false,
526             writeFormat = "uuuu MMMM dd HH mm ss")
527     private Instant instantLocale;
528 
529     /**
530      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
531      * tests.
532      * <p>Used for the following test cases, reading:<ul>
533      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
534      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
535      * </ul></p>
536      * <p>Used for the following test cases, writing:<ul>
537      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
538      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
539      * </ul></p>
540      */
541     @CsvBindByName
542     @CsvBindByPosition(position = 26)
543     @CsvDate(value = "G yy MMMM dd", chronology = "Japanese")
544     private JapaneseDate japaneseDate;
545 
546     /**
547      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
548      * tests.
549      * <p>Used for the following test cases, reading:<ul>
550      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
551      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
552      * <li>Deriving a chronology from a locale that specifies a chronology, reading</li>
553      * <li>Deriving a chronology from a locale that specifies a chronology, writing</li>
554      * </ul></p>
555      * <p>Used for the following test cases, writing:<ul>
556      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
557      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
558      * </ul></p>
559      */
560     @CsvBindByName(locale = "de-JP-u-ca-japanese")
561     @CsvBindByPosition(position = 27, locale = "de-JP-u-ca-japanese")
562     @CsvDate(
563             value = "G yy MMMM dd",
564             chronology = " ",
565             writeChronologyEqualsReadChronology = false,
566             writeChronology = " ")
567     private JapaneseDate japaneseDateLocale;
568 
569     /**
570      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
571      * tests.
572      * <p>Used for the following test cases, reading:<ul>
573      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
574      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
575      * </ul></p>
576      * <p>Used for the following test cases, writing:<ul>
577      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
578      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
579      * </ul></p>
580      */
581     @CsvBindByName
582     @CsvBindByPosition(position = 28)
583     @CsvDate(
584             value = "G yy MMMM dd",
585             chronology = "Japanese",
586             writeFormatEqualsReadFormat = false,
587             writeFormat = "G",
588             writeChronologyEqualsReadChronology = false)
589     private JapaneseEra japaneseEra;
590 
591     /**
592      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
593      * tests.
594      * <p>Used for the following test cases, reading:<ul>
595      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
596      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
597      * </ul></p>
598      * <p>Used for the following test cases, writing:<ul>
599      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
600      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
601      * </ul></p>
602      */
603     @CsvBindByName(locale = "de")
604     @CsvBindByPosition(position = 29, locale = "de")
605     @CsvDate(
606             value = "G yy MMMM dd",
607             chronology = "Japanese",
608             writeFormatEqualsReadFormat = false,
609             writeFormat = "G",
610             writeChronologyEqualsReadChronology = false)
611     private JapaneseEra japaneseEraLocale;
612 
613     /**
614      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
615      * tests.
616      * <p>Used for the following test cases, reading:<ul>
617      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
618      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
619      * </ul></p>
620      * <p>Used for the following test cases, writing:<ul>
621      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
622      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
623      * </ul></p>
624      */
625     @CsvBindByName
626     @CsvBindByPosition(position = 30)
627     @CsvDate(
628             value= "G yyyy MMMM dd HH mm ss z",
629             writeFormatEqualsReadFormat = false,
630             writeFormat = "HH mm ss")
631     private LocalTime localTime;
632 
633     /**
634      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
635      * tests.
636      * <p>Used for the following test cases, reading:<ul>
637      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
638      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
639      * </ul></p>
640      * <p>Used for the following test cases, writing:<ul>
641      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
642      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
643      * </ul></p>
644      */
645     @CsvBindByName(locale = "de")
646     @CsvBindByPosition(position = 31, locale = "de")
647     @CsvDate(
648             value= "G yyyy MMMM dd HH mm ss z",
649             writeFormatEqualsReadFormat = false,
650             writeFormat = "HH mm ss")
651     private LocalTime localTimeLocale;
652 
653     /**
654      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
655      * tests.
656      * <p>Used for the following test cases, reading:<ul>
657      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
658      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
659      * </ul></p>
660      * <p>Used for the following test cases, writing:<ul>
661      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
662      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
663      * </ul></p>
664      */
665     @CsvBindByName
666     @CsvBindByPosition(position = 32)
667     @CsvDate(value = "G yy MMMM dd", chronology = "Minguo")
668     private MinguoDate minguoDate;
669 
670     /**
671      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
672      * tests.
673      * <p>Used for the following test cases, reading:<ul>
674      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
675      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
676      * </ul></p>
677      * <p>Used for the following test cases, writing:<ul>
678      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
679      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
680      * </ul></p>
681      */
682     @CsvBindByName(locale = "de")
683     @CsvBindByPosition(position = 33, locale = "de")
684     @CsvDate(value = "G yy MMMM dd", chronology = "Minguo")
685     private MinguoDate minguoDateLocale;
686 
687     /**
688      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
689      * tests.
690      * <p>Used for the following test cases, reading:<ul>
691      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
692      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
693      * </ul></p>
694      * <p>Used for the following test cases, writing:<ul>
695      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
696      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
697      * </ul></p>
698      */
699     @CsvBindByName
700     @CsvBindByPosition(position = 34)
701     @CsvDate(
702             value = "G yy MMMM dd",
703             chronology = "Minguo",
704             writeFormatEqualsReadFormat = false,
705             writeFormat = "G",
706             writeChronologyEqualsReadChronology = false)
707     private MinguoEra minguoEra;
708 
709     /**
710      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
711      * tests.
712      * <p>Used for the following test cases, reading:<ul>
713      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
714      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
715      * </ul></p>
716      * <p>Used for the following test cases, writing:<ul>
717      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
718      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
719      * </ul></p>
720      */
721     @CsvBindByName(locale = "de")
722     @CsvBindByPosition(position = 35, locale = "de")
723     @CsvDate(
724             value = "G yy MMMM dd",
725             chronology = "Minguo",
726             writeFormatEqualsReadFormat = false,
727             writeFormat = "G",
728             writeChronologyEqualsReadChronology = false)
729     private MinguoEra minguoEraLocale;
730 
731     /**
732      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
733      * tests.
734      * <p>Used for the following test cases, reading:<ul>
735      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
736      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
737      * </ul></p>
738      * <p>Used for the following test cases, writing:<ul>
739      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
740      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
741      * </ul></p>
742      */
743     @CsvBindByName
744     @CsvBindByPosition(position = 36)
745     @CsvDate(
746             value = "G yyyy MMMM dd HH mm ss z",
747             writeFormatEqualsReadFormat = false,
748             writeFormat = "MMMM")
749     private Month month;
750 
751     /**
752      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
753      * tests.
754      * <p>Used for the following test cases, reading:<ul>
755      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
756      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
757      * </ul></p>
758      * <p>Used for the following test cases, writing:<ul>
759      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
760      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
761      * </ul></p>
762      */
763     @CsvBindByName(locale = "de")
764     @CsvBindByPosition(position = 37, locale = "de")
765     @CsvDate(
766             value = "G yyyy MMMM dd HH mm ss z",
767             writeFormatEqualsReadFormat = false,
768             writeFormat = "MMMM")
769     private Month monthLocale;
770 
771     /**
772      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
773      * tests.
774      * <p>Used for the following test cases, reading:<ul>
775      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
776      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
777      * </ul></p>
778      * <p>Used for the following test cases, writing:<ul>
779      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
780      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
781      * </ul></p>
782      */
783     @CsvBindByName
784     @CsvBindByPosition(position = 38)
785     @CsvDate(
786             value = "G yyyy MMMM dd HH mm ss z",
787             writeFormatEqualsReadFormat = false,
788             writeFormat = "dd")
789     private MonthDay monthDay;
790 
791     /**
792      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
793      * tests.
794      * <p>Used for the following test cases, reading:<ul>
795      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
796      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
797      * </ul></p>
798      * <p>Used for the following test cases, writing:<ul>
799      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
800      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
801      * </ul></p>
802      */
803     @CsvBindByName(locale = "de")
804     @CsvBindByPosition(position = 39, locale = "de")
805     @CsvDate(
806             value = "G yyyy MMMM dd HH mm ss z",
807             writeFormatEqualsReadFormat = false,
808             writeFormat = "dd")
809     private MonthDay monthDayLocale;
810 
811     /**
812      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
813      * tests.
814      * <p>Used for the following test cases, reading:<ul>
815      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
816      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
817      * </ul></p>
818      * <p>Used for the following test cases, writing:<ul>
819      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
820      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
821      * </ul></p>
822      */
823     @CsvBindByName
824     @CsvBindByPosition(position = 40)
825     @CsvDate("uuuu-MMMM-dd'T'HH:mm:ssxxx")
826     private OffsetDateTime offsetDateTime;
827 
828     /**
829      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
830      * tests.
831      * <p>Used for the following test cases, reading:<ul>
832      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
833      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
834      * </ul></p>
835      * <p>Used for the following test cases, writing:<ul>
836      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
837      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
838      * </ul></p>
839      */
840     @CsvBindByName(locale = "de")
841     @CsvBindByPosition(position = 41, locale = "de")
842     @CsvDate("uuuu-MMMM-dd'T'HH:mm:ssxxx")
843     private OffsetDateTime offsetDateTimeLocale;
844 
845     /**
846      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
847      * tests.
848      * <p>Used for the following test cases, reading:<ul>
849      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
850      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
851      * </ul></p>
852      * <p>Used for the following test cases, writing:<ul>
853      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
854      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
855      * </ul></p>
856      */
857     @CsvBindByName
858     @CsvBindByPosition(position = 42)
859     @CsvDate(
860             value = "yyyy-MMMM-dd'T'HH:mm:ssxxx",
861             writeFormatEqualsReadFormat = false,
862             writeFormat = "HH:mm:ssxxx")
863     private OffsetTime offsetTime;
864 
865     /**
866      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
867      * tests.
868      * <p>Used for the following test cases, reading:<ul>
869      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
870      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
871      * </ul></p>
872      * <p>Used for the following test cases, writing:<ul>
873      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
874      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
875      * </ul></p>
876      */
877     @CsvBindByName(locale = "de")
878     @CsvBindByPosition(position = 43, locale = "de")
879     @CsvDate(
880             value = "yyyy-MMMM-dd'T'HH:mm:ssxxx",
881             writeFormatEqualsReadFormat = false,
882             writeFormat = "HH:mm:ssxxx")
883     private OffsetTime offsetTimeLocale;
884 
885     /**
886      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
887      * tests.
888      * <p>Used for the following test cases, reading:<ul>
889      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
890      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
891      * </ul></p>
892      * <p>Used for the following test cases, writing:<ul>
893      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
894      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
895      * </ul></p>
896      */
897     @CsvBindByName
898     @CsvBindByPosition(position = 44)
899     @CsvDate(value = "G yyyy MMMM dd", chronology = "ThaiBuddhist")
900     private ThaiBuddhistDate thaiBuddhistDate;
901 
902     /**
903      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
904      * tests.
905      * <p>Used for the following test cases, reading:<ul>
906      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
907      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
908      * </ul></p>
909      * <p>Used for the following test cases, writing:<ul>
910      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
911      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
912      * </ul></p>
913      */
914     @CsvBindByName(locale = "de")
915     @CsvBindByPosition(position = 45, locale = "de")
916     @CsvDate(value = "G yyyy MMMM dd", chronology = "ThaiBuddhist")
917     private ThaiBuddhistDate thaiBuddhistDateLocale;
918 
919     /**
920      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
921      * tests.
922      * <p>Used for the following test cases, reading:<ul>
923      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
924      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
925      * </ul></p>
926      * <p>Used for the following test cases, writing:<ul>
927      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
928      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
929      * </ul></p>
930      */
931     @CsvBindByName
932     @CsvBindByPosition(position = 46)
933     @CsvDate(
934             value = "G yyyy MMMM dd",
935             chronology = "ThaiBuddhist",
936             writeFormatEqualsReadFormat = false,
937             writeFormat = "G",
938             writeChronologyEqualsReadChronology = false)
939     private ThaiBuddhistEra thaiBuddhistEra;
940 
941     /**
942      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
943      * tests.
944      * <p>Used for the following test cases, reading:<ul>
945      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
946      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
947      * </ul></p>
948      * <p>Used for the following test cases, writing:<ul>
949      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
950      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
951      * </ul></p>
952      */
953     @CsvBindByName(locale = "de")
954     @CsvBindByPosition(position = 47, locale = "de")
955     @CsvDate(
956             value = "G yyyy MMMM dd",
957             chronology = "ThaiBuddhist",
958             writeFormatEqualsReadFormat = false,
959             writeFormat = "G",
960             writeChronologyEqualsReadChronology = false)
961     private ThaiBuddhistEra thaiBuddhistEraLocale;
962 
963     /**
964      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
965      * tests.
966      * <p>Used for the following test cases, reading:<ul>
967      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
968      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
969      * </ul></p>
970      * <p>Used for the following test cases, writing:<ul>
971      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
972      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
973      * </ul></p>
974      */
975     @CsvBindByName
976     @CsvBindByPosition(position = 48)
977     @CsvDate(
978             value = "G yyyy MMMM dd HH mm ss z",
979             writeFormatEqualsReadFormat = false,
980             writeFormat = "yyyy")
981     private Year year;
982 
983     /**
984      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
985      * tests.
986      * <p>Used for the following test cases, reading:<ul>
987      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
988      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
989      * </ul></p>
990      * <p>Used for the following test cases, writing:<ul>
991      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
992      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
993      * </ul></p>
994      */
995     @CsvBindByName(locale = "de")
996     @CsvBindByPosition(position = 49, locale = "de")
997     @CsvDate(
998             value = "G yyyy MMMM dd HH mm ss z",
999             writeFormatEqualsReadFormat = false,
1000             writeFormat = "yyyy")
1001     private Year yearLocale;
1002 
1003     /**
1004      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1005      * tests.
1006      * <p>Used for the following test cases, reading:<ul>
1007      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1008      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1009      * </ul></p>
1010      * <p>Used for the following test cases, writing:<ul>
1011      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1012      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1013      * </ul></p>
1014      */
1015     @CsvBindByName
1016     @CsvBindByPosition(position = 50)
1017     @CsvDate(
1018             value = "G yyyy MMMM dd HH mm ss z",
1019             writeFormatEqualsReadFormat = false,
1020             writeFormat = "yyyy MMMM")
1021     private YearMonth yearMonth;
1022 
1023     /**
1024      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1025      * tests.
1026      * <p>Used for the following test cases, reading:<ul>
1027      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1028      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1029      * </ul></p>
1030      * <p>Used for the following test cases, writing:<ul>
1031      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1032      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1033      * </ul></p>
1034      */
1035     @CsvBindByName(locale = "de")
1036     @CsvBindByPosition(position = 51, locale = "de")
1037     @CsvDate(
1038             value = "G yyyy MMMM dd HH mm ss z",
1039             writeFormatEqualsReadFormat = false,
1040             writeFormat = "yyyy MMMM")
1041     private YearMonth yearMonthLocale;
1042 
1043     /**
1044      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1045      * tests.
1046      * <p>Used for the following test cases, reading:<ul>
1047      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1048      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1049      * </ul></p>
1050      * <p>Used for the following test cases, writing:<ul>
1051      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1052      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1053      * </ul></p>
1054      */
1055     @CsvBindByName
1056     @CsvBindByPosition(position = 52)
1057     @CsvDate(
1058             value = "G yyyy MMMM dd HH mm ss xxx",
1059             writeFormatEqualsReadFormat = false,
1060             writeFormat = "xxx")
1061     private ZoneOffset zoneOffset;
1062 
1063     /**
1064      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1065      * tests.
1066      * <p>Used for the following test cases, reading:<ul>
1067      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1068      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1069      * </ul></p>
1070      * <p>Used for the following test cases, writing:<ul>
1071      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1072      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1073      * </ul></p>
1074      */
1075     @CsvBindByName(locale = "de")
1076     @CsvBindByPosition(position = 53, locale = "de")
1077     @CsvDate(
1078             value = "G yyyy MMMM dd HH mm ss xxx",
1079             writeFormatEqualsReadFormat = false,
1080             writeFormat = "xxx")
1081     private ZoneOffset zoneOffsetLocale;
1082 
1083     /**
1084      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1085      * tests.
1086      * <p>Used for the following test cases, reading:<ul>
1087      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1088      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1089      * </ul></p>
1090      * <p>Used for the following test cases, writing:<ul>
1091      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1092      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1093      * </ul></p>
1094      */
1095     @CsvBindByName
1096     @CsvBindByPosition(position = 54)
1097     @CsvDate(
1098             value = "G yyyy MMMM dd HH mm ss X",
1099             writeChronologyEqualsReadChronology = false,
1100             writeChronology = "Japanese")
1101     private ZonedDateTime zonedDateTime;
1102 
1103     /**
1104      * Field for {@link java.time.temporal.TemporalAccessor}-based annotation
1105      * tests.
1106      * <p>Used for the following test cases, reading:<ul>
1107      * <li>{@link TemporalTest#testReadGoodDataByName()}</li>
1108      * <li>{@link TemporalTest#testReadGoodDataByPosition()} ()}</li>
1109      * </ul></p>
1110      * <p>Used for the following test cases, writing:<ul>
1111      * <li>{@link TemporalTest#testWriteGoodDataByName()}</li>
1112      * <li>{@link TemporalTest#testWriteGoodDataByPosition()}</li>
1113      * </ul></p>
1114      */
1115     @CsvBindByName(locale = "de")
1116     @CsvBindByPosition(position = 55, locale = "de")
1117     @CsvDate(
1118             value = "G yyyy MMMM dd HH mm ss X",
1119             writeChronology = "Japanese") // Will not be used
1120     private ZonedDateTime zonedDateTimeLocale;
1121 
1122     public TemporalAccessor getTemporalAccessor() {
1123         return temporalAccessor;
1124     }
1125 
1126     public void setTemporalAccessor(TemporalAccessor temporalAccessor) {
1127         this.temporalAccessor = temporalAccessor;
1128     }
1129 
1130     public TemporalAccessor getTemporalAccessorLocale() {
1131         return temporalAccessorLocale;
1132     }
1133 
1134     public void setTemporalAccessorLocale(TemporalAccessor temporalAccessorLocale) {
1135         this.temporalAccessorLocale = temporalAccessorLocale;
1136     }
1137 
1138     public ChronoLocalDate getChronoLocalDate() {
1139         return chronoLocalDate;
1140     }
1141 
1142     public void setChronoLocalDate(ChronoLocalDate chronoLocalDate) {
1143         this.chronoLocalDate = chronoLocalDate;
1144     }
1145 
1146     public ChronoLocalDate getChronoLocalDateLocale() {
1147         return chronoLocalDateLocale;
1148     }
1149 
1150     public void setChronoLocalDateLocale(ChronoLocalDate chronoLocalDateLocale) {
1151         this.chronoLocalDateLocale = chronoLocalDateLocale;
1152     }
1153 
1154     public LocalDate getLocalDate() {
1155         return localDate;
1156     }
1157 
1158     public void setLocalDate(LocalDate localDate) {
1159         this.localDate = localDate;
1160     }
1161 
1162     public LocalDate getLocalDateLocale() {
1163         return localDateLocale;
1164     }
1165 
1166     public void setLocalDateLocale(LocalDate localDateLocale) {
1167         this.localDateLocale = localDateLocale;
1168     }
1169 
1170     public ChronoLocalDateTime<LocalDate> getChronoLocalDateTime() {
1171         return chronoLocalDateTime;
1172     }
1173 
1174     public void setChronoLocalDateTime(ChronoLocalDateTime<LocalDate> chronoLocalDateTime) {
1175         this.chronoLocalDateTime = chronoLocalDateTime;
1176     }
1177 
1178     public ChronoLocalDateTime<LocalDate> getChronoLocalDateTimeLocale() {
1179         return chronoLocalDateTimeLocale;
1180     }
1181 
1182     public void setChronoLocalDateTimeLocale(ChronoLocalDateTime<LocalDate> chronoLocalDateTimeLocale) {
1183         this.chronoLocalDateTimeLocale = chronoLocalDateTimeLocale;
1184     }
1185 
1186     public LocalDateTime getLocalDateTime() {
1187         return localDateTime;
1188     }
1189 
1190     public void setLocalDateTime(LocalDateTime localDateTime) {
1191         this.localDateTime = localDateTime;
1192     }
1193 
1194     public LocalDateTime getLocalDateTimeLocale() {
1195         return localDateTimeLocale;
1196     }
1197 
1198     public void setLocalDateTimeLocale(LocalDateTime localDateTimeLocale) {
1199         this.localDateTimeLocale = localDateTimeLocale;
1200     }
1201 
1202     public ChronoZonedDateTime<LocalDate> getChronoZonedDateTime() {
1203         return chronoZonedDateTime;
1204     }
1205 
1206     public void setChronoZonedDateTime(ChronoZonedDateTime<LocalDate> chronoZonedDateTime) {
1207         this.chronoZonedDateTime = chronoZonedDateTime;
1208     }
1209 
1210     public ChronoZonedDateTime<LocalDate> getChronoZonedDateTimeLocale() {
1211         return chronoZonedDateTimeLocale;
1212     }
1213 
1214     public void setChronoZonedDateTimeLocale(ChronoZonedDateTime<LocalDate> chronoZonedDateTimeLocale) {
1215         this.chronoZonedDateTimeLocale = chronoZonedDateTimeLocale;
1216     }
1217 
1218     public Temporal getTemporal() {
1219         return temporal;
1220     }
1221 
1222     public void setTemporal(Temporal temporal) {
1223         this.temporal = temporal;
1224     }
1225 
1226     public Temporal getTemporalLocale() {
1227         return temporalLocale;
1228     }
1229 
1230     public void setTemporalLocale(Temporal temporalLocale) {
1231         this.temporalLocale = temporalLocale;
1232     }
1233 
1234     public Era getEra() {
1235         return era;
1236     }
1237 
1238     public void setEra(Era era) {
1239         this.era = era;
1240     }
1241 
1242     public Era getEraLocale() {
1243         return eraLocale;
1244     }
1245 
1246     public void setEraLocale(Era eraLocale) {
1247         this.eraLocale = eraLocale;
1248     }
1249 
1250     public IsoEra getIsoEra() {
1251         return isoEra;
1252     }
1253 
1254     public void setIsoEra(IsoEra isoEra) {
1255         this.isoEra = isoEra;
1256     }
1257 
1258     public IsoEra getIsoEraLocale() {
1259         return isoEraLocale;
1260     }
1261 
1262     public void setIsoEraLocale(IsoEra isoEraLocale) {
1263         this.isoEraLocale = isoEraLocale;
1264     }
1265 
1266     public DayOfWeek getDayOfWeek() {
1267         return dayOfWeek;
1268     }
1269 
1270     public void setDayOfWeek(DayOfWeek dayOfWeek) {
1271         this.dayOfWeek = dayOfWeek;
1272     }
1273 
1274     public DayOfWeek getDayOfWeekLocale() {
1275         return dayOfWeekLocale;
1276     }
1277 
1278     public void setDayOfWeekLocale(DayOfWeek dayOfWeekLocale) {
1279         this.dayOfWeekLocale = dayOfWeekLocale;
1280     }
1281 
1282     public HijrahDate getHijrahDate() {
1283         return hijrahDate;
1284     }
1285 
1286     public void setHijrahDate(HijrahDate hijrahDate) {
1287         this.hijrahDate = hijrahDate;
1288     }
1289 
1290     public HijrahDate getHijrahDateLocale() {
1291         return hijrahDateLocale;
1292     }
1293 
1294     public void setHijrahDateLocale(HijrahDate hijrahDateLocale) {
1295         this.hijrahDateLocale = hijrahDateLocale;
1296     }
1297 
1298     public HijrahEra getHijrahEra() {
1299         return hijrahEra;
1300     }
1301 
1302     public void setHijrahEra(HijrahEra hijrahEra) {
1303         this.hijrahEra = hijrahEra;
1304     }
1305 
1306     public HijrahEra getHijrahEraLocale() {
1307         return hijrahEraLocale;
1308     }
1309 
1310     public void setHijrahEraLocale(HijrahEra hijrahEraLocale) {
1311         this.hijrahEraLocale = hijrahEraLocale;
1312     }
1313 
1314     public Instant getInstant() {
1315         return instant;
1316     }
1317 
1318     public void setInstant(Instant instant) {
1319         this.instant = instant;
1320     }
1321 
1322     public Instant getInstantLocale() {
1323         return instantLocale;
1324     }
1325 
1326     public void setInstantLocale(Instant instantLocale) {
1327         this.instantLocale = instantLocale;
1328     }
1329 
1330     public JapaneseDate getJapaneseDate() {
1331         return japaneseDate;
1332     }
1333 
1334     public void setJapaneseDate(JapaneseDate japaneseDate) {
1335         this.japaneseDate = japaneseDate;
1336     }
1337 
1338     public JapaneseDate getJapaneseDateLocale() {
1339         return japaneseDateLocale;
1340     }
1341 
1342     public void setJapaneseDateLocale(JapaneseDate japaneseDateLocale) {
1343         this.japaneseDateLocale = japaneseDateLocale;
1344     }
1345 
1346     public JapaneseEra getJapaneseEra() {
1347         return japaneseEra;
1348     }
1349 
1350     public void setJapaneseEra(JapaneseEra japaneseEra) {
1351         this.japaneseEra = japaneseEra;
1352     }
1353 
1354     public JapaneseEra getJapaneseEraLocale() {
1355         return japaneseEraLocale;
1356     }
1357 
1358     public void setJapaneseEraLocale(JapaneseEra japaneseEraLocale) {
1359         this.japaneseEraLocale = japaneseEraLocale;
1360     }
1361 
1362     public LocalTime getLocalTime() {
1363         return localTime;
1364     }
1365 
1366     public void setLocalTime(LocalTime localTime) {
1367         this.localTime = localTime;
1368     }
1369 
1370     public LocalTime getLocalTimeLocale() {
1371         return localTimeLocale;
1372     }
1373 
1374     public void setLocalTimeLocale(LocalTime localTimeLocale) {
1375         this.localTimeLocale = localTimeLocale;
1376     }
1377 
1378     public MinguoDate getMinguoDate() {
1379         return minguoDate;
1380     }
1381 
1382     public void setMinguoDate(MinguoDate minguoDate) {
1383         this.minguoDate = minguoDate;
1384     }
1385 
1386     public MinguoDate getMinguoDateLocale() {
1387         return minguoDateLocale;
1388     }
1389 
1390     public void setMinguoDateLocale(MinguoDate minguoDateLocale) {
1391         this.minguoDateLocale = minguoDateLocale;
1392     }
1393 
1394     public MinguoEra getMinguoEra() {
1395         return minguoEra;
1396     }
1397 
1398     public void setMinguoEra(MinguoEra minguoEra) {
1399         this.minguoEra = minguoEra;
1400     }
1401 
1402     public MinguoEra getMinguoEraLocale() {
1403         return minguoEraLocale;
1404     }
1405 
1406     public void setMinguoEraLocale(MinguoEra minguoEraLocale) {
1407         this.minguoEraLocale = minguoEraLocale;
1408     }
1409 
1410     public Month getMonth() {
1411         return month;
1412     }
1413 
1414     public void setMonth(Month month) {
1415         this.month = month;
1416     }
1417 
1418     public Month getMonthLocale() {
1419         return monthLocale;
1420     }
1421 
1422     public void setMonthLocale(Month monthLocale) {
1423         this.monthLocale = monthLocale;
1424     }
1425 
1426     public MonthDay getMonthDay() {
1427         return monthDay;
1428     }
1429 
1430     public void setMonthDay(MonthDay monthDay) {
1431         this.monthDay = monthDay;
1432     }
1433 
1434     public MonthDay getMonthDayLocale() {
1435         return monthDayLocale;
1436     }
1437 
1438     public void setMonthDayLocale(MonthDay monthDayLocale) {
1439         this.monthDayLocale = monthDayLocale;
1440     }
1441 
1442     public OffsetDateTime getOffsetDateTime() {
1443         return offsetDateTime;
1444     }
1445 
1446     public void setOffsetDateTime(OffsetDateTime offsetDateTime) {
1447         this.offsetDateTime = offsetDateTime;
1448     }
1449 
1450     public OffsetDateTime getOffsetDateTimeLocale() {
1451         return offsetDateTimeLocale;
1452     }
1453 
1454     public void setOffsetDateTimeLocale(OffsetDateTime offsetDateTimeLocale) {
1455         this.offsetDateTimeLocale = offsetDateTimeLocale;
1456     }
1457 
1458     public OffsetTime getOffsetTime() {
1459         return offsetTime;
1460     }
1461 
1462     public void setOffsetTime(OffsetTime offsetTime) {
1463         this.offsetTime = offsetTime;
1464     }
1465 
1466     public OffsetTime getOffsetTimeLocale() {
1467         return offsetTimeLocale;
1468     }
1469 
1470     public void setOffsetTimeLocale(OffsetTime offsetTimeLocale) {
1471         this.offsetTimeLocale = offsetTimeLocale;
1472     }
1473 
1474     public ThaiBuddhistDate getThaiBuddhistDate() {
1475         return thaiBuddhistDate;
1476     }
1477 
1478     public void setThaiBuddhistDate(ThaiBuddhistDate thaiBuddhistDate) {
1479         this.thaiBuddhistDate = thaiBuddhistDate;
1480     }
1481 
1482     public ThaiBuddhistDate getThaiBuddhistDateLocale() {
1483         return thaiBuddhistDateLocale;
1484     }
1485 
1486     public void setThaiBuddhistDateLocale(ThaiBuddhistDate thaiBuddhistDateLocale) {
1487         this.thaiBuddhistDateLocale = thaiBuddhistDateLocale;
1488     }
1489 
1490     public ThaiBuddhistEra getThaiBuddhistEra() {
1491         return thaiBuddhistEra;
1492     }
1493 
1494     public void setThaiBuddhistEra(ThaiBuddhistEra thaiBuddhistEra) {
1495         this.thaiBuddhistEra = thaiBuddhistEra;
1496     }
1497 
1498     public ThaiBuddhistEra getThaiBuddhistEraLocale() {
1499         return thaiBuddhistEraLocale;
1500     }
1501 
1502     public void setThaiBuddhistEraLocale(ThaiBuddhistEra thaiBuddhistEraLocale) {
1503         this.thaiBuddhistEraLocale = thaiBuddhistEraLocale;
1504     }
1505 
1506     public Year getYear() {
1507         return year;
1508     }
1509 
1510     public void setYear(Year year) {
1511         this.year = year;
1512     }
1513 
1514     public Year getYearLocale() {
1515         return yearLocale;
1516     }
1517 
1518     public void setYearLocale(Year yearLocale) {
1519         this.yearLocale = yearLocale;
1520     }
1521 
1522     public YearMonth getYearMonth() {
1523         return yearMonth;
1524     }
1525 
1526     public void setYearMonth(YearMonth yearMonth) {
1527         this.yearMonth = yearMonth;
1528     }
1529 
1530     public YearMonth getYearMonthLocale() {
1531         return yearMonthLocale;
1532     }
1533 
1534     public void setYearMonthLocale(YearMonth yearMonthLocale) {
1535         this.yearMonthLocale = yearMonthLocale;
1536     }
1537 
1538     public ZoneOffset getZoneOffset() {
1539         return zoneOffset;
1540     }
1541 
1542     public void setZoneOffset(ZoneOffset zoneOffset) {
1543         this.zoneOffset = zoneOffset;
1544     }
1545 
1546     public ZoneOffset getZoneOffsetLocale() {
1547         return zoneOffsetLocale;
1548     }
1549 
1550     public void setZoneOffsetLocale(ZoneOffset zoneOffsetLocale) {
1551         this.zoneOffsetLocale = zoneOffsetLocale;
1552     }
1553 
1554     public ZonedDateTime getZonedDateTime() {
1555         return zonedDateTime;
1556     }
1557 
1558     public void setZonedDateTime(ZonedDateTime zonedDateTime) {
1559         this.zonedDateTime = zonedDateTime;
1560     }
1561 
1562     public ZonedDateTime getZonedDateTimeLocale() {
1563         return zonedDateTimeLocale;
1564     }
1565 
1566     public void setZonedDateTimeLocale(ZonedDateTime zonedDateTimeLocale) {
1567         this.zonedDateTimeLocale = zonedDateTimeLocale;
1568     }
1569 }