string.To{Lower,Upper}()
spanDuration
Likelihood that `spanDuration` is greater than E+7 is quite low in any realistic case, so this should work fine.