dt_precision (private)
dt_precision granularity
Defined in packages/acs-datetime/tcl/acs-datetime-procs.tcl
- Parameters:
- granularity (required)
- Returns:
- the precision in minutes corresponding to a named granularity.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: switch -exact $granularity { months { set precision 40000} days { set precision 1440} hours { set precision 60} halves { set precision 30} quarters { set precision 15} fives { set precision 5} minutes { set precision 1} seconds { set precision 0} default { set precision 15} } return $precisionXQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-datetime/tcl/acs-datetime-procs.xql