public static ZonedDateTime convertToDateTime(BigDecimal value, ZoneId zone) {
        if (value == null) {
            return null;
        }

        return convertToInstant(value).atZone(zone != null ? zone : UTC_ZONE);
    }
Converts big decimal to date time.

@param value big decimal
@param zone  zone id, null is treated as UTC
@return date time
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValues.java