diff options
author | Tom <tomut@yahoo.com> | 2021-03-07 23:34:13 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-08 15:29:11 +0100 |
commit | 183b2e71ba8d85293db493cab27b8adb4af54981 (patch) | |
tree | 9bf440fa5c076572fed966cb04fa5840a2f5fb08 /Documentation | |
parent | 42bc229500049ef816a45ce32a19d8987918e6a4 (diff) | |
download | serenity-183b2e71ba8d85293db493cab27b8adb4af54981.zip |
AK: Take advantage of constexpr in Time and add time conversion methods
By making the Time constructor constexpr we can optimize creating a
Time instance from hardcoded values.
Also add more functions to convert between Time and various time units.
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions