diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-16 18:42:24 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-31 17:35:13 +0100 |
commit | 19c913b43d0cadc0fee3081be4043bd6f083f8f7 (patch) | |
tree | 1168246a797f7fdf8fea9a448c565ca6608b3489 /tests/benchmarks/corelib/kernel/qobject | |
parent | 0e653246b163adb58d0fd955f45aaefc8a506443 (diff) |
Deploy QRoundingDown::qDivMod() in date-time calculations
This saves duplicate computations and incidentally now fixes some
overflow issues. In the process, simplify some calendrical
calculations.
Fixes: QTBUG-109845
Change-Id: Iee331803e8281bbf822a001722a6faa3e66f6322
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/benchmarks/corelib/kernel/qobject')
0 files changed, 0 insertions, 0 deletions