<commit_before>export default class Calendar {
    constructor () {
        this.grid = [];
        this.week = 0;

        let today = new Date();
        set(today.getFullYear(), today.getMonth()+1, today.getDate());
    }

    setYear  (y) { this.set(y, this.month, this.date) }
    setMonth (m) { this.set(this.year, m, this.date) }
    setDate  (d) { this.set(this.year, this.month, d) }
    setWeek  (w) { this.week = w }

    set (y, m, d) {<commit_msg>Add getter/setter for value to Calendar.<commit_after>export default class Calendar {
    constructor () {
        this.grid = [];
        this.week = 0;

        let today = new Date();
        set(today.getFullYear(), today.getMonth()+1, today.getDate());
    }

    setYear  (y) { this.set(y, this.month, this.date) }
    setMonth (m) { this.set(this.year, m, this.date) }
    setDate  (d) { this.set(this.year, this.month, d) }
    setWeek  (w) { this.week = w }

    get value () {
        return new Date(this.year, this.month-1, this.date);
    }

    set value (d) {
        this.set(d.getFullYear(), d.getMonth()+1, d.getDate());
    }

    set (y, m, d) {
{'fraction_non_alphanumeric': 0.17155555555555554, 'fraction_numerical': 0.005333333333333333, 'mean_word_length': 2.3117647058823527, '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': '641073', 'n_tokens_mistral': 418, 'n_tokens_neox': 402, 'n_words': 94}