"From time" cannot be later than "To time" and hours cannot be negative