diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-09-26 14:38:16 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-09-28 14:51:33 +0200 |
commit | 02d8dc5f8c346e7ce0656511c75c3d7c70538536 (patch) | |
tree | 96490bddbc78983a9b9113e05403dfbed4ff022c /util/harfbuzz | |
parent | 44cbd4c31520017188257bff14f3f1820d8fdf8c (diff) |
I originally wrote dateNormalize() because I expected to need it more,
but it turns out to only be needed for two cases of getting the days
before and after a given one. So rename to adjacentDay(), pass the +1
or -1 step and simplify a little.
In the process, fix a mistake in the winding backwards across a year
boundary, where I'd incremented the year instead of decrementing it.
Change-Id: I1bb0a8323fec7c1caffa7f20879f08d3526ba7ea
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/harfbuzz')
0 files changed, 0 insertions, 0 deletions