Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asmuth/clip
/ UnixTime
Method
UnixTime
src/utils/UnixTime.cc:21–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
#include
"ISO8601.h"
20
21
UnixTime::UnixTime() :
22
utc_micros_(WallClock::unixMicros()) {}
23
24
UnixTime::UnixTime(const CivilTime& civil) {
25
uint64_t days = civil.day() - 1;
Callers
nothing calls this directly
Calls
8
day
Method · 0.80
year
Method · 0.80
month
Method · 0.80
hour
Method · 0.80
minute
Method · 0.80
second
Method · 0.80
millisecond
Method · 0.80
offset
Method · 0.80
Tested by
no test coverage detected