diff options
| author | Zhongyue Luo <lzyeval@gmail.com> | 2012-06-06 17:51:07 +0800 |
|---|---|---|
| committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-06-06 21:33:01 +0800 |
| commit | e67d7775a7a3347c795a5ff3ed8166f850b8598e (patch) | |
| tree | 40200e63126477e7e2e46488dc596d8205db3565 /openstack/common/plugin/plugin.py | |
| parent | c1f45745e240f9cc0d4e6522a71a895471aa94b3 (diff) | |
| download | oslo-e67d7775a7a3347c795a5ff3ed8166f850b8598e.tar.gz oslo-e67d7775a7a3347c795a5ff3ed8166f850b8598e.tar.xz oslo-e67d7775a7a3347c795a5ff3ed8166f850b8598e.zip | |
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
Diffstat (limited to 'openstack/common/plugin/plugin.py')
0 files changed, 0 insertions, 0 deletions
