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

Function couldBeDate

src/dsql/ExprNodes.cpp:13944–13947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13942// see if it is something that *could* represent a date value
13943
13944static bool couldBeDate(const dsc desc)
13945{
13946 return DTYPE_IS_DATE(desc.dsc_dtype) || desc.dsc_dtype <= dtype_any_text;
13947}
13948
13949// Take the input number, assume it represents a fractional count of days.
13950// Convert it to a count of microseconds.

Callers 3

makeDialect1Method · 0.85
getDescDialect1Method · 0.85
getDescDialect3Method · 0.85

Calls 1

DTYPE_IS_DATEFunction · 0.85

Tested by

no test coverage detected