_acs-datetime__dt_num_days_in_month (private)
_acs-datetime__dt_num_days_in_month
Defined in packages/acs-datetime/tcl/test/acs-datetime-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ # # Test all months of 2003 # set year 2003 set month_days {1 31 2 28 3 31 4 30 5 31 6 30 7 31 8 31 9 30 10 31 11 30 12 31} dict for {month days} $month_days { aa_equals "Number of days in month $month is $days" "[dt_num_days_in_month $year $month]" "$days" } }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "dt_num_days_in_month (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle