Implemented opening hours. Closes VOP-576.
Remove unused function.