Fix in java version of opening hours.