MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getDaysInMonth

Method getDaysInMonth

packages/@internationalized/date/src/types.ts:75–75  ·  view source on GitHub ↗

Returns the number of days in the month of the given date.

(date: AnyCalendarDate)

Source from the content-addressed store, hash-verified

73
74 /** Returns the number of days in the month of the given date. */
75 getDaysInMonth(date: AnyCalendarDate): number;
76 /** Returns the number of months in the year of the given date. */
77 getMonthsInYear(date: AnyCalendarDate): number;
78 /** Returns the number of years in the era of the given date. */

Callers 15

addFunction · 0.65
balanceDayFunction · 0.65
constrainMonthDayFunction · 0.65
cycleDateFunction · 0.65
parseDateFunction · 0.65
parseDateTimeFunction · 0.65
parseZonedDateTimeFunction · 0.65
parseAbsoluteFunction · 0.65
endOfMonthFunction · 0.65
getWeeksInMonthFunction · 0.65
getDaysInMonthMethod · 0.65
getDaysInMonthMethod · 0.65

Implementers 5

IslamicCivilCalendarpackages/@internationalized/date/src/c
EthiopicCalendarpackages/@internationalized/date/src/c
PersianCalendarpackages/@internationalized/date/src/c
HebrewCalendarpackages/@internationalized/date/src/c
GregorianCalendarpackages/@internationalized/date/src/c

Calls

no outgoing calls

Tested by

no test coverage detected