LiquidTechnologies.XmlObjects Namespace / LxDuration Structure
Fields Properties Methods


In This Topic
    LxDuration Structure Members
    In This Topic

    The following tables list the members exposed by LxDuration.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)The Zero datetime  
    Top
    Public Properties
     NameDescription
    Public PropertyThe number of Days  
    Public PropertyThe number of Hours  
    Public PropertyIndicates if this is a negative duration  
    Public PropertyIndicates if the duration is 0  
    Public PropertyThe number of MicroSeconds  
    Public PropertyThe number of MilliSeconds  
    Public PropertyThe number of Minutes  
    Public PropertyThe number of Months  
    Public PropertyThe number of NanoSeconds  
    Public PropertyGets a value which has been Normalized i.e. all values have been overflowed leaving them below there notional maximums.  
    Public PropertyThe number of Seconds  
    Public PropertyThe number of Years  
    Top
    Public Methods
     NameDescription
    Public Method  
    Public MethodIndicates whether this instance and a specified object are equal. Compares the raw values  
    Public MethodServes as the default hash function.Returns the hash code for this instance.Serves as the default hash function.Returns the hash code for this instance.  
    Public MethodCreates a copy of the LxDuration which is the negative of this one.  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:dayTimeDuration (XSD 1.1)  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:duration  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:yearMonthDuration (XSD 1.1)  
    Public MethodReturns a string that represents the current object.Returns the fully qualified type name of this instance.Returns a string that represents the current object.Returns the fully qualified type name of this instance.  
    Public MethodGets the duration as a TimeSpan (NOTE: throws if the duration contains months or years)  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:dayTimeDuration (XSD 1.1)  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:duration  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:yearMonthDuration (XSD 1.1)  
    Top
    Public Operators
    Compares the raw values
    Compares the raw values
    Top
    See Also