Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / DateTime / Java setGYearMonth - DateTime
In This Topic
    Java setGYearMonth - DateTime
    In This Topic
    public void setGYearMonth(short year, byte month)
         throws LtInvalidValueException, LtInvalidStateException
      Property Description  
        Argument month month sets the Month part of the date. Jan = 1, Feb = 2 etc. (Valid Range = 1 to 12)  
        Description Populates this DateTime as type gMonth.  
        Remarks Throws: LtInvalidValueException thrown on parsing invalid values.
    Throws: LtInvalidStateException thrown if this DateTimes current type is not either zeroYear or gMonth.