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