public static OffsetDateTime convertToDateTime(BigDecimal value, ZoneOffset offset) {
        if (value == null) {
            return null;
        }

        return convertToInstant(value).atOffset(offset != null ? offset : ZoneOffset.UTC);
    }
Converts big decimal to date time.

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