MCPcopy Create free account
hub / github.com/ReadyTalk/avian / convert

Method convert

classpath/java/util/concurrent/TimeUnit.java:50–53  ·  view source on GitHub ↗
(long d, TimeUnit u)

Source from the content-addressed store, hash-verified

48 }
49
50 @Override
51 public long convert(long d, TimeUnit u) {
52 return u.toNanos(d);
53 }
54
55 @Override
56 int excessNanos(long d, long m) {

Callers 7

toNanoConversionTestMethod · 0.80
toMicroConversionTestMethod · 0.80
toMilliConversionTestMethod · 0.80
toHourConversionTestMethod · 0.80
toDayConversionTestMethod · 0.80

Calls 7

toNanosMethod · 0.80
toMicrosMethod · 0.80
toMillisMethod · 0.80
toSecondsMethod · 0.80
toMinutesMethod · 0.80
toHoursMethod · 0.80
toDaysMethod · 0.80

Tested by 7

toNanoConversionTestMethod · 0.64
toMicroConversionTestMethod · 0.64
toMilliConversionTestMethod · 0.64
toHourConversionTestMethod · 0.64
toDayConversionTestMethod · 0.64