The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::wsdb::types::datetime::gYear

Namespace Code for ::wsdb::types::datetime::gYear

namespace eval ::wsdb::types::datetime::gYear {
    variable base xsd::string
    variable pattern {\A(-)?([0-9]{4}|[1-9]{1}[0-9]{4,})(Z|(([\+\-]{1}))?((?:(14)(?::)(00))|(?:([0][0-9]|[1][0-3])(?::)([0-5][0-9]))))?\Z}
    variable validate ::wsdb::types::datetime::gYear::validate

}

Procedures in ::wsdb::types::datetime::gYear


proc ::wsdb::types::datetime::gYear::validate {
    value
} {
        variable base
        variable pattern
        if {[::wsdb::types::${base}::validate $value] && [regexp $pattern $value]} {
            return 1
        } else {
            return 0
     }}