tmp/tmpqcrh11lz/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Member functions <a id="time.cal.md.members">[[time.cal.md.members]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
constexpr month_day(const chrono::month& m, const chrono::day& d) noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* Initializes `m_` with `m`, and `d_` with `d`.
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
constexpr chrono::month month() const noexcept;
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
*Returns:* `m_`.
|
| 14 |
+
|
| 15 |
+
``` cpp
|
| 16 |
+
constexpr chrono::day day() const noexcept;
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
*Returns:* `d_`.
|
| 20 |
+
|
| 21 |
+
``` cpp
|
| 22 |
+
constexpr bool ok() const noexcept;
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
*Returns:* `true` if `m_.ok()` is `true`, `1d <= d_`, and `d_` is less
|
| 26 |
+
than or equal to the number of days in month `m_`; otherwise returns
|
| 27 |
+
`false`. When `m_ == February`, the number of days is considered to be
|
| 28 |
+
29.
|
| 29 |
+
|