calendar::compare_day_items_by_current_hour (private)
calendar::compare_day_items_by_current_hour a b
Defined in packages/calendar/tcl/calendar-procs.tcl
Compare a day item by the current hour (field 0). This is needed by the one-day view for sorting.
- Parameters:
- a (required)
- b (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set a_criterium [lindex $a 0] set b_criterium [lindex $b 0] if {$a_criterium > $b_criterium} { return 1 } elseif {$a_criterium < $b_criterium} { return -1 } return 0Generic XQL file: packages/calendar/tcl/calendar-procs.xql
PostgreSQL XQL file: packages/calendar/tcl/calendar-procs-postgresql.xql
Oracle XQL file: packages/calendar/tcl/calendar-procs-oracle.xql