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

Function isDateAndTime

src/dsql/ExprNodes.cpp:14016–14019  ·  view source on GitHub ↗

One of d1, d2 is time, the other is date

Source from the content-addressed store, hash-verified

14014
14015// One of d1, d2 is time, the other is date
14016static bool isDateAndTime(const dsc& d1, const dsc& d2)
14017{
14018 return ((d1.isTime() && d2.isDate()) || (d2.isTime() && d1.isDate()));
14019}
14020
14021// Set parameter info based on a context.
14022static void setParameterInfo(dsql_par* parameter, const dsql_ctx* context)

Callers 4

makeDialect1Method · 0.85
makeDialect3Method · 0.85
getDescDialect1Method · 0.85
getDescDialect3Method · 0.85

Calls 2

isTimeMethod · 0.80
isDateMethod · 0.80

Tested by

no test coverage detected