presto-iceberg/src/main/java/io/prestosql/plugin/iceberg/DomainConverter.java/DomainConverter/convertToMicros
class DomainConverter:    private static long convertToMicros(Type type, long value)
    {
        if (type instanceof TimestampWithTimeZoneType || type instanceof TimeWithTimeZoneType) {
            return MILLISECONDS.toMicros(unpackMillisUtc(value));
        }

        if (type instanceof TimestampType || type instanceof TimeType) {
            return MILLISECONDS.toMicros(value);
        }

        throw new IllegalArgumentException(type + " is unsupported");
    }