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

Syntax

Public Shared Operator +( _
    duration As DayTimeDuration, _
    date As DateWithZone _
) As DateWithZone
public static DateWithZone operator +(
    DayTimeDuration duration,
    DateWithZone date
)
public:
static DateWithZone operator +(
    DayTimeDuration duration, 
    DateWithZone date
)
 

Return Value

Type: XmlPrime.DateWithZoneXmlPrime.DateWithZoneXmlPrime::DateWithZone

The result of adding duration to date.

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.