Skip to main content
Version: 1.x

@microsoft/fast-foundation > Calendar > getDays

Calendar.getDays() method

A list of calendar days

Signature:
getDays(info?: CalendarInfo, minWeeks?: number): CalendarDateInfo[][];

Parameters

ParameterTypeDescription
infoCalendarInfoan object containing the information needed to render a calendar month
minWeeksnumberminimum number of weeks to show
Returns:

CalendarDateInfo[][]

a list of days in a calendar month