Lines Matching refs:currentTime

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…
1227 …_this.currentTime = (typeof dTime === 'string') ? _this.strToDateTime(dTime) : _this.isValidDate(d…
1232 _this.currentTime = null;
1236 return _this.currentTime;
1241 if (_this.currentTime === undefined || _this.currentTime === null) {
1242 _this.currentTime = _this.now();
1245 var month = _this.currentTime.getMonth() + 1,
1248 _this.currentTime.setFullYear(_this.currentTime.getFullYear() + 1);
1252 year = _this.currentTime.getFullYear();
1254 _this.currentTime.setDate(
1256 new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(),
1257 _this.currentTime.getDate()
1260 _this.currentTime.setMonth(month);
1263 …options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('inpu…
1266 if (year !== _this.currentTime.getFullYear() && $.isFunction(options.onChangeYear)) {
1267 …options.onChangeYear.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1276 if (_this.currentTime === undefined || _this.currentTime === null) {
1277 _this.currentTime = _this.now();
1280 var month = _this.currentTime.getMonth() - 1;
1282 _this.currentTime.setFullYear(_this.currentTime.getFullYear() - 1);
1285 _this.currentTime.setDate(
1287 new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(),
1288 _this.currentTime.getDate()
1291 _this.currentTime.setMonth(month);
1293 …options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('inpu…
1305 var tmpDate = [], timeOffset, currentTime;
1317currentTime = new Date((_this.now(true)).getTime() + parseInt(tmpDate[1] + '1', 10) * timeOffset);
1319 currentTime = sDateTime ? Date.parseDate(sDateTime, options.format) : _this.now();
1322 if (!_this.isValidDate(currentTime)) {
1323 currentTime = _this.now();
1326 return currentTime;
1334 var currentTime = sDate ? Date.parseDate(sDate, options.formatDate) : _this.now(true);
1335 if (!_this.isValidDate(currentTime)) {
1336 currentTime = _this.now(true);
1338 return currentTime;
1345 var currentTime = sTime ? Date.parseDate(sTime, options.formatTime) : _this.now(true);
1346 if (!_this.isValidDate(currentTime)) {
1347 currentTime = _this.now(true);
1349 return currentTime;
1353 return _this.currentTime.dateFormat(options.format);
1355 _this.currentTime = this.now();
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…
1505 … (i < _xdsoft_datetime.currentTime.countDaysInMonth() || start.getDay() !== options.dayOfWeekStart…
1536 if (_xdsoft_datetime.currentTime.getMonth() !== m) {
1540 …s.defaultSelect || datetimepicker.data('changed')) && _xdsoft_datetime.currentTime.dateFormat(opti…
1585 …abel span').eq(0).text(options.i18n[options.lang].months[_xdsoft_datetime.currentTime.getMonth()]);
1586 … mounth_picker.find('.xdsoft_label span').eq(1).text(_xdsoft_datetime.currentTime.getFullYear());
1598 optionDateTime = new Date(_xdsoft_datetime.currentTime);
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…
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;
1692 if (currentTime === undefined || currentTime === null) {
1693 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
1694 currentTime = _xdsoft_datetime.currentTime;
1701 currentTime.setDate(1);
1702 currentTime.setFullYear($this.data('year'));
1703 currentTime.setMonth($this.data('month'));
1704 currentTime.setDate($this.data('date'));
1706 datetimepicker.trigger('select.xdsoft', [currentTime]);
1714 …options.onSelectDate.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
1729 currentTime = _xdsoft_datetime.currentTime;
1731 if (currentTime === undefined || currentTime === null) {
1732 _xdsoft_datetime.currentTime = _xdsoft_datetime.now();
1733 currentTime = _xdsoft_datetime.currentTime;
1739 currentTime.setHours($this.data('hour'));
1740 currentTime.setMinutes($this.data('minute'));
1741 datetimepicker.trigger('select.xdsoft', [currentTime]);
1750 …options.onSelectTime.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input…
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('…