'use strict';

var moveToWithinRange = require('../moveToWithinRange/moveToWithinRange.js');

const returnDateView = (selectedDate, min, max) => {
  return selectedDate || (min || max) && moveToWithinRange.moveToWithinRange(new Date(), min, max) || new Date();
};

exports.returnDateView = returnDateView;
//# sourceMappingURL=getDateView.js.map
