calendar done needs to do heuristic

This commit is contained in:
nessar committed 2025-10-26 03:53:45 +01:00
1 parent 6ed0bdeca7
commit 9ccbe2534a
22 files changed
+16146 -15540

No files matched your search

@@ -0,0 +1,25 @@
import { Component, OnInit } from '@angular/core';
import { UserInputService } from '../../services/user-input-service';
import { DateRange } from '@angular/material/datepicker';
import { MatCard, MatCardContent } from '@angular/material/card';
import { CalendarMonth } from "../calendar-month/calendar-month";
import { CalendarService, SelectedDates } from '../../services/calendar-service';
@Component({
selector: 'app-calendar-year',
imports: [MatCard, CalendarMonth, MatCardContent],
templateUrl: './calendar-year.html',
styleUrl: './calendar-year.scss',
})
export class CalendarYear implements OnInit {
constructor(private userInput: UserInputService, private calendarService: CalendarService) {
}
protected selectedDates: SelectedDates = new SelectedDates();
protected year: number = 2026;
ngOnInit(): void {
this.selectedDates = this.calendarService.getSelectedDatesForYear(this.year);
}
}