<commit_before>import { Component, OnInit, ViewChild } from '@angular/core';
import { IgxCalendarComponent, DateRangeDescriptor, DateRangeType } from '../../../projects/igniteui-angular/src/lib/calendar';

@Component({
    selector: 'app-calendar-sample',
    templateUrl: 'calendar.sample.html'
})
export class CalendarSampleComponent implements OnInit {
    @ViewChild('calendar') calendar: IgxCalendarComponent;

    ngOnInit() {
        this.calendar.disabledDates = [new DateRangeDescriptor(DateRangeType.Between, [
            new Date(2018, 8, 2),
            new Date(2018, 8, 8)
        ])];
        this.calendar.specialDates = [new DateRangeDescriptor(DateRangeType.Specific, [
            new Date(2018, 7, 4),
            new Date(2018, 7, 14),
            new Date(2018, 7, 15),
            new Date(2018, 8, 14)
        ])];
    }
}<commit_msg>fix(IgxGrid): Circular dependency error fixed. #1980<commit_after>import { Component, OnInit, ViewChild } from '@angular/core';
import { IgxCalendarComponent, DateRangeDescriptor, DateRangeType } from 'igniteui-angular';

@Component({
    selector: 'app-calendar-sample',
    templateUrl: 'calendar.sample.html'
})
export class CalendarSampleComponent implements OnInit {
    @ViewChild('calendar') calendar: IgxCalendarComponent;

    ngOnInit() {
        this.calendar.disabledDates = [new DateRangeDescriptor(DateRangeType.Between, [
            new Date(2018, 8, 2),
            new Date(2018, 8, 8)
        ])];

        this.calendar.specialDates = [new DateRangeDescriptor(DateRangeType.Specific, [
            new Date(2018, 7, 4),
            new Date(2018, 7, 14),
            new Date(2018, 7, 15),
            new Date(2018, 8, 14)
        ])];
    }
}
{'fraction_non_alphanumeric': 0.1276842716192687, 'fraction_numerical': 0.04759141033081834, 'mean_word_length': 2.945080091533181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6326866', 'n_tokens_mistral': 576, 'n_tokens_neox': 492, 'n_words': 117}