Trying to make the OpeningHours interface non event driven.

See also: https://github.com/evgenyneu/js-evaluator-for-android/issues/7