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::CastTimestampNsToDate Struct Reference

Public Member Functions

template<>
duckdb::date_t Operation (duckdb::timestamp_t input)
template<>
date_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::CastTimestampNsToDate::Operation ( SRC input)
inlinestatic
32020 {
32021 throw duckdb::NotImplementedException("Cast to DATE could not be performed!");
32022 }

◆ Operation() [2/2]

template<>
date_t duckdb::CastTimestampNsToDate::Operation ( timestamp_t input)
89903 {
89904 if (input == timestamp_t::infinity()) {
89905 return date_t::infinity();
89906 } else if (input == timestamp_t::ninfinity()) {
89907 return date_t::ninfinity();
89908 }
89909 const auto us = CastTimestampNsToUs::Operation<timestamp_t, timestamp_t>(input);
89910 return Timestamp::GetDate(us);
89911}

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