Core busines-logick for any datepicker. The idea is to separete datepicker's core logic and datepicker's view.
So if you develope datepicker, you just init x-date-core with
datetime (model) and optional lower and upper date limits.
x-date-core will generate lists of days, month and years based on your data (model will never go out of limits)
bower install x-date-core --save
npm i x-date-core --save
Direct downoad from releases: https://github.com/se-panfilov/x-date-core/releases