MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / S

Function S

codebase/dhtmlxscheduler.es.js:3844–3846  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3842 }
3843 var v, x = new Date(1 * c + u * D), b = this["ignore_" + this._mode], E = 0;
3844 function S() {
3845 return f.x_unit === "day" ? E * D < v * D : E * D <= v * D;
3846 }
3847 for (f.render ? (E = this._get_date_index(f, w), v = this._get_date_index(f, x)) : v = Math.round(u / 60 / 60 / 1e3 / 24); S(); ) {
3848 var T = r.date.add(w, f.x_step * D, f.x_unit);
3849 b && b(w) && (u += (T - w) * D, v += D), w = T, E += D;

Callers 2

eaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected