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

Method decode

src/common/classes/NoThrowTimeStamp.cpp:347–353  ·  view source on GitHub ↗

Decode timestamp into UNIX datetime structure

Source from the content-addressed store, hash-verified

345
346// Decode timestamp into UNIX datetime structure
347void NoThrowTimeStamp::decode(struct tm* times, int* fractions) const
348{
349 fb_assert(mValue.timestamp_date != BAD_DATE);
350 fb_assert(mValue.timestamp_time != BAD_TIME);
351
352 decode_timestamp(mValue, times, fractions);
353}
354
355} // namespace

Callers 1

CVT_string_to_datetimeFunction · 0.45

Calls 1

decode_timestampFunction · 0.85

Tested by

no test coverage detected