DateTimeWithZone MethodsDateTimeWithZone MethodsDateTimeWithZone Methods

The DateTimeWithZoneDateTimeWithZoneDateTimeWithZone type exposes the following members.

Methods

 MethodDescription
Public methodstaticAdd (DateTimeWithZone, DayTimeDuration)Add (DateTimeWithZone, DayTimeDuration)Add (DateTimeWithZone, DayTimeDuration) Adds a DayTimeDurationDayTimeDurationDayTimeDuration to a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticAdd (DateTimeWithZone, YearMonthDuration)Add (DateTimeWithZone, YearMonthDuration)Add (DateTimeWithZone, YearMonthDuration) Adds a YearMonthDurationYearMonthDurationYearMonthDuration to a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticAdd (DayTimeDuration, DateTimeWithZone)Add (DayTimeDuration, DateTimeWithZone)Add (DayTimeDuration, DateTimeWithZone) Adds a DayTimeDurationDayTimeDurationDayTimeDuration to a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticAdd (YearMonthDuration, DateTimeWithZone)Add (YearMonthDuration, DateTimeWithZone)Add (YearMonthDuration, DateTimeWithZone) Adds a YearMonthDurationYearMonthDurationYearMonthDuration to a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodAdjustToTimeZoneAdjustToTimeZoneAdjustToTimeZone Adjusts a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone structure to a specific time zone, or to no time zone.
Public methodstaticCompareCompareCompare Compares a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone with another DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodEquals (object)Equals (Object)Equals (object^) Determines whether this instance is equal to a specified object. (Overrides ValueType.EqualsValueType.EqualsValueType::Equals)
Public methodEquals (DateTimeWithZone)Equals (DateTimeWithZone)Equals (DateTimeWithZone) Indicates whether this instance is equal to another DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticEquals (DateTimeWithZone, DateTimeWithZone, TimeZone)Equals (DateTimeWithZone, DateTimeWithZone, TimeZone)Equals (DateTimeWithZone, DateTimeWithZone, TimeZone) Indicates whether a specified DateTimeWithZoneDateTimeWithZoneDateTimeWithZone is equal to another specified DateTimeWithZoneDateTimeWithZoneDateTimeWithZone given the supplied implicit time zone.
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetHashCodeGetHashCodeGetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodstaticParseParseParse Converts a lexical representation of an xs:dateTime to its DateTimeWithZoneDateTimeWithZoneDateTimeWithZone equivalent.
Public methodstaticSubtract (DateTimeWithZone, DateTimeWithZone)Subtract (DateTimeWithZone, DateTimeWithZone)Subtract (DateTimeWithZone, DateTimeWithZone) Subtracts a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone from another DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticSubtract (DateTimeWithZone, DateTimeWithZone, TimeZone)Subtract (DateTimeWithZone, DateTimeWithZone, TimeZone)Subtract (DateTimeWithZone, DateTimeWithZone, TimeZone) Subtracts a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone value from a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone value in the given time zone.
Public methodstaticSubtract (DateTimeWithZone, DayTimeDuration)Subtract (DateTimeWithZone, DayTimeDuration)Subtract (DateTimeWithZone, DayTimeDuration) Subtracts a DayTimeDurationDayTimeDurationDayTimeDuration from a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone.
Public methodstaticSubtract (DateTimeWithZone, YearMonthDuration)Subtract (DateTimeWithZone, YearMonthDuration)Subtract (DateTimeWithZone, YearMonthDuration) Subtracts a YearMonthDurationYearMonthDurationYearMonthDuration from a DateTimeWithZoneDateTimeWithZoneDateTimeWithZone
Public methodToDateTimeToDateTimeToDateTime Returns the value as a DateTimeDateDateTime instance.
Public methodToString ()ToString ()ToString () Returns the canonical lexical representation of this DateTimeWithZoneDateTimeWithZoneDateTimeWithZone. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)
Public methodToString (string, CultureInfo)ToString (String, CultureInfo)ToString (String^, CultureInfo^) Converts the value of the current DateTimeWithZoneDateTimeWithZoneDateTimeWithZone object to its equivalent string representation using the specified format and culture-specific format information.
Public methodstaticTryParseTryParseTryParse Converts a lexical representation of an xs:dateTime to its DateTimeWithZoneDateTimeWithZoneDateTimeWithZone equivalent. A return value indicates whether the conversion succeeded or failed.

Top