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):
%3 dt_widget_datetime dt_widget_datetime (public, deprecated) dt_precision dt_precision dt_widget_datetime->dt_precision

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 $precision
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-datetime/tcl/acs-datetime-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: