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):
%3 template::util::date::now_min_interval template::util::date::now_min_interval (public) template::util::date::defaultInterval template::util::date::defaultInterval template::util::date::now_min_interval->template::util::date::defaultInterval template::util::date::now_min_interval_plus_hour template::util::date::now_min_interval_plus_hour (public, deprecated) template::util::date::now_min_interval_plus_hour->template::util::date::defaultInterval template::widget::dateFragment template::widget::dateFragment (public) template::widget::dateFragment->template::util::date::defaultInterval

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
[ hide source ] | [ make this the default ]
Show another procedure: