tmp/tmpu0c178zh/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Non-member functions <a id="time.zone.zonedtime.nonmembers">[[time.zone.zonedtime.nonmembers]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
template<class Duration1, class Duration2, class TimeZonePtr>
|
| 5 |
+
bool operator==(const zoned_time<Duration1, TimeZonePtr>& x,
|
| 6 |
+
const zoned_time<Duration2, TimeZonePtr>& y);
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Returns:* `x.zone_ == y.zone_ && x.tp_ == y.tp_`.
|
| 10 |
+
|
| 11 |
+
``` cpp
|
| 12 |
+
template<class charT, class traits, class Duration, class TimeZonePtr>
|
| 13 |
+
basic_ostream<charT, traits>&
|
| 14 |
+
operator<<(basic_ostream<charT, traits>& os,
|
| 15 |
+
const zoned_time<Duration, TimeZonePtr>& t);
|
| 16 |
+
```
|
| 17 |
+
|
| 18 |
+
*Effects:* Streams the value returned from `t.get_local_time()` to `os`
|
| 19 |
+
using the format `"%F %T %Z"`.
|
| 20 |
+
|
| 21 |
+
*Returns:* `os`.
|
| 22 |
+
|