mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
AK: Introduce UnixDateTime
This is a generic wrapper for a time instant relative to the unix epoch, and does not account for leap seconds. It should be used in place of Duration in most current cases.
This commit is contained in:
parent
0dfcaf1389
commit
c1323febc2
Notes:
sideshowbarker
2024-07-17 08:13:43 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: c1323febc2
Pull-request: https://github.com/SerenityOS/serenity/pull/17842
Reviewed-by: https://github.com/me-minus
Reviewed-by: https://github.com/timschumi
7 changed files with 154 additions and 0 deletions
|
@ -46,6 +46,7 @@ class StringBuilder;
|
|||
class StringImpl;
|
||||
class StringView;
|
||||
class URL;
|
||||
class UnixDateTime;
|
||||
class Utf16View;
|
||||
class Utf32CodePointIterator;
|
||||
class Utf32View;
|
||||
|
@ -196,6 +197,7 @@ using AK::StringBuilder;
|
|||
using AK::StringImpl;
|
||||
using AK::StringView;
|
||||
using AK::Traits;
|
||||
using AK::UnixDateTime;
|
||||
using AK::URL;
|
||||
using AK::Utf16View;
|
||||
using AK::Utf32CodePointIterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue