<commit_before>﻿'use strict';

export var name: string = 'dateUtility';

interface IMonth {
	name: string;
	days(year?: number): number;
}

export interface IDateUtility {
	getFullString(month: number): string;
	getDays(month: number, year?: number): number;
}

export class DateUtility {
	constructor() {
		this.month = [
			{ name: 'January', days: (): number => { return 31; } },
			{ name: 'February', days: (year: number): number => { return this.isLeapYear(year) ? 29 : 28; } },<commit_msg>IMonth needs to be exported since a publically visible property references it.<commit_after>﻿'use strict';

export var name: string = 'dateUtility';

export interface IMonth {
	name: string;
	days(year?: number): number;
}

export interface IDateUtility {
	getFullString(month: number): string;
	getDays(month: number, year?: number): number;
}

export class DateUtility {
	constructor() {
		this.month = [
			{ name: 'January', days: (): number => { return 31; } },
			{ name: 'February', days: (year: number): number => { return this.isLeapYear(year) ? 29 : 28; } },
{'fraction_non_alphanumeric': 0.1550751879699248, 'fraction_numerical': 0.011278195488721804, 'mean_word_length': 4.725806451612903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2856120', 'n_tokens_mistral': 367, 'n_tokens_neox': 341, 'n_words': 104}