cf
TimeDuration.
isint
True if the time duration is a whole number.
New in version 1.0.
>>> cf.TimeDuration(2, 'hours').isint True >>> cf.TimeDuration(2.0, 'hours').isint True >>> cf.TimeDuration(2.5, 'hours').isint False
cf.TimeDuration.Units
cf.TimeDuration.iso