Reviewed: https://review.openstack.org/8225 Committed: http://github.com/openstack/openstack-common/commit/e67d7775a7a3347c795a5ff3ed8166f850b8598e Submitter: Jenkins Branch: master
commit e67d7775a7a3347c795a5ff3ed8166f850b8598e Author: Zhongyue Luo <email address hidden> Date: Wed Jun 6 17:51:07 2012 +0800
Add nova time util functions to timeutils
Fixes bug #1009410
1. Add the following functions from nova/utils.py - strtime - parse_strtime - is_older_than - utcnow_ts - advance_time_delta - advance_time_seconds
2. Write unittests in tests/unit/test_timeutils.py
Change-Id: Ie0bba90833e2ed31bb5ab867a7c1a76a9901cacb
Reviewed: https:/ /review. openstack. org/8225 github. com/openstack/ openstack- common/ commit/ e67d7775a7a3347 c795a5ff3ed8166 f850b8598e
Committed: http://
Submitter: Jenkins
Branch: master
commit e67d7775a7a3347 c795a5ff3ed8166 f850b8598e
Author: Zhongyue Luo <email address hidden>
Date: Wed Jun 6 17:51:07 2012 +0800
Add nova time util functions to timeutils
Fixes bug #1009410
1. Add the following functions from nova/utils.py time_seconds
- strtime
- parse_strtime
- is_older_than
- utcnow_ts
- advance_time_delta
- advance_
2. Write unittests in tests/unit/ test_timeutils. py
Change-Id: Ie0bba90833e2ed 31bb5ab867a7c1a 76a9901cacb