diff = node.getEndedTime().getTime() - node.getStartedTime().getTime();
hours = diff / (60 * 60 * 1000) % 24;
mins = diff / (60 * 1000) % 60;
secs = diff / 1000 % 60;
Element li = Jsoup.parseBodyFragment(nodeSource).select("li").first();
<BUG>li.addClass("node-" + nodeLevel + "x").attr("extentId", node.getId().toString());
</BUG>
li.select(".test-node-name").first().text(node.getName());
li.select(".test-started-time").first().text(DateTimeUtil.getFormattedDateTime(node.getStartedTime(), LogSettings.getLogDateTimeFormat()));
li.select(".test-ended-time").first().text(DateTimeUtil.getFormattedDateTime(node.getEndedTime(), LogSettings.getLogDateTimeFormat()));

diff = node.getEndedTime().getTime() - node.getStartedTime().getTime();
hours = diff / (60 * 60 * 1000) % 24;
mins = diff / (60 * 1000) % 60;
secs = diff / 1000 % 60;
Element li = Jsoup.parseBodyFragment(nodeSource).select("li").first();
li.addClass("node-" + nodeLevel + "x " + node.getStatus()).attr("extentId", node.getId().toString());
li.select(".test-node-name").first().text(node.getName());
li.select(".test-started-time").first().text(DateTimeUtil.getFormattedDateTime(node.getStartedTime(), LogSettings.getLogDateTimeFormat()));
li.select(".test-ended-time").first().text(DateTimeUtil.getFormattedDateTime(node.getEndedTime(), LogSettings.getLogDateTimeFormat()));
