Lines Matching refs:date

994     UnzonedRange.prototype.containsDate = function (date) {
995 var ms = date.valueOf();
1003 UnzonedRange.prototype.constrainDate = function (date) {
1004 var ms = date.valueOf();
1294 if (rawProps.date != null) {
1295 this.miscProps.date = rawProps.date;
1310 date: false,
1742 var startInput = rawProps.start || rawProps.date;
3897 View.prototype.setDate = function (date) {
3899 … var newDateProfile = this.dateProfileGenerator.build(date, undefined, true); // forceToValid=true
4368 View.prototype.isDateInOtherMonth = function (date, dateProfile) {
4433 View.prototype.skipHiddenDays = function (date, inc, isExclusive) {
4436 var out = date.clone();
4882 t: function (date) {
4883 return moment_ext_1.oldMomentFormat(date, 'a').charAt(0);
4885 T: function (date) {
4886 return moment_ext_1.oldMomentFormat(date, 'A').charAt(0);
4907 function formatDate(date, formatStr) {
4908 return renderFakeFormatString(getParsedFormatString(formatStr).fakeFormatString, date);
5106 function renderFakeFormatString(fakeFormatString, date) {
5107 return processMaybeMarkers(renderFakeFormatStringParts(fakeFormatString, date).join(''));
5112 function renderFakeFormatStringParts(fakeFormatString, date) {
5114 var fakeRender = moment_ext_1.oldMomentFormat(date, fakeFormatString);
5124 specialTokens[fakePart.substring(1)](date));
5701 var prevDate = currentDateProfile.date.clone()
5708 var nextDate = currentDateProfile.date.clone()
5716 DateProfileGenerator.prototype.build = function (date, direction, forceToValid) {
5718 var isDateAllDay = !date.hasTime();
5730 date = this.msToUtcMoment(validUnzonedRange.constrainDate(date), // returns MS
5733 currentInfo = this.buildCurrentRangeInfo(date, direction);
5746 date = this.msToUtcMoment(activeUnzonedRange.constrainDate(date), // returns MS
5773 date: date,
5791 DateProfileGenerator.prototype.buildCurrentRangeInfo = function (date, direction) {
5800 unzonedRange = this.buildRangeFromDuration(date, direction, duration, unit);
5804 unzonedRange = this.buildRangeFromDayCount(date, direction, dayCount);
5806 else if ((unzonedRange = this.buildCustomVisibleRange(date))) {
5812 unzonedRange = this.buildRangeFromDuration(date, direction, duration, unit);
5837 …DateProfileGenerator.prototype.buildRangeFromDuration = function (date, direction, duration, unit)…
5869 start = date.clone().startOf(alignment);
5876 date = this._view.skipHiddenDays(date, direction);
5883 DateProfileGenerator.prototype.buildRangeFromDayCount = function (date, direction, dayCount) {
5889 start = date.clone();
5904 end = date.clone().startOf('day').add(1, 'day');
5919 DateProfileGenerator.prototype.buildCustomVisibleRange = function (date) {
5920 …w.getUnzonedRangeOption('visibleRange', this._view.calendar.applyTimezone(date) // correct zone. a…
6649 var date = calendar.msToUtcMoment(t.dateProfile.renderUnzonedRange.startMs, true);
6657 while (date.isBefore(end)) { // loop each day from start to end
6658 if (view.isHiddenDay(date)) {
6664 dayDates.push(date.clone());
6666 date.add(1, 'days');
6728 DayTableMixin.prototype.getDateDayIndex = function (date) {
6730 var dayOffset = date.diff(this.dayDates[0], 'days');
6860 var date;
6862 date = this.getCellDate(0, col);
6863 htmls.push(this.renderHeadDateCellHtml(date));
6869 DayTableMixin.prototype.renderHeadDateCellHtml = function (date, colspan, otherAttrs) {
6872 …var isDateValid = t.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too frequen…
6879 innerHtml = t.opt('columnHeaderHtml')(date);
6882 innerHtml = util_1.htmlEscape(t.opt('columnHeaderText')(date));
6885 innerHtml = util_1.htmlEscape(date.format(t.colHeadFormat));
6892 t.getDayClasses(date, true));
6895 classNames.push('fc-' + util_1.dayIDs[date.day()]); // only add the day-of-week class
6900 ' data-date="' + date.format('YYYY-MM-DD') + '"' :
6911 … view.buildGotoAnchorHtml({ date: date, forceOff: t.rowCnt > 1 || t.colCnt === 1 }, innerHtml) :
6932 var date;
6934 date = this.getCellDate(row, col);
6935 htmls.push(this.renderBgCellHtml(date));
6939 DayTableMixin.prototype.renderBgCellHtml = function (date, otherAttrs) {
6942 …var isDateValid = t.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too frequen…
6943 var classes = t.getDayClasses(date);
6947 … ' data-date="' + date.format('YYYY-MM-DD') + '"' : // if date has a time, won't format it
7448 var date;
7450 date = this.getCellDate(row, col);
7451 htmls.push(this.renderNumberCellHtml(date));
7457 DayGrid.prototype.renderNumberCellHtml = function (date) {
7460 …var isDateValid = this.dateProfile.activeUnzonedRange.containsDate(date); // TODO: called too freq…
7468 classes = this.getDayClasses(date);
7476 if (date._locale._fullCalendar_weekCalc === 'ISO') {
7480 weekCalcFirstDoW = date._locale.firstDayOfWeek();
7485 ' data-date="' + date.format() + '"' :
7488 if (this.cellWeekNumbersVisible && (date.day() === weekCalcFirstDoW)) {
7489 …html += view.buildGotoAnchorHtml({ date: date, type: 'week' }, { 'class': 'fc-week-number' }, date
7493 …html += view.buildGotoAnchorHtml(date, { 'class': 'fc-day-number' }, date.format('D') // inner HTML
7747 var date = _this.getCellDate(row, col);
7752 var reslicedAllSegs = _this.resliceDaySegs(allSegs, date);
7753 var reslicedHiddenSegs = _this.resliceDaySegs(hiddenSegs, date);
7760 date: date.clone(),
7775 view.calendar.zoomTo(date, clickOption);
8128 …{ date: weekStart, type: 'week', forceOff: this.colCnt === 1 }, weekStart.format('w') // inner HTML
10127 DateComponent.prototype.renderNowIndicator = function (date) {
10459 var date;
10464 date = gotoOptions.date;
10469 date = gotoOptions; // a single moment input
10471 date = moment_ext_1.default(date); // if a string, parse it
10473 date: date.format('YYYY-MM-DD'),
10498 DateComponent.prototype.getDayClasses = function (date, noThemeHighlight) {
10502 if (!this.dateProfile.activeUnzonedRange.containsDate(date)) {
10506 classes.push('fc-' + util_1.dayIDs[date.day()]);
10507 … if (view.isDateInOtherMonth(date, this.dateProfile)) { // TODO: use DateComponent subclass somehow
10511 if (date.isSame(today, 'day')) {
10517 else if (date < today) {
10742 this.currentDate = prevInfo.date;
10750 this.currentDate = nextInfo.date;
10812 var date = _this.moment(gotoOptions.date);
10817 customAction(date, ev);
10823 _this.zoomTo(date, viewType);
10897 … _this.currentDate = deps.dateProfile.date; // might have been constrained by view dates
11256 Calendar.prototype.applyTimezone = function (date) {
11257 if (!date.hasTime()) {
11258 return date.clone();
11260 var zonedDate = this.moment(date.toArray());
11261 var timeAdjust = date.time().asMilliseconds() - zonedDate.time().asMilliseconds();
11266 …if (date.time().asMilliseconds() - adjustedZonedDate.time().asMilliseconds() === 0) { // does it m…
12708 …{ date: weekStart, type: 'week', forceOff: this.colCnt > 1 }, util_1.htmlEscape(weekText) // inner…
13042 TimeGrid.prototype.renderNowIndicator = function (date) {
13049 …rintToSegs(new ComponentFootprint_1.default(new UnzonedRange_1.default(date, date.valueOf() + 1), …
13052 var top = this.computeDateTop(date, date);
14049 MonthView.prototype.isDateInOtherMonth = function (date, dateProfile) {
14050 …return date.month() !== moment.utc(dateProfile.currentUnzonedRange.startMs).month(); // TODO: opti…