Implement TimeOfDay constraint.