quantlib.time.calendar.Calendar.end_of_month

Calendar.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.