MCPcopy Create free account
hub / github.com/apache/ant / formatElapsedTime

Method formatElapsedTime

src/main/org/apache/tools/ant/util/DateUtils.java:157–161  ·  view source on GitHub ↗

Format an elapsed time into a pluralization correct string. It is limited only to report elapsed time in minutes and seconds and has the following behavior. minutes are not displayed when 0. (ie: "45 seconds") seconds are always displayed in plural form (ie "0 seconds" or "10 secon

(long millis)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

formatTimeMethod · 0.95
testElapsedTimeMethod · 0.95
testLongElapsedTimeMethod · 0.95

Calls 1

formatMethod · 0.80

Tested by 2

testElapsedTimeMethod · 0.76
testLongElapsedTimeMethod · 0.76