diff --git a/Boost-datetime-Examples-Translated.md b/Boost-datetime-Examples-Translated.md index 53a7c43..c1c335d 100644 --- a/Boost-datetime-Examples-Translated.md +++ b/Boost-datetime-Examples-Translated.md @@ -462,7 +462,8 @@ look if ported to this library. auto t = d + 3h + 5s; //an arbitray time on that day if (d <= t && t < d + days{1}) std::cout << d << " contains " << t << '\n'; - // Time periods not part of this library but can be built from a pair of time_points. + // Time periods not part of this library but can be built + // from a pair of time_points. } @@ -523,10 +524,12 @@ an example using the IANA timezone database see the [Local to UTC Conversion](#L auto nyc_arrival = nyc_tz->to_local(utc_arrival); std::cout << "departure phx time: " << phx_departure << '\n'; - std::cout << "arrival phx time: " << floor(phx_arrival.first) - << ' ' << phx_arrival.second << '\n'; - std::cout << "arrival nyc time: " << floor(nyc_arrival.first) - << ' ' << nyc_arrival.second << '\n'; + std::cout << "arrival phx time: " + << floor(phx_arrival.first) + << ' ' << phx_arrival.second << '\n'; + std::cout << "arrival nyc time: " + << floor(nyc_arrival.first) + << ' ' << nyc_arrival.second << '\n'; } // Output: @@ -537,7 +540,8 @@ an example using the IANA timezone database see the [Local to UTC Conversion](#L // // Note that boost states a nyc_arrival time of 2005-Mar-31 06:30:00 EDT // because boost uses the current US daylightsavings rules as opposed to - // those that were in effect in 2005. This library varies its DST rules with the date. + // those that were in effect in 2005. This library varies its DST rules + // with the date. ###Seconds Since Epoch