MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / encode

Method encode

src/common/classes/NoThrowTimeStamp.cpp:341–344  ·  view source on GitHub ↗

Encode timestamp from UNIX datetime structure

Source from the content-addressed store, hash-verified

339
340// Encode timestamp from UNIX datetime structure
341void NoThrowTimeStamp::encode(const struct tm* times, int fractions)
342{
343 mValue = encode_timestamp(times, fractions);
344}
345
346// Decode timestamp into UNIX datetime structure
347void NoThrowTimeStamp::decode(struct tm* times, int* fractions) const

Callers 2

getCurrentTimeStampMethod · 0.45

Calls 1

encode_timestampFunction · 0.85

Tested by

no test coverage detected