TimeWithZone.Subtraction Operator (TimeWithZone, DayTimeDuration)TimeWithZone.Subtraction Operator (TimeWithZone, DayTimeDuration)TimeWithZone::Subtraction Operator (TimeWithZone, DayTimeDuration)
Subtracts a DayTimeDurationDayTimeDurationDayTimeDuration from a TimeWithZoneTimeWithZoneTimeWithZone.
Syntax
Public Shared Operator -( _ time As TimeWithZone, _ duration As DayTimeDuration _ ) As TimeWithZone
public static TimeWithZone operator -( TimeWithZone time, DayTimeDuration duration )
public: static TimeWithZone operator -( TimeWithZone time, DayTimeDuration duration )
Parameters
- time
Type: XmlPrime.TimeWithZoneXmlPrime.TimeWithZoneXmlPrime::TimeWithZone
The TimeWithZoneTimeWithZoneTimeWithZone to subtract from.
- duration
Type: XmlPrime.DayTimeDurationXmlPrime.DayTimeDurationXmlPrime::DayTimeDuration
The DayTimeDurationDayTimeDurationDayTimeDuration to subtract.
Return Value
Type: XmlPrime.TimeWithZoneXmlPrime.TimeWithZoneXmlPrime::TimeWithZone
The TimeWithZoneTimeWithZoneTimeWithZone that is the the result of subtracting duration from time.