MCPcopy 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
21UnixTime::UnixTime() :
22 utc_micros_(WallClock::unixMicros()) {}
23
24UnixTime::UnixTime(const CivilTime& civil) {
25 uint64_t days = civil.day() - 1;

Callers

nothing calls this directly

Calls 8

dayMethod · 0.80
yearMethod · 0.80
monthMethod · 0.80
hourMethod · 0.80
minuteMethod · 0.80
secondMethod · 0.80
millisecondMethod · 0.80
offsetMethod · 0.80

Tested by

no test coverage detected