template::util::date::defaultInterval (public)
template::util::date::defaultInterval what
Defined in packages/acs-templating/tcl/date-procs.tcl
Get the default ranges for all the numeric fields of a Date object
- Parameters:
- what (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: switch -- $what { year { return [list 2002 2012 1 ] } month { return [list 1 12 1] } day { return [list 1 31 1] } hours { return [list 0 23 1] } minutes { return [list 0 59 5] } seconds { return [list 0 59 5] } short_year { return [list 0 10 1] } short_hours { return [list 1 12 1] } }XQL Not present: Generic, PostgreSQL, Oracle