private static String largeTime(Object obj) throws SQLException {
        Object timeField = obj; // Assuming a time field of type Object

        LocalDateTime localDateTime;

        if (obj instanceof Timestamp) {
            // Convert a time field of type Object to a LocalDateTime object
            localDateTime = ((Timestamp) timeField).toLocalDateTime();
        } else if(obj instanceof  LocalDateTime){
            localDateTime = (LocalDateTime) timeField;
        } else {
            try {
                localDateTime = LocalDateTime.parse(timeField.toString(), DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"));
            }catch (Exception e){
                localDateTime = LocalDateTime.parse(timeField.toString(), DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm"));
            }
        }
        // Create a DateTimeFormatter instance and specify the output date and time format
        DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");

        // Format date time
        String formattedDateTime = dtf.format(localDateTime);
        return formattedDateTime;
    }
@param rs
@param clazz
@return
@param <T>
chat2db-server/chat2db-spi/src/main/java/ai/chat2db/spi/util/ResultSetUtils.java