<commit_before>import { amod } from '../Astro';
import { chinese } from '../Const';
import { BaseCalendar } from '../Calendar';

export class ChineseDayNameCalendar extends BaseCalendar {
  constructor(jdn: number, private stem: number, private branch: number) {
    super(jdn);
  }

  // Calculate Mayan Tzolkin calendar date from Julian day
  public static fromJdn(jdn: number): ChineseDayNameCalendar {
    const count: number = jdn - chinese.DAY_NAME_EPOCH - 1;

    return new ChineseDayNameCalendar(jdn, amod(count, 10), amod(count, 12));
  }

  getStem (): number {
    return this.stem;
  }

  getBranch (): number {
    return this.branch;
  }
}<commit_msg>Corrected source code of src/calendar/ChineseDayNameCalendar.ts to follow tslint stricter mode.<commit_after>import { amod } from '../Astro';
import { chinese } from '../Const';
import { BaseCalendar } from '../Calendar';

export class ChineseDayNameCalendar extends BaseCalendar {
  // Calculate Mayan Tzolkin calendar date from Julian day
  public static fromJdn(jdn: number): ChineseDayNameCalendar {
    const count: number = jdn - chinese.DAY_NAME_EPOCH - 1;

    return new ChineseDayNameCalendar(jdn, amod(count, 10), amod(count, 12));
  }

  constructor(jdn: number, private stem: number, private branch: number) {
    super(jdn);
  }

  public getStem (): number {
    return this.stem;
  }

  public getBranch (): number {
    return this.branch;
  }
}
{'fraction_non_alphanumeric': 0.11484593837535013, 'fraction_numerical': 0.0070028011204481795, 'mean_word_length': 3.8277027027027026, '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': '6945445', 'n_tokens_mistral': 460, 'n_tokens_neox': 431, 'n_words': 131}