Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
switch (index) {
case 0:
d.year(number);
break;
case 1:
d.month(number - 1);
break;
case 2:
d.date(number);
break;
default: return;
}
});
if (shape === 'rangePanel') {
if (!Calendar.RangeCalendar) return null;
return (
);
}
return (
);
}
};