Liquid XML Data Binder 2021
Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib19 / Java Duration
In This Topic
    Java Duration
    In This Topic
    - Duration Class
    A primitive type to a represent a duration as defined by the XML w3c

    Base Classes:
    Implemented interfaces:
      Members Description  
        clone Makes a copy of the - Duration  
        compareTo    
        Duration    
        equals Compares this - Duration with another  
        getAsNegative    
        getDays Get the number of Days in the Duration  
        getHours Get the number of Hours in the Duration  
        getIsNegative Indicates if the current time span as a negative  
        getMicroSeconds Get the number of Micro Seconds in the Duration  
        getMilliSeconds Get the number of Milli Seconds in the Duration  
        getMinutes Get the number of Minutes in the Duration  
        getMonths Get the number of Months in the Duration  
        getNanoSeconds Get the number of Nano Seconds in the Duration  
        getSeconds Get the number of Seconds in the Duration  
        getYears Get the number of Years in the Duration  
        IsNegative Indicates if the current time span as a negative  
        longer    
        negate    
       

    parseXSDDuration

    Populates this - Duration with the value specified as a valid XML duration ([-]P[nY][nM][nD][T[nH][nM][nS.ff]]).  
        setDays Sets the number of Days in the Duration  
        SetDuration Populates this - Duration.  
        setHours Sets the number of Hours in the Duration  
        setMicroSeconds Sets the number of Micro Seconds in the Duration  
        setMilliSeconds Sets the number of Milli Seconds in the Duration  
        setMinutes Sets the number of Minutes in the Duration  
        setMonths Sets the number of Months in the Duration  
        setNanoSeconds Sets the number of Nano Seconds in the Duration  
        setSeconds Sets the number of Seconds in the Duration  
        setYears Sets the number of Years in the Duration  
        shorter    
        toString Returns a std::string representation of this - Duration ([-]P[nY][nM][nD][T[nH][nM][nS.ff]]).