From Jason Turner

[time.zone.zonedtime.members]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp056fnus7/{from.md → to.md} +56 -0
tmp/tmp056fnus7/{from.md → to.md} RENAMED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Member functions <a id="time.zone.zonedtime.members">[[time.zone.zonedtime.members]]</a>
2
+
3
+ ``` cpp
4
+ zoned_time& operator=(const sys_time<Duration>& st);
5
+ ```
6
+
7
+ *Effects:* After assignment, `get_sys_time() == st`. This assignment has
8
+ no effect on the return value of `get_time_zone()`.
9
+
10
+ *Returns:* `*this`.
11
+
12
+ ``` cpp
13
+ zoned_time& operator=(const local_time<Duration>& lt);
14
+ ```
15
+
16
+ *Effects:* After assignment, `get_local_time() == lt`. This assignment
17
+ has no effect on the return value of `get_time_zone()`.
18
+
19
+ *Returns:* `*this`.
20
+
21
+ ``` cpp
22
+ operator sys_time<duration>() const;
23
+ ```
24
+
25
+ *Returns:* `get_sys_time()`.
26
+
27
+ ``` cpp
28
+ explicit operator local_time<duration>() const;
29
+ ```
30
+
31
+ *Returns:* `get_local_time()`.
32
+
33
+ ``` cpp
34
+ TimeZonePtr get_time_zone() const;
35
+ ```
36
+
37
+ *Returns:* `zone_`.
38
+
39
+ ``` cpp
40
+ local_time<duration> get_local_time() const;
41
+ ```
42
+
43
+ *Returns:* `zone_->to_local(tp_)`.
44
+
45
+ ``` cpp
46
+ sys_time<duration> get_sys_time() const;
47
+ ```
48
+
49
+ *Returns:* `tp_`.
50
+
51
+ ``` cpp
52
+ sys_info get_info() const;
53
+ ```
54
+
55
+ *Returns:* `zone_->get_info(tp_)`.
56
+