|
|
@ -18,10 +18,10 @@ public class AssesmentHelper { |
|
|
|
long hours = time / (1000 * 60 * 60); |
|
|
|
long hours = time / (1000 * 60 * 60); |
|
|
|
long minutes = (time - hours * (1000 * 60 * 60)) / (1000 * 60); |
|
|
|
long minutes = (time - hours * (1000 * 60 * 60)) / (1000 * 60); |
|
|
|
StringBuffer buffer = new StringBuffer(); |
|
|
|
StringBuffer buffer = new StringBuffer(); |
|
|
|
buffer.append(hours).append("h"); |
|
|
|
buffer.append(hours).append("h").append(minutes).append("m"); |
|
|
|
if(minutes!=0) { |
|
|
|
// if(minutes!=0) {
|
|
|
|
buffer.append(minutes).append("m"); |
|
|
|
// buffer.append(minutes).append("m");
|
|
|
|
} |
|
|
|
// }
|
|
|
|
return buffer.toString(); |
|
|
|
return buffer.toString(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|