MCPcopy Create free account
hub / github.com/SGL-UT/gnsstk / UnixTime

Method UnixTime

core/lib/TimeHandling/UnixTime.hpp:80–83  ·  view source on GitHub ↗

* Default Constructor. * All elements are initialized to zero. */

Source from the content-addressed store, hash-verified

78 * All elements are initialized to zero.
79 */
80 UnixTime( int sec = 0,
81 int usec = 0,
82 TimeSystem ts = TimeSystem::Unknown )
83 { tv.tv_sec = sec; tv.tv_usec = usec; timeSystem = ts; }
84
85 /** struct timeval Constructor.
86 * Sets time according to the given struct timeval.

Callers 1

mainFunction · 0.80

Calls 1

convertToCommonTimeMethod · 0.45

Tested by

no test coverage detected