Move date earlier by one day and return its previous value.
Synopsis
Declared in <bdlt_date.h>
bdlt::Date
operator‐‐(
Date& date,
int unused);
Description
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.
Return Value
previous value of date
Parameters
Name |
Description |
date |
date to move earlier |
unused |
unused argument distinguishing the postfix operator |
Created with MrDocs