Create directive to validate total time.
Validate total class tie.