Class foreign_storage::BaseDateBoundsValidator

template<typename T, bool is_in_seconds = true>
class BaseDateBoundsValidator

Public Static Functions

template<typename D>
static void validateValue(const D &data_value, const SQLTypeInfo &column_type)

Private Static Functions

static bool valueWithinBounds(const T &value, const SQLTypeInfo &column_type)
static std::pair<std::string, std::string> getMinMaxBoundsAsStrings(const SQLTypeInfo &column_type)
template<typename D>
static bool checkBounds(const T &value)
template<typename D>
static std::pair<std::string, std::string> getMinMaxBoundsAsStrings(const SQLTypeInfo &column_type)