MarkLogic XCC/.Net Library

Duration Methods

The methods of the Duration class are listed below. For a complete list of Duration class members, see the Duration Members topic.

Public Instance Methods

Equals Compares this XdmDuration object to the specified object. The result is true if and only if the argument is not null and the sign, year, month, day, hours, minutes, seconds and subseconds values have the same value as this object.
GetHashCode The hashcode for this Duration.
GetType (inherited from Object) 
ToString Formats this duration object as a String in the format prescribed in the W3C description of XML datatypes for a duration.
Example: -P2Y4M5DT3H5M42.057S
Represents a duration of minus 2 years, 4 months, 5 days, 3 hours, 5 minutes, and 42.0575 seconds.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

Duration Class | Marklogic.Xcc.Types Namespace