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SAAS,CAAC;IAC/B,CAAC;IAED,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,MAAM,CAAC,MAAe;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;;AArDM,+BAAc,GAAW,CAAX,AAAY,CAAC","file":"daytool_calendar.js","sourcesContent":["export interface daytool_ical {\n name: string[];\n ical_string: string[];\n last_updated_timestamp: number[];\n creation_timestamp: number;\n active: boolean;\n imported: boolean;\n processed: boolean;\n ical_url: string;\n}\n\nexport class daytool_calendar implements daytool_ical {\n\n static calendar_count: number = 0;\n id: number = daytool_calendar.calendar_count + 1;\n ical_id: string;\n name: string[] = [\"New Calendar\"];\n ical_url: string = \"\";\n ical_string: string[] = [\"\"];\n active: boolean = false;\n imported: boolean = false;\n processed: boolean = false;\n last_updated_timestamp: number[] = [];\n creation_timestamp: number = new Date().getTime();\n\n\n constructor(\n name: string,\n active: boolean,\n ical_string: string,\n ) {\n this.name.push(name);\n this.active = active;\n this.ical_string.push(ical_string);\n this.last_updated_timestamp.push(new Date().getTime());\n this.creation_timestamp = new Date().getTime();\n\n daytool_calendar.calendar_count++;\n }\n\n public static getCalendarCount() {\n return daytool_calendar.calendar_count;\n }\n\n get Imported() {\n return this.imported;\n }\n\n set Imported(imported: boolean) {\n this.imported = imported;\n }\n\n get Processed() {\n return this.processed;\n }\n\n set Processed(processed: boolean) {\n this.processed = processed;\n }\n\n get Active() {\n return this.active;\n }\n\n set Active(active: boolean) {\n this.active = active;\n }\n}"]}