Calendar.last#

property Calendar.last: date#

Returns the last date in the calendar.

Returns:

The last date in the calendar

Return type:

datetime.date

Raises:

KeyError – if the calendar is empty

See also

Calendar.first

Returns the first date in the calendar

Calendar.end

Alias