dt_interval_check (public)
dt_interval_check start end
Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl
Checks the values of start and end to see if they form a valid time interval. Returns: > 0 if end > start 0 if end = start < 0 if end < start Input variables can be any strings that can be converted to times using clock scan.
- Parameters:
- start (required)
- end (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- dt_interval_check
Source code: return [expr {[clock scan $end] - [clock scan $start]}]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-datetime/tcl/acs-datetime-procs.xql