Name | Description | |
---|---|---|
LxDuration Constructor | Overloaded. |
The following tables list the members exposed by LxDuration.
Name | Description | |
---|---|---|
LxDuration Constructor | Overloaded. |
Name | Description | |
---|---|---|
Days | The number of Days | |
Hours | The number of Hours | |
IsNegative | Indicates if this is a negative duration | |
IsZero | Indicates if the duration is 0 | |
MicroSeconds | The number of MicroSeconds | |
MilliSeconds | The number of MilliSeconds | |
Minutes | The number of Minutes | |
Months | The number of Months | |
NanoSeconds | The number of NanoSeconds | |
Normalized | Gets a value which has been Normalized i.e. all values have been overflowed leaving them below there notional maximums. | |
Seconds | The number of Seconds | |
Years | The number of Years |
Name | Description | |
---|---|---|
Clone | ||
Equals | Indicates whether this instance and a specified object are equal. Compares the raw values | |
GetHashCode | Serves 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. | |
Negate | Creates a copy of the LxDuration which is the negative of this one. | |
ParseXsdDayTimeDuration | Parses a string containing an xs:dayTimeDuration (XSD 1.1) | |
ParseXsdDuration | Parses a string containing an xs:duration | |
ParseXsdYearMonthDuration | Parses a string containing an xs:yearMonthDuration (XSD 1.1) | |
ToString | Returns 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. | |
ToTimeSpan | Gets the duration as a TimeSpan (NOTE: throws if the duration contains months or years) | |
TryParseXsdDayTimeDuration | Parses a string containing an xs:dayTimeDuration (XSD 1.1) | |
TryParseXsdDuration | Parses a string containing an xs:duration | |
TryParseXsdYearMonthDuration | Parses a string containing an xs:yearMonthDuration (XSD 1.1) |
Equality | Compares the raw values |
Inequality | Compares the raw values |