diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-23 19:57:01 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-31 17:35:13 +0100 |
| commit | 5a91b734f2ac42df694c8052eaaf39c03c7cfab0 (patch) | |
| tree | ae9892d39d34da5a673cd5da22c5dcd980afd2b8 /src/network/ssl/qtlsbackend.cpp | |
| parent | 1cc4ca3e2c91201a4b223d78daf2481f67e402fb (diff) | |
Shuffle QGregorianCalendar's parts
Before I embark on some cleanup in the calendrical calculations, move
julianFromParts() to alongside partsFromJulian() - they're the static
methods used to bypass virtuals internally - and pull out a duplicated
comment from them to put before both.
Move julianDayToDate() to sit with its fellow virtual shim, each
calling one of the above, dateToJulianDay().
Change-Id: I581c08bae4c921c4a5cd48eebb66d46035d7d046
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/ssl/qtlsbackend.cpp')
0 files changed, 0 insertions, 0 deletions
