Liquid XML Data Binder 2019
Java setGYearMonth - DateTime
Liquid XML Data Binder (C++, Java, VB6) > Reference > Java > Reference > com.liquid_technologies.ltxmllib17 > DateTime > Java setGYearMonth - DateTime
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.