Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ FromTimestamp
Method
FromTimestamp
lib/db_ido/dbvalue.cpp:12–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
{ }
11
12
Value DbValue::FromTimestamp(const Value& ts)
13
{
14
if (ts.IsEmpty() || ts == 0)
15
return Empty;
16
17
return new DbValue(DbValueTimestamp, ts);
18
}
19
20
Value DbValue::FromValue(const Value& value)
21
{
Callers
nothing calls this directly
Calls
1
IsEmpty
Method · 0.45
Tested by
no test coverage detected