DateWithZone.Addition Operator (DateWithZone, YearMonthDuration)DateWithZone.Addition Operator (DateWithZone, YearMonthDuration)DateWithZone::Addition Operator (DateWithZone, YearMonthDuration)
Adds a YearMonthDurationYearMonthDurationYearMonthDuration from a DateWithZoneDateWithZoneDateWithZone
Syntax
Public Shared Operator +( _ date As DateWithZone, _ duration As YearMonthDuration _ ) As DateWithZone
public static DateWithZone operator +( DateWithZone date, YearMonthDuration duration )
public: static DateWithZone operator +( DateWithZone date, YearMonthDuration duration )
Parameters
Return Value
Type: XmlPrime.DateWithZoneXmlPrime.DateWithZoneXmlPrime::DateWithZone
The result of adding duration to date.
Exceptions
Exception | Condition |
OverflowExceptionOverflowExceptionOverflowException | An overflow error occurred. |