Liquid XML Data Binder
Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CDateTime / C++ ParseXSDDate
In This Topic
    C++ ParseXSDDate
    In This Topic
    void ParseXSDDate(LPCTSTR xsdDate);
      Property Description  
        Argument xsdDate valid XML Schema date  
        Description Populates this CDateTime with the value specified as a valid XML Schema date, gDay, gMonth, gYear, gMonthDay or gYearMonth.  
        Remarks A valid date comprises [-]CCYY-MM-DD[[Z]|[[+|-]hh:mm]]
    A valid gDay comprises ---DD[[Z]|[[+|-]hh:mm]]
    A valid gMonth comprises --MM[[Z]|[[+|-]hh:mm]]
    A valid gYear comprises [-]CCYY[[Z]|[[+|-]hh:mm]]
    A valid gMonthDay comprises --MM-DD[[Z]|[[+|-]hh:mm]]
    A valid gYearMonth comprises [-]CCYY-MM[[Z]|[[+|-]hh:mm]]
    where the parts in [...] are optional.

    Throws: LtInvalidValueException thrown on parsing invalid values.
    See: parseXSDDateTime(std::string)
    See: parseXSDTime(std::string)