Updated Boost datetime Examples Translated (markdown)

Howard Hinnant
2017-07-07 20:14:51 -04:00
parent 8c3531f259
commit cd01e92ba4

@@ -221,14 +221,13 @@ main()
```
<a name="Date_Period_Calculations"></a>
### Date Period Calculations
```c++
#include "date.h"
#include <iostream>
#include "date.h"
#include <iostream>
#include <iterator>
int
main()
{
int
main()
{
using namespace date;
using date_period = std::pair<year_month_day, year_month_day>;
constexpr date_period ps[] =
@@ -249,8 +248,8 @@ main()
<< d << " --> "
<< p.first << " / " << p.second << '\n';
}
}
}
```
<a name="Print_Holidays"></a>
### Print Holidays