Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
471 B
Text
20 lines
471 B
Text
import { CalendarWeek } from "./CalendarWeek.js";
|
|
|
|
/**
|
|
* Represents a month in a calendar year.
|
|
*
|
|
* A `CalendarMonth` contains the weeks within the month and the date of the
|
|
* month.
|
|
*/
|
|
export class CalendarMonth {
|
|
constructor(month: Date, weeks: CalendarWeek[]) {
|
|
this.date = month;
|
|
this.weeks = weeks;
|
|
}
|
|
|
|
/** The date representing the first day of the month. */
|
|
date: Date;
|
|
|
|
/** The weeks that belong to this month. */
|
|
weeks: CalendarWeek[];
|
|
}
|