mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-31 05:25:25 +00:00
doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1357 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
5869e4178f
commit
6a2dad382f
1 file changed
+4
@@ -36,6 +36,10 @@ public class Functions {
|
||||
return Util.RFC822_DATETIME_FORMATTER.format(cal.getTime());
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints the integer as a string that represents difference,
|
||||
* like "-5", "+/-0", "+3".
|
||||
*/
|
||||
public static String getDiffString(int i) {
|
||||
if(i==0) return "\u00B10"; // +/-0
|
||||
String s = Integer.toString(i);
|
||||
|
||||
Reference in new issue
Block a user