quantlib.time.calendars.united_states.UnitedStates.end_of_month

UnitedStates.end_of_month(self, Date current_date)

Returns the last business day of the month to which the given date belongs.

Parameters:
current_dateDate

The date to check.