[#BloombergLP-bdlt-Calendar-lastDate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::lastDate :relfileprefix: ../../../ :mrdocs: Return a reference providing non‐modifiable access to the latest date in the valid range of this calendar. The behavior is undefined unless this calendar is non‐empty ‐‐ i.e., unless `1 <= length()`. == Synopsis Declared in `<bdlt_calendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Date.adoc[Date] const& lastDate() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#