| MarkLogic XCC/.Net Library |
|
Duration Constructor (Boolean, Int32, Int32, Int32, Int32, Int32, Decimal)
Construct a duration object by specifying the individual values.
Parameters
-
negative
- Pass true if the duration should be neagtive, otherwise false.
-
years
- The number of years.
-
months
- The number of months.
-
days
- The number of days.
-
hours
- The number of hours.
-
minutes
- The number of minutes.
-
seconds
- The (possibly fractional) number of seconds. Note that this is specified by a Decimal object. If null, a value of zero is assumed.
See Also
Duration Class | Marklogic.Xcc.Types Namespace | Duration Constructor Overload List