DateWithZone.Addition Operator (YearMonthDuration, DateWithZone)DateWithZone.Addition Operator (YearMonthDuration, DateWithZone)DateWithZone::Addition Operator (YearMonthDuration, DateWithZone)

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
)
 

Return Value

Type: XmlPrime.DateWithZoneXmlPrime.DateWithZoneXmlPrime::DateWithZone

The result of adding duration to date.

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.