Baca file CSV dan peta ke Bean Java

@NoArgsConstructor
public class ZoneDateTimeConverter extends AbstractBeanField {

    @Override
    protected Object convert(String value) throws CsvDataTypeMismatchException, CsvConstraintViolationException {

        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss X");
        return ZonedDateTime.parse(value, formatter);
    }

}
Jasim Ahmed