quantlib.time.calendar.Calendar.end_of_month

Calendar.end_of_month(self, Date current_date)

Returns the ending date for the month that contains the given date.