COOPR-581: improve date constants usage