forked from HowardHinnant/date
Add clock_cast
This commit is contained in:
782
d0355r5.html
782
d0355r5.html
File diff suppressed because it is too large
Load Diff
16
tz.html
16
tz.html
@@ -2679,7 +2679,7 @@ public:
|
|||||||
using time_point = std::chrono::time_point<utc_clock>;
|
using time_point = std::chrono::time_point<utc_clock>;
|
||||||
static constexpr bool is_steady = <i>unspecified</i>;
|
static constexpr bool is_steady = <i>unspecified</i>;
|
||||||
|
|
||||||
static time_point now() noexcept;
|
static time_point now();
|
||||||
|
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
static
|
static
|
||||||
@@ -2715,7 +2715,7 @@ second information. When this is the case, <code>utc_clock</code> will not exis
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
static utc_clock::time_point utc_clock::now() noexcept;
|
static utc_clock::time_point utc_clock::now();
|
||||||
</pre>
|
</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>
|
<p>
|
||||||
@@ -2830,16 +2830,16 @@ public:
|
|||||||
using time_point = std::chrono::time_point<tai_clock>;
|
using time_point = std::chrono::time_point<tai_clock>;
|
||||||
static constexpr bool is_steady = <i>unspecified</i>;
|
static constexpr bool is_steady = <i>unspecified</i>;
|
||||||
|
|
||||||
static time_point now() noexcept;
|
static time_point now();
|
||||||
|
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
static
|
static
|
||||||
utc_time<std::common_type_t<Duration, std::chrono::seconds>>
|
utc_time<std::common_type_t<Duration, std::chrono::seconds>>
|
||||||
to_utc(const std::chrono::time_point<tai_clock, Duration>&) noexcept;
|
to_utc(const tai_time<Duration>&) noexcept;
|
||||||
|
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
static
|
static
|
||||||
tai_time<std::common_type<Duration, std::chrono::seconds>>
|
tai_time<std::common_type_t<Duration, std::chrono::seconds>>
|
||||||
from_utc(const utc_time<Duration>&) noexcept;
|
from_utc(const utc_time<Duration>&) noexcept;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2864,7 +2864,7 @@ second information. When this is the case, <code>tai_clock</code> will not exis
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
static tai_clock::time_point tai_clock::now() noexcept;
|
static tai_clock::time_point tai_clock::now();
|
||||||
</pre>
|
</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>
|
<p>
|
||||||
@@ -2891,7 +2891,7 @@ to_utc(const std::chrono::time_point<tai_clock, Duration>& t) noexcept
|
|||||||
<pre>
|
<pre>
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
static
|
static
|
||||||
tai_time<std::common_type<Duration, std::chrono::seconds>>
|
tai_time<std::common_type_t<Duration, std::chrono::seconds>>
|
||||||
tai_clock::from_utc(const utc_time<Duration>& t) noexcept;
|
tai_clock::from_utc(const utc_time<Duration>& t) noexcept;
|
||||||
</pre>
|
</pre>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
@@ -2975,7 +2975,7 @@ public:
|
|||||||
using time_point = std::chrono::time_point<gps_clock>;
|
using time_point = std::chrono::time_point<gps_clock>;
|
||||||
static constexpr bool is_steady = <i>unspecified</i>;
|
static constexpr bool is_steady = <i>unspecified</i>;
|
||||||
|
|
||||||
static time_point now() noexcept;
|
static time_point now();
|
||||||
|
|
||||||
template <class Duration>
|
template <class Duration>
|
||||||
static
|
static
|
||||||
|
Reference in New Issue
Block a user