Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTSDB/opentsdb
/ parseDurationMS
Method
parseDurationMS
test/utils/TestDateTime.java:289–293 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
287
}
288
289
@Test
290
public
void
parseDurationMS() {
291
long t = DateTime.parseDuration(
"60ms"
);
292
assertEquals(60, t);
293
}
294
295
@Test
296
public
void
parseDurationS() {
Callers
nothing calls this directly
Calls
1
parseDuration
Method · 0.95
Tested by
no test coverage detected