38 lines
2.5 KiB
Markdown
38 lines
2.5 KiB
Markdown
[time.general]
|
||
|
||
# 30 Time library [[time]](./#time)
|
||
|
||
## 30.1 General [time.general]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L6)
|
||
|
||
This Clause describes the chrono library ([[time.syn]](time.syn "30.2 Header <chrono> synopsis")) and various C
|
||
functions ([[ctime.syn]](ctime.syn "30.15 Header <ctime> synopsis")) that provide generally useful time
|
||
utilities, as summarized in Table [130](#tab:time.summary "Table 130: Time library summary")[.](#1.sentence-1)
|
||
|
||
Table [130](#tab:time.summary) — Time library summary [[tab:time.summary]](./tab:time.summary)
|
||
|
||
| [ð](#tab:time.summary-row-1) | **Subclause** | **Header** |
|
||
| --- | --- | --- |
|
||
| [ð](#tab:time.summary-row-2)<br>[[time.clock.req]](time.clock.req "30.3 Cpp17Clock requirements") | *Cpp17Clock* requirements | |
|
||
| [ð](#tab:time.summary-row-3)<br>[[time.traits]](time.traits "30.4 Time-related traits") | Time-related traits | <chrono> |
|
||
| [ð](#tab:time.summary-row-4)<br>[[time.duration]](time.duration "30.5 Class template duration") | Class template duration | |
|
||
| [ð](#tab:time.summary-row-5)<br>[[time.point]](time.point "30.6 Class template time_point") | Class template time_point | |
|
||
| [ð](#tab:time.summary-row-6)<br>[[time.clock]](time.clock "30.7 Clocks") | Clocks | |
|
||
| [ð](#tab:time.summary-row-7)<br>[[time.cal]](time.cal "30.8 The civil calendar") | Civil calendar | |
|
||
| [ð](#tab:time.summary-row-8)<br>[[time.hms]](time.hms "30.9 Class template hh_mm_ss") | Class template hh_mm_ss | |
|
||
| [ð](#tab:time.summary-row-9)<br>[[time.12]](time.12 "30.10 12/24 hours functions") | 12/24 hour functions | |
|
||
| [ð](#tab:time.summary-row-10)<br>[[time.zone]](time.zone "30.11 Time zones") | Time zones | |
|
||
| [ð](#tab:time.summary-row-11)<br>[[time.format]](time.format "30.12 Formatting") | Formatting | |
|
||
| [ð](#tab:time.summary-row-12)<br>[[time.parse]](time.parse "30.13 Parsing") | Parsing | |
|
||
| [ð](#tab:time.summary-row-13)<br>[[time.hash]](time.hash "30.14 Hash support") | Hash support | |
|
||
| [ð](#tab:time.summary-row-14)<br>[[ctime.syn]](ctime.syn "30.15 Header <ctime> synopsis") | C library time utilities | <ctime> |
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L28)
|
||
|
||
Let *STATICALLY-WIDEN*<charT>("...") be"..." if charT is char andL"..." if charT is wchar_t[.](#2.sentence-1)
|