Liquid XML Data Binder 2021
Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib19 / DateTime / Java setTime - DateTime
In This Topic
    Java setTime - DateTime
    In This Topic
    public void setTime(byte hour,
                                       byte min,
                                       byte sec)
        throws LtInvalidValueException, LtInvalidStateException
    public void setTime(byte hour,
                                       byte min,
                                       byte sec,
                                       short milli,
                                       short micro,
                                       short nano)
        throws LtInvalidValueException, LtInvalidStateException
      Property Description  
        Argument hour sets the Hours part of the date. (Valid Range = 0 to 23)  
        Argument min sets the Minutes part of the date. (Valid Range = 0 to 59)  
        Argument sec sets the Seconds part of the date. (Valid Range = 0 to 59)  
        Argument milli sets the Milli-Seocnds part of the date. (Valid Range = 0 to 999)  
        Argument micro sets the Micro-Seocnds part of the date. (Valid Range = 0 to 999)  
        Argument nano sets the Nano-Seocnds part of the date. (Valid Range = 0 to 9)  
        Description Populates this DateTime as type time.  
        Remarks Throws: LtInvalidValueException thrown on parsing invalid values.
    Throws: LtInvalidStateException thrown if this DateTimes current type is not either zeroYear or time.