Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DateTime / Java parseXSDDate - DateTime
In This Topic
    Java parseXSDDate - DateTime
    In This Topic
    public void parseXSDDate(String xsdDate)
         throws LtInvalidValueException
      Property Description  
        Argument xsdDate valid XML Schema date  
        Description Populates this DateTime 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(String)
    See: parseXSDTime(String)