Skip to content

Instantly share code, notes, and snippets.

@nerdmeeting
nerdmeeting / ConverterDateAndJavaTime.java
Created December 15, 2020 21:54 — forked from ammmze/ConverterDateAndJavaTime.java
opencsv HeaderColumnNameAndOrderMappingStrategy
package com.example.csv;
import com.opencsv.bean.ConverterDate;
import com.opencsv.exceptions.CsvDataTypeMismatchException;
import java.lang.reflect.InvocationTargetException;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.Temporal;
import java.util.Locale;