From Jason Turner

[time.zone.link]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp0e_zz4ew/{from.md → to.md} +52 -0
tmp/tmp0e_zz4ew/{from.md → to.md} RENAMED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Class `time_zone_link` <a id="time.zone.link">[[time.zone.link]]</a>
2
+
3
+ #### Overview <a id="time.zone.link.overview">[[time.zone.link.overview]]</a>
4
+
5
+ ``` cpp
6
+ namespace std::chrono {
7
+ class time_zone_link {
8
+ public:
9
+ time_zone_link(time_zone_link&&) = default;
10
+ time_zone_link& operator=(time_zone_link&&) = default;
11
+
12
+ // unspecified additional constructors
13
+
14
+ string_view name() const noexcept;
15
+ string_view target() const noexcept;
16
+ };
17
+ }
18
+ ```
19
+
20
+ A `time_zone_link` specifies an alternative name for a `time_zone`.
21
+ `time_zone_link`s are constructed when the time zone database is
22
+ initialized.
23
+
24
+ #### Member functions <a id="time.zone.link.members">[[time.zone.link.members]]</a>
25
+
26
+ ``` cpp
27
+ string_view name() const noexcept;
28
+ ```
29
+
30
+ *Returns:* The alternative name for the time zone.
31
+
32
+ ``` cpp
33
+ string_view target() const noexcept;
34
+ ```
35
+
36
+ *Returns:* The name of the `time_zone` for which this `time_zone_link`
37
+ provides an alternative name.
38
+
39
+ #### Non-member functions <a id="time.zone.link.nonmembers">[[time.zone.link.nonmembers]]</a>
40
+
41
+ ``` cpp
42
+ bool operator==(const time_zone_link& x, const time_zone_link& y) noexcept;
43
+ ```
44
+
45
+ *Returns:* `x.name() == y.name()`.
46
+
47
+ ``` cpp
48
+ strong_ordering operator<=>(const time_zone_link& x, const time_zone_link& y) noexcept;
49
+ ```
50
+
51
+ *Returns:* `x.name() <=> y.name()`.
52
+