tmp/tmplvn13_pz/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Member functions <a id="time.clock.file.members">[[time.clock.file.members]]</a>
|
| 2 |
+
|
| 3 |
+
The type denoted by `file_clock` provides precisely one of the following
|
| 4 |
+
two sets of static member functions:
|
| 5 |
+
|
| 6 |
+
``` cpp
|
| 7 |
+
template<class Duration>
|
| 8 |
+
static sys_time<see below>
|
| 9 |
+
to_sys(const file_time<Duration>&);
|
| 10 |
+
template<class Duration>
|
| 11 |
+
static file_time<see below>
|
| 12 |
+
from_sys(const sys_time<Duration>&);
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
or:
|
| 16 |
+
|
| 17 |
+
``` cpp
|
| 18 |
+
template<class Duration>
|
| 19 |
+
static utc_time<see below>
|
| 20 |
+
to_utc(const file_time<Duration>&);
|
| 21 |
+
template<class Duration>
|
| 22 |
+
static file_time<see below>
|
| 23 |
+
from_utc(const utc_time<Duration>&);
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
These member functions shall provide `time_point` conversions consistent
|
| 27 |
+
with those specified by `utc_clock`, `tai_clock`, and `gps_clock`. The
|
| 28 |
+
`Duration` of the resultant `time_point` is computed from the `Duration`
|
| 29 |
+
of the input `time_point`.
|
| 30 |
+
|