001// Licensed under the MIT license. See LICENSE file in the project root for full license information.
002
003package de.bytefish.pgbulkinsert.pgsql.converter;
004
005import java.time.LocalTime;
006
007public class LocalTimeConverter implements IValueConverter<LocalTime, Long> {
008
009    @Override
010    public Long convert(final LocalTime time) {
011        return time.toNanoOfDay() / 1000L;
012    }
013
014}