As part of the time duration logic refactoring effort, use the helpers instead of duplicating the code here.
As part of the time duration logic refactoring effort, use the helpers instead of duplicating the code here.

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son