Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CastTimestampUsToNs Struct Reference

Public Member Functions

template<>
duckdb::timestamp_t Operation (duckdb::timestamp_t input)
template<>
timestamp_t Operation (timestamp_t input)

Static Public Member Functions

template<class SRC, class DST>
static DST Operation (SRC input)

Member Function Documentation

◆ Operation() [1/2]

template<class SRC, class DST>
DST duckdb::CastTimestampUsToNs::Operation ( SRC input)
inlinestatic
31978 {
31979 throw duckdb::NotImplementedException("Cast to timestamp could not be performed!");
31980 }

◆ Operation() [2/2]

template<>
timestamp_t duckdb::CastTimestampUsToNs::Operation ( timestamp_t input)
89842 {
89843 if (!Timestamp::IsFinite(input)) {
89844 return input;
89845 }
89846 timestamp_t cast_timestamp(Timestamp::GetEpochNanoSeconds(input));
89847 return cast_timestamp;
89848}
static bool IsFinite(timestamp_t timestamp)
True, if the timestamp is finite, else false.
Definition duckdb.hpp:4287
static DUCKDB_API int64_t GetEpochNanoSeconds(timestamp_t timestamp)
Convert a timestamp to epoch (in nanoseconds).
Definition duckdb.cpp:129921

The documentation for this struct was generated from the following file: