summaryrefslogtreecommitdiff
path: root/AK/Time.h
AgeCommit message (Expand)Author
2023-01-21Everywhere: Remove string.h include from AK/Traits.h and resolve falloutAndrew Kaster
2023-01-07AK: Reimplement comparisons on AK::Time using operator<=>Andrew Kaster
2023-01-07AK: Remove global free function comparison operators for timespecAndrew Kaster
2023-01-07AK: Add user defined literals for Time for ns, us, ms, and secAndrew Kaster
2023-01-02AK+Kernel: Eliminate UB (signed overflow) from days_since_epochBen Wiederhake
2023-01-02AK+Tests: Replace years_to_days_since_epoch by near-instant functionBen Wiederhake
2022-12-03Everywhere: Run clang-formatLinus Groh
2022-11-26AK: Make it possible to not `using` AK classes into the global namespaceAndreas Kling
2022-11-06Everywhere: Remove redundant inequality comparison operatorsDaniel Bertalan
2022-09-29Lagom: Win32 support baby stepsDiego Iastrubni
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-02-28AK: Add Time::from_ticks()Lucas CHOLLET
2022-01-23AK: Implement AK::Time's seconds_since_epoch_to_year without LibMTimothy Flynn
2022-01-19AK: Add helper to convert an epoch time in seconds to a yearTimothy Flynn
2022-01-14AK: Use appropriate types in AK::Time::from_timestamp factoryTimothy Flynn
2022-01-11AK: Add AK::Time factory method to construct from individual time fieldsTimothy Flynn
2022-01-11AK: Redeclare a few AK::Time helpers as constexprTimothy Flynn
2022-01-05AK: Add Time.h helper to compute the number of days since epochTimothy Flynn
2022-01-05AK: Move TimeSpecType concept inside the AK namespaceTimothy Flynn
2021-11-14AK: Avoid implicit conversion clang-tidy warnings in AK::TimeAndrew Kaster
2021-11-14AK: Resolve clang-tidy readability-bool-conversion warningsAndrew Kaster
2021-08-19LibCore: Make DateTime's members signedIdan Horowitz
2021-08-15AK: Add Time::is_negative() to detect negative time valuesBrian Gianforcaro
2021-08-15AK: Annotate AK::Time APIs as [[nodiscard]]Brian Gianforcaro
2021-08-15AK: Add Time::now_<clock_id> functions for obtaining the current timeBrian Gianforcaro
2021-08-03AK: Mark Time::max() / Time::min() / Time::zero() as constexprBrian Gianforcaro
2021-07-22AK: Disable clang-format for AK/Time.hGunnar Beutner
2021-07-17AK: Restrict timespec comparison operator overloads in AK::TimeBrian Gianforcaro
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-03-13AK: Fix some overflows/underflows that weren't properly handledBen Wiederhake
2021-03-08AK: Take advantage of constexpr in Time and add time conversion methodsTom
2021-03-08AK: Initialize the AK::Time membersTom
2021-03-02AK: Make Time more usableBen Wiederhake
2021-03-02AK: Implement C++ 'Time' type for easier time-calculationsBen Wiederhake
2021-03-02AK: Remove unused templateBen Wiederhake
2020-12-28AK: Add CLOCK_*_COARSE aliases for darwin and BSD variantsAndrew Kaster
2020-09-25Meta+AK: Make clang-format-10 cleanBen Wiederhake
2020-08-26AK+LibC+LibCore: Have fewer implementations of day_of_weekNico Weber
2020-08-26AK+LibC+LibCore: Add a days_in_year functionNico Weber
2020-08-26AK+LibC+LibCore: Have fewer implementations of days_in_monthNico Weber
2020-08-26AK+LibCore+Kernel: Have fewer implementations of day_of_yearNico Weber
2020-08-26AK+LibC+Kernel: Have fewer implementations of year_to_days_in_epochNico Weber
2020-08-26AK+LibC+LibCore+Kernel: Have fewer implementations of is_leap_yearNico Weber
2020-08-03AK: Add more time convenience functions and comparison operatorsTom
2020-08-03AK: Fix adding timeval/timespecTom
2020-06-22AK: Add timespec_add and timespec_subNico Weber
2020-04-26AK: Add timeval_to_timespec and timespec_to_timeval conversion methodsBrian Gianforcaro
2020-01-18Meta: Add license header to source filesAndreas Kling
2019-06-06AK: Make timeval_add() and timeval_sub() take references.Andreas Kling
2019-05-28LibC: Move struct timeval to sys/time.h. #POSIXAndreas Kling