MCPcopy Index your code
hub / github.com/apache/groovy / getSeconds

Method getSeconds

src/main/java/groovy/time/TimeCategory.java:286–288  ·  view source on GitHub ↗

Returns a second-based duration for the supplied number of seconds. @param self the number of seconds @return the corresponding duration

(final Integer self)

Source from the content-addressed store, hash-verified

284 * @return the corresponding duration
285 */
286 public static TimeDuration getSeconds(final Integer self) {
287 return new TimeDuration(0, 0, 0, self, 0);
288 }
289
290 /**
291 * Alias for {@link #getSeconds(Integer)}.

Callers 15

getSecondMethod · 0.95
minusMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45
getAgoMethod · 0.45
getNowMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45
getAgoMethod · 0.45
getNowMethod · 0.45
plusMethod · 0.45
minusMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected