@microsoft/fast-foundation > Calendar > getMonthInfo
Calendar.getMonthInfo() method
Gets data needed to render about a calendar month as well as the previous and next months
Signature:getMonthInfo(month?: number, year?: number): CalendarInfo;
Parameters
| Parameter | Type | Description |
|---|---|---|
| month | number | month of the calendar |
| year | number | year of the calendar |
- an object with data about the current and 2 surrounding months