The methods of the Duration class are listed below. For a complete list of Duration class members, see the Duration Members topic.
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) |
Gets the Type of the current instance. |
ToString |
Formats this duration object as a String in the format prescribed in the W3C description of XML datatypes for a duration. Example: -P2Y4M5DT3H5M42.057SRepresents a duration of minus 2 years, 4 months, 5 days, 3 hours, 5 minutes, and 42.0575 seconds. |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
Duration Class | Marklogic.Xcc.Types Namespace