MarkLogic XCC/.Net Library |

# Duration Properties

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

#### Public Instance Properties

Days | The number of days in this Duration.
Hours | The number of hours in this Duration.
Minutes | The number of minutes in this Duration.
Months | The number of months in this Duration.
Negative | True if this is a negative Duration.
Positive | True if this is a positive Duration.
Seconds | The number of seconds, possibly a fractional value, in this Duration.
Sign | The sign of this duration. True indicates negative, false means positive (the default).
WholeSeconds | The number of whole seconds in this Duration.
Years | The number of years in this Duration.

#### See Also

Duration Class | Marklogic.Xcc.Types Namespace