tag_validator_util¶
Utilities to support HED validation.
Functions
|
Check if a valid HH:MM time string. |
|
Check if the specified string is a valid datetime. |
|
Checks to see if valid numeric value. |
|
Placeholder for eventual text value class validation |
- is_clock_face_time(time_string)[source]¶
Check if a valid HH:MM time string.
- Parameters:
time_string (str) – A time string.
- Returns:
True if the time string is valid. False, if otherwise.
- Return type:
bool
Notes
This is deprecated and has no expected use going forward.
- is_date_time(date_time_string)[source]¶
Check if the specified string is a valid datetime.
- Parameters:
date_time_string (str) – A datetime string.
- Returns:
True if the datetime string is valid. False, if otherwise.
- Return type:
bool
Notes
ISO 8601 datetime string.