Add a helper to get the number of days in a given calendar month
This commit is contained in:
@@ -197,6 +197,8 @@ struct CalTime : public DateDetail::BaseTime<struct CalendarTimeTag> {
|
||||
|
||||
static bool IsCalendarFrozen(bool newgame = false);
|
||||
|
||||
static Day NumberOfDaysInMonth(Year year, Month month);
|
||||
|
||||
/**
|
||||
* Calculate the year of a given date.
|
||||
* @param date The date to consider.
|
||||
|
Reference in New Issue
Block a user