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

Web Service Links

Namespace Children of ::wsdb::types::datetime::gYearMonth

Namespace Code for ::wsdb::types::datetime::gYearMonth

namespace eval ::wsdb::types::datetime::gYearMonth {
    variable base xsd::string
    variable pattern {\A(-)?([0-9]{4}|[1-9]{1}[0-9]{4,})(?:-)(?:([0][1-9]|[1][0-2]))\Z}
    variable validate ::wsdb::types::datetime::gYearMonth::validate

}

Procedures in ::wsdb::types::datetime::gYearMonth


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