Lines Matching refs:_this

1194 				var _this = this;
1195 _this.now = function (norecursion) {
1201 date = _this.strToDateTime(options.defaultDate);
1212 time = _this.strtotime(options.defaultTime);
1219 _this.isValidDate = function (d) {
1226 _this.setCurrentTime = function (dTime) {
1227_this.currentTime = (typeof dTime === 'string') ? _this.strToDateTime(dTime) : _this.isValidDate(d…
1231 _this.empty = function () {
1232 _this.currentTime = null;
1235 _this.getCurrentTime = function (dTime) {
1236 return _this.currentTime;
1239 _this.nextMonth = function () {
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);
1266 if (year !== _this.currentTime.getFullYear() && $.isFunction(options.onChangeYear)) {
1274 _this.prevMonth = function () {
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);
1299 _this.getWeekOfYear = function (datetime) {
1304 _this.strToDateTime = function (sDateTime) {
1307 if (sDateTime && sDateTime instanceof Date && _this.isValidDate(sDateTime)) {
1317 … currentTime = 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();
1329 _this.strToDate = function (sDate) {
1330 if (sDate && sDate instanceof Date && _this.isValidDate(sDate)) {
1334 var currentTime = sDate ? Date.parseDate(sDate, options.formatDate) : _this.now(true);
1335 if (!_this.isValidDate(currentTime)) {
1336 currentTime = _this.now(true);
1341 _this.strtotime = function (sTime) {
1342 if (sTime && sTime instanceof Date && _this.isValidDate(sTime)) {
1345 var currentTime = sTime ? Date.parseDate(sTime, options.formatTime) : _this.now(true);
1346 if (!_this.isValidDate(currentTime)) {
1347 currentTime = _this.now(true);
1352 _this.str = function () {
1353 return _this.currentTime.dateFormat(options.format);
1355 _this.currentTime = this.now();