fdo#66507 - accelerate date calculations as used vs. empty cells.

Change-Id: I5cd642db4e0595c96e1af8adf7c7a45f589a259e