@Override
    public String getLiteral(Calendar value) {
        return dateTimeFormatter.format(LocalDateTime.ofInstant(value.toInstant(), ZoneOffset.UTC));
    }
{@code CalendarType} maps Calendar to Timestamp on the JDBC level

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/types/CalendarType.java