The following operations are supported. For a formal definition,
please review the
Service Description.
Web Service Links
Namespace Children of ::wsdb::types::datetime::year
Namespace Code for ::wsdb::types::datetime::year
namespace eval ::wsdb::types::datetime::year {
variable base xsd::integer
variable pattern {\A(-)?([0-9]{4}|[1-9]{1}[0-9]{4,})\Z}
variable validate ::wsdb::types::datetime::year::validate
}
Procedures in ::wsdb::types::datetime::year
proc ::wsdb::types::datetime::year::validate {
value
} {
variable base
variable pattern
if {[::wsdb::types::${base}::validate $value] && [regexp $pattern $value]} {
return 1
} else {
return 0
}}