MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / datesEqual

Function datesEqual

lib/datastax/search/date-range.js:361–365  ·  view source on GitHub ↗
(d1, d2)

Source from the content-addressed store, hash-verified

359};
360
361function datesEqual(d1, d2) {
362 const t1 = d1 ? d1.getTime() : null;
363 const t2 = d2 ? d2.getTime() : null;
364 return t1 === t2;
365}
366
367DateRangeBound.prototype.isUnbounded = function () {
368 return (this.precision === -1);

Callers 1

date-range.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected