[#BloombergLP-bdlt-operator_dec-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator‐‐ :relfileprefix: ../../ :mrdocs: Decrement operators == Synopses Declared in `<bdlt_calendar.h>` Regress the specified `iterator` to refer to the previous business day in the associated calendar, and return the previous value of `iterator`. The behavior is undefined unless, on entry, `iterator` references a valid business day that is not the first business day for the associated calendar. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Calendar_BusinessDayConstIter.adoc[Calendar_BusinessDayConstIter] xref:BloombergLP/bdlt/operator_dec-052.adoc[operator‐‐]( xref:BloombergLP/bdlt/Calendar_BusinessDayConstIter.adoc[Calendar_BusinessDayConstIter]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-052.adoc[_» more..._]# Set the specified `date` object to have the value that is one day earlier than its current value, and return the value of `date` on entry. The behavior is undefined if the value of `date` on entry is `0001/01/01`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] xref:BloombergLP/bdlt/operator_dec-01.adoc[operator‐‐]( xref:BloombergLP/bdlt/Date.adoc[Date]& date, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-01.adoc[_» more..._]# Regress the specified `iterator` to refer to the previous business day in the associated calendar, and return the previous value of `iterator`. The behavior is undefined unless, on entry, `iterator` references a valid business day that is not the first business day for the associated calendar. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/PackedCalendar_BusinessDayConstIterator.adoc[bdlt::PackedCalendar_BusinessDayConstIterator] xref:BloombergLP/bdlt/operator_dec-05f.adoc[operator‐‐]( xref:BloombergLP/bdlt/PackedCalendar_BusinessDayConstIterator.adoc[PackedCalendar_BusinessDayConstIterator]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-05f.adoc[_» more..._]# Regress the specified `iterator` to refer to the previous holiday code for the associated date in the associated calendar, and return the previous value of `iterator`. The behavior is undefined unless, on entry, `iterator` references a valid holiday code that is not the first holiday code for the associated date in the calendar. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[bdlt::PackedCalendar_HolidayCodeConstIterator] xref:BloombergLP/bdlt/operator_dec-02.adoc[operator‐‐]( xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar_HolidayCodeConstIterator]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-02.adoc[_» more..._]# Regress the specified `iterator` to refer to the previous holiday in the associated calendar, and return the previous value of `iterator`. The behavior is undefined unless, on entry, `iterator` references a valid holiday that is not the first holiday in the associated calendar. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/PackedCalendar_HolidayConstIterator.adoc[bdlt::PackedCalendar_HolidayConstIterator] xref:BloombergLP/bdlt/operator_dec-0e.adoc[operator‐‐]( xref:BloombergLP/bdlt/PackedCalendar_HolidayConstIterator.adoc[PackedCalendar_HolidayConstIterator]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-0e.adoc[_» more..._]# Regress the specified `iterator` to refer to the previous transition in the referenced timetable, and return an iterator referring to the original element (_before_ the decrementation). The behavior is undefined unless, on entry, `iterator` references a valid transition that is not the first transition of the associated timetable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[bdlt::Timetable_ConstIterator] xref:BloombergLP/bdlt/operator_dec-0b.adoc[operator‐‐]( xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[Timetable_ConstIterator]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-0b.adoc[_» more..._]# Modify the specified `iterator` to refer to the previous element in the reverse iteration sequence, and return a reverse iterator having the pre‐decrement value of `iterator`. The behavior is undefined unless, on entry, `iterator` does not have the same value as a reverse iterator to the start of the underlying sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ITERATOR> xref:BloombergLP/bdlt/CalendarReverseIteratorAdapter.adoc[bdlt::CalendarReverseIteratorAdapter<ITERATOR>] xref:BloombergLP/bdlt/operator_dec-04.adoc[operator‐‐]( xref:BloombergLP/bdlt/CalendarReverseIteratorAdapter.adoc[CalendarReverseIteratorAdapter<ITERATOR>]& iterator, int); ---- [.small]#xref:BloombergLP/bdlt/operator_dec-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#