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