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