Lines Matching refs:_xdsoft_datetime

792 				_xdsoft_datetime;
827 if (_xdsoft_datetime.currentTime) {
828 …val = _xdsoft_datetime.currentTime[$(this).hasClass('xdsoft_month') ? 'getMonth' : 'getFullYear'](…
854 if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) {
855 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
858 var year = _xdsoft_datetime.currentTime.getFullYear();
859 if (_xdsoft_datetime && _xdsoft_datetime.currentTime) {
860_xdsoft_datetime.currentTime[$(this).parent().parent().hasClass('xdsoft_monthselect') ? 'setMonth'…
867 …options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('inpu…
870 … if (year !== _xdsoft_datetime.currentTime.getFullYear() && $.isFunction(options.onChangeYear)) {
871 …options.onChangeYear.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1013 _xdsoft_datetime.setCurrentTime(options.value);
1015 input.val(_xdsoft_datetime.str);
1030 … options.minDate = _xdsoft_datetime.strToDateTime(options.minDate).dateFormat(options.formatDate);
1034 … options.maxDate = _xdsoft_datetime.strToDateTime(options.maxDate).dateFormat(options.formatDate);
1140 $(this).val((_xdsoft_datetime.now()).dateFormat(options.format));
1263 …options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('inpu…
1267 …options.onChangeYear.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1293 …options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('inpu…
1358 _xdsoft_datetime = new XDSoft_datetime(); variable
1363 _xdsoft_datetime.setCurrentTime(getCurrentValue());
1364 input.val(_xdsoft_datetime.str());
1371 _xdsoft_datetime.setCurrentTime(0);
1374 var currentDate = _xdsoft_datetime.getCurrentTime(), minDate, maxDate;
1376 minDate = _xdsoft_datetime.strToDate(options.minDate);
1381 maxDate = _xdsoft_datetime.strToDate(options.maxDate);
1386 input.val(_xdsoft_datetime.str());
1398 _xdsoft_datetime.nextMonth();
1400 _xdsoft_datetime.prevMonth();
1453 if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) {
1454 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
1458 …start = new Date(_xdsoft_datetime.currentTime.getFullYear(), _xdsoft_datetime.currentTime.getMonth…
1461 today = _xdsoft_datetime.now(),
1496 maxDate = _xdsoft_datetime.strToDate(options.maxDate);
1501 minDate = _xdsoft_datetime.strToDate(options.minDate);
1505 …while (i < _xdsoft_datetime.currentTime.countDaysInMonth() || start.getDay() !== options.dayOfWeek…
1513 w = _xdsoft_datetime.getWeekOfYear(start);
1536 if (_xdsoft_datetime.currentTime.getMonth() !== m) {
1540 …if ((options.defaultSelect || datetimepicker.data('changed')) && _xdsoft_datetime.currentTime.date…
1585 …('.xdsoft_label span').eq(0).text(options.i18n[options.lang].months[_xdsoft_datetime.currentTime.g…
1586 … mounth_picker.find('.xdsoft_label span').eq(1).text(_xdsoft_datetime.currentTime.getFullYear());
1593 var now = _xdsoft_datetime.now(), optionDateTime, current_time;
1598 optionDateTime = new Date(_xdsoft_datetime.currentTime);
1602 …me !== false && _xdsoft_datetime.strtotime(options.maxTime).getTime() < now.getTime()) || (options…
1605 …ime() > _xdsoft_datetime.strtotime(options.disabledMinTime).getTime()) && (options.disabledMaxTime…
1609 current_time = new Date(_xdsoft_datetime.currentTime);
1610 current_time.setHours(parseInt(_xdsoft_datetime.currentTime.getHours(), 10));
1611 …current_time.setMinutes(Math[options.roundTime](_xdsoft_datetime.currentTime.getMinutes() / option…
1636 h = _xdsoft_datetime.strtotime(options.allowTimes[i]).getHours();
1637 m = _xdsoft_datetime.strtotime(options.allowTimes[i]).getMinutes();
1648 …opt += '<div class="xdsoft_option ' + (_xdsoft_datetime.currentTime.getFullYear() === i ? 'xdsoft_…
1654 …opt += '<div class="xdsoft_option ' + (_xdsoft_datetime.currentTime.getMonth() === i ? 'xdsoft_cur…
1690 currentTime = _xdsoft_datetime.currentTime;
1693 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
1694 currentTime = _xdsoft_datetime.currentTime;
1708 input.val(_xdsoft_datetime.str());
1714 …options.onSelectDate.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1729 currentTime = _xdsoft_datetime.currentTime;
1732 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
1733 currentTime = _xdsoft_datetime.currentTime;
1743 datetimepicker.data('input').val(_xdsoft_datetime.str());
1750 …options.onSelectTime.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1764 _xdsoft_datetime.nextMonth();
1766 _xdsoft_datetime.prevMonth();
1789 input.val(_xdsoft_datetime.str());
1800 options.onChangeDateTime.call(datetimepicker, _xdsoft_datetime.currentTime, $input, event);
1807 …options.onGenerate.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')…
1856 …onShow = options.onShow.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('in…
1880 …onClose = options.onClose.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('…
1899 datetimepicker.data('xdsoft_datetime', _xdsoft_datetime);
1906 ct = _xdsoft_datetime.strToDate(options.startDate);
1910 ct = _xdsoft_datetime.strToDateTime(ct);
1912 ct = _xdsoft_datetime.strToDateTime(options.defaultDate);
1914 time = _xdsoft_datetime.strtotime(options.defaultTime);
1921 if (ct && _xdsoft_datetime.isValidDate(ct)) {
1930 _xdsoft_datetime.setCurrentTime(getCurrentValue());
1945 _xdsoft_datetime.setCurrentTime(getCurrentValue());