namespace eval ::wsdb::types::datetime::dayNumber { variable base xsd::integer variable validate ::wsdb::types::datetime::dayNumber::validate }
proc ::wsdb::types::datetime::dayNumber::validate { value } { variable base if {[::wsdb::types::${base}::validate "$value"] && [lsearch -exact {0 1 2 3 4 5 6} "$value"] > -1} { return 1 } else { return 0 } }