Add timeout param to ConditionVariable#wait
Add Time#getlocal and #localtime optional argument