forked from HowardHinnant/date
Rename Link to link
This commit is contained in:
34
tz.html
34
tz.html
@@ -66,7 +66,7 @@ Commons Attribution 4.0 International License</a>.
|
|||||||
<li><a href="#parse"><code>parse</code></a></li>
|
<li><a href="#parse"><code>parse</code></a></li>
|
||||||
<li><a href="#utc_clock"><code>utc_clock</code></a></li>
|
<li><a href="#utc_clock"><code>utc_clock</code></a></li>
|
||||||
<li><a href="#Leap"><code>Leap</code></a></li>
|
<li><a href="#Leap"><code>Leap</code></a></li>
|
||||||
<li><a href="#Link"><code>Link</code></a></li>
|
<li><a href="#link"><code>link</code></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#Installation">Installation</a></li>
|
<li><a href="#Installation">Installation</a></li>
|
||||||
@@ -120,7 +120,7 @@ Rule: A specification for a single daylight-saving rule. This helps implement
|
|||||||
consolidate the specifications of Zones.
|
consolidate the specifications of Zones.
|
||||||
</p></li>
|
</p></li>
|
||||||
<li><p>
|
<li><p>
|
||||||
Link: This is an alternative name for a Zone.
|
link: This is an alternative name for a Zone.
|
||||||
</p></li>
|
</p></li>
|
||||||
<li><p>
|
<li><p>
|
||||||
Leap: The date of the insertion of a leap second.
|
Leap: The date of the insertion of a leap second.
|
||||||
@@ -768,7 +768,7 @@ struct TZ_DB
|
|||||||
{
|
{
|
||||||
std::string version;
|
std::string version;
|
||||||
std::vector<time_zone> zones;
|
std::vector<time_zone> zones;
|
||||||
std::vector<Link> links;
|
std::vector<link> links;
|
||||||
std::vector<Leap> leaps;
|
std::vector<Leap> leaps;
|
||||||
std::vector<Rule> rules;
|
std::vector<Rule> rules;
|
||||||
};
|
};
|
||||||
@@ -840,9 +840,9 @@ database if this is the first reference to the database.
|
|||||||
<p>
|
<p>
|
||||||
<i>Returns:</i> If a <code>time_zone</code> is found for which
|
<i>Returns:</i> If a <code>time_zone</code> is found for which
|
||||||
<code>name() == tz_name</code>, returns a pointer to that <code>time_zone</code>.
|
<code>name() == tz_name</code>, returns a pointer to that <code>time_zone</code>.
|
||||||
Otherwise if a <code>Link</code> is found where <code>tz_name == link.name()</code>,
|
Otherwise if a <code>link</code> is found where <code>tz_name == link.name()</code>,
|
||||||
then a pointer is returned to the <code>time_zone</code> for which
|
then a pointer is returned to the <code>time_zone</code> for which
|
||||||
<code>zone.name() == link.target()</code> [<i>Note:</i> A <code>Link</code> is an
|
<code>zone.name() == link.target()</code> [<i>Note:</i> A <code>link</code> is an
|
||||||
alternative name for a <code>time_zone</code>. <i>— end note</i>]
|
alternative name for a <code>time_zone</code>. <i>— end note</i>]
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -2396,14 +2396,14 @@ with <code>sys_time<Duration></code>.
|
|||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<a name="Link"></a><h3><code>Link</code></h3>
|
<a name="link"></a><h3><code>link</code></h3>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<pre>
|
<pre>
|
||||||
class Link
|
class link
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Link(const Link&) = default;
|
link(const link&) = default;
|
||||||
Link& operator=(const Link&) = default;
|
link& operator=(const link&) = default;
|
||||||
|
|
||||||
// Undocumented constructors
|
// Undocumented constructors
|
||||||
|
|
||||||
@@ -2411,17 +2411,17 @@ public:
|
|||||||
const std::string& target() const;
|
const std::string& target() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool operator==(const Link& x, const Link& y);
|
bool operator==(const link& x, const link& y);
|
||||||
bool operator!=(const Link& x, const Link& y);
|
bool operator!=(const link& x, const link& y);
|
||||||
bool operator< (const Link& x, const Link& y);
|
bool operator< (const link& x, const link& y);
|
||||||
bool operator> (const Link& x, const Link& y);
|
bool operator> (const link& x, const link& y);
|
||||||
bool operator<=(const Link& x, const Link& y);
|
bool operator<=(const link& x, const link& y);
|
||||||
bool operator>=(const Link& x, const Link& y);
|
bool operator>=(const link& x, const link& y);
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
A <code>Link</code> is an alternative name for a <code>time_zone</code>. The alternative
|
A <code>link</code> is an alternative name for a <code>time_zone</code>. The alternative
|
||||||
name is <code>name()</code>. The name of the <code>time_zone</code> for which this is
|
name is <code>name()</code>. The name of the <code>time_zone</code> for which this is
|
||||||
an alternative name is <code>target()</code>. <code>Link</code>s will be constructed
|
an alternative name is <code>target()</code>. <code>link</code>s will be constructed
|
||||||
for you when the time zone database is initialized.
|
for you when the time zone database is initialized.
|
||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
Reference in New Issue
Block a user