mirror of
https://github.com/marzer/tomlplusplus.git
synced 2026-02-09 23:52:13 +00:00
189 lines
10 KiB
HTML
189 lines
10 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en"><head>
|
|
<meta charset="utf-8"/>
|
|
<title>toml::date struct | toml++ TOML
|
|
for
|
|
modern
|
|
C++</title>
|
|
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" rel="stylesheet"/>
|
|
<link href="m-dark+documentation.compiled.css" rel="stylesheet"/>
|
|
<link href="tomlplusplus.css" rel="stylesheet"/>
|
|
<link href="favicon.ico" rel="icon" type="image/vnd.microsoft.icon"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<meta content="#22272e" name="theme-color"/>
|
|
<meta content="gbtcNgKlNiPSMKkYMw4zWFVWGPH_oU93m9n_-nb4qK8" name="google-site-verification"/>
|
|
<meta content="Header-only
|
|
TOML
|
|
config
|
|
file
|
|
parser
|
|
and
|
|
serializer
|
|
for
|
|
modern
|
|
C++." name="description"/>
|
|
<script src="tomlplusplus.js"></script>
|
|
</head>
|
|
<body>
|
|
<header><nav id="navigation">
|
|
<div class="m-container">
|
|
<div class="m-row">
|
|
<a class="m-col-t-8 m-col-m-none m-left-m" href="index.html" id="m-navbar-brand"><img src="logo.png"/>toml++ <span class="m-thin">TOML
|
|
for
|
|
modern
|
|
C++</span></a>
|
|
<div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
|
|
<a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
|
<path d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z" id="m-doc-search-icon-path"></path>
|
|
</svg></a>
|
|
<a href="#navigation" id="m-navbar-show" title="Show navigation"></a>
|
|
<a href="#" id="m-navbar-hide" title="Hide navigation"></a>
|
|
</div>
|
|
<div class="m-col-t-12 m-show-m m-col-m-none m-right-m" id="m-navbar-collapse">
|
|
<div class="m-row">
|
|
<ol class="m-col-t-6 m-col-m-none">
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
</ol>
|
|
<ol class="m-col-t-6 m-col-m-none" start="2">
|
|
<li><a href="annotated.html">Classes</a></li>
|
|
<li><a class="github" href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a></li>
|
|
<li class="m-show-m"><a class="m-doc-search-icon" href="#search" onclick="return showSearch()" title="Search"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
|
|
<use href="#m-doc-search-icon-path"></use>
|
|
</svg></a></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav></header>
|
|
<main><article>
|
|
<div class="m-container m-container-inflatable">
|
|
<div class="m-row">
|
|
<div class="m-col-l-10 m-push-l-1">
|
|
<h1>
|
|
<span class="m-breadcrumb"><a href="namespacetoml.html">toml</a>::<wbr/></span><a class="m-doc tpp-injected" href="structtoml_1_1date.html">date</a> <span class="m-thin">struct</span> <span class="m-label m-flat m-warning">final</span>
|
|
</h1>
|
|
<p>A local <a class="m-doc tpp-injected" href="structtoml_1_1date.html">date</a>.</p>
|
|
<div class="m-block m-default">
|
|
<h3>Contents</h3>
|
|
<ul>
|
|
<li>
|
|
Reference
|
|
<ul>
|
|
<li><a href="#pub-attribs">Public variables</a></li>
|
|
<li><a href="#friends">Friends</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<section id="pub-attribs">
|
|
<h2><a href="#pub-attribs">Public variables</a></h2>
|
|
<dl class="m-doc">
|
|
<dt id="a8ec7a7238b8edd3341b450a7b43ec011"> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a8ec7a7238b8edd3341b450a7b43ec011">day</a>
|
|
</dt>
|
|
<dd>The day component, from 1 - 31.</dd>
|
|
<dt id="a0528c722d0a81741a95f6e3a1116614e"> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint8_t</a> <a class="m-doc-self" href="#a0528c722d0a81741a95f6e3a1116614e">month</a>
|
|
</dt>
|
|
<dd>The month component, from 1 - 12.</dd>
|
|
<dt id="ad1dc522b115c69dc908540b1c6ff792b"> <a class="m-doc tpp-injected tpp-external" href="https://en.cppreference.com/w/cpp/types/integer" target="_blank">uint16_t</a> <a class="m-doc-self" href="#ad1dc522b115c69dc908540b1c6ff792b">year</a>
|
|
</dt>
|
|
<dd>The year component.</dd>
|
|
</dl>
|
|
</section>
|
|
<section id="friends">
|
|
<h2><a href="#friends">Friends</a></h2>
|
|
<dl class="m-doc">
|
|
<dt id="af2ad5cc7af0b184e6fab182f32df8a1c">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af2ad5cc7af0b184e6fab182f32df8a1c">operator!=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Inequality operator.</dd>
|
|
<dt id="af143f183b354544eb5f63a1887e65daa">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af143f183b354544eb5f63a1887e65daa">operator<</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Less-than operator.</dd>
|
|
<dt id="af353d0dbb3eda43ee136ac12b4b94fdd">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#af353d0dbb3eda43ee136ac12b4b94fdd">operator<=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Less-than-or-equal-to operator.</dd>
|
|
<dt id="a07ff3f69b41d69e780aac60d11e8a2a8">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a07ff3f69b41d69e780aac60d11e8a2a8">operator==</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Equality operator.</dd>
|
|
<dt id="a399f4b20d6b9f84a9c093026de0965c2">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#a399f4b20d6b9f84a9c093026de0965c2">operator></a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Greater-than operator.</dd>
|
|
<dt id="aac65e3db8d117aad6dc469d4e5ec77bb">
|
|
<span class="m-doc-wrap-bumper">auto <a class="m-doc-self" href="#aac65e3db8d117aad6dc469d4e5ec77bb">operator>=</a>(</span><span class="m-doc-wrap"><a class="m-doc" href="structtoml_1_1date.html">date</a> lhs,
|
|
<a class="m-doc" href="structtoml_1_1date.html">date</a> rhs) -> friend bool <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
|
|
</dt>
|
|
<dd>Greater-than-or-equal-to operator.</dd>
|
|
</dl>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article></main>
|
|
<div class="m-doc-search" id="search">
|
|
<a href="#!" onclick="return hideSearch()"></a>
|
|
<div class="m-container">
|
|
<div class="m-row">
|
|
<div class="m-col-m-8 m-push-m-2">
|
|
<div class="m-doc-search-header m-text m-small">
|
|
<div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
|
|
<div id="search-symbolcount">…</div>
|
|
</div>
|
|
<div class="m-doc-search-content">
|
|
<form>
|
|
<input autocomplete="off" autofocus="autofocus" disabled="disabled" id="search-input" name="q" placeholder="Loading …" spellcheck="false" type="search"/>
|
|
</form>
|
|
<noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
|
|
<div class="m-text m-dim m-text-center" id="search-help">
|
|
<p class="m-noindent">Search for symbols, directories, files, pages or
|
|
modules. You can omit any prefix from the symbol or file path; adding a
|
|
<code>:</code> or <code>/</code> suffix lists all members of given symbol or
|
|
directory.</p>
|
|
<p class="m-noindent">Use <span class="m-label m-dim">↓</span>
|
|
/ <span class="m-label m-dim">↑</span> to navigate through the list,
|
|
<span class="m-label m-dim">Enter</span> to go.
|
|
<span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
|
|
copy a link to the result using <span class="m-label m-dim">⌘</span>
|
|
<span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
|
|
<span class="m-label m-dim">M</span> produces a Markdown link.</p>
|
|
</div>
|
|
<div class="m-text m-warning m-text-center" id="search-notfound">Sorry, nothing was found.</div>
|
|
<ul id="search-results"></ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="search-v1.js"></script>
|
|
<script async="async" src="searchdata-v1.js"></script>
|
|
<footer><nav>
|
|
<div class="m-container">
|
|
<div class="m-row">
|
|
<div class="m-col-l-10 m-push-l-1">
|
|
<a href="https://github.com/marzer/tomlplusplus/" target="_blank">Github</a>
|
|
•
|
|
|
|
<a href="https://github.com/marzer/tomlplusplus/issues" target="_blank">Report
|
|
an
|
|
issue</a>
|
|
|
|
<br/><br/>Documentation
|
|
generated
|
|
using
|
|
<a href="https://mcss.mosra.cz/">m.css</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav></footer>
|
|
|
|
|
|
</body></html> |