mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5992 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
0df5775c3d
commit
cd52c71a3e
1 file changed
+6
@@ -357,6 +357,12 @@ public class Util {
|
||||
return toHexString(bytes,0,bytes.length);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a human readable text of the time duration.
|
||||
*
|
||||
* @param duration
|
||||
* number of milliseconds.
|
||||
*/
|
||||
public static String getTimeSpanString(long duration) {
|
||||
duration /= 1000;
|
||||
if(duration<60)
|
||||
|
||||
Reference in new issue
Block a user