DateTimeOffset Operators

 

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticAddition(DateTimeOffset, TimeSpan)

Adds a specified time interval to a DateTimeOffset object that has a specified date and time, and yields a DateTimeOffset object that has new a date and time.

System_CAPS_puboperatorSystem_CAPS_staticEquality(DateTimeOffset, DateTimeOffset)

Determines whether two specified DateTimeOffset objects represent the same point in time.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(DateTimeOffset, DateTimeOffset)

Determines whether one specified DateTimeOffset object is greater than (or later than) a second specified DateTimeOffset object.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(DateTimeOffset, DateTimeOffset)

Determines whether one specified DateTimeOffset object is greater than or equal to a second specified DateTimeOffset object.

System_CAPS_puboperatorSystem_CAPS_staticImplicit(DateTime to DateTimeOffset)

Defines an implicit conversion of a DateTime object to a DateTimeOffset object.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DateTimeOffset, DateTimeOffset)

Determines whether two specified DateTimeOffset objects refer to different points in time.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(DateTimeOffset, DateTimeOffset)

Determines whether one specified DateTimeOffset object is less than a second specified DateTimeOffset object.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(DateTimeOffset, DateTimeOffset)

Determines whether one specified DateTimeOffset object is less than a second specified DateTimeOffset object.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(DateTimeOffset, DateTimeOffset)

Subtracts one DateTimeOffset object from another and yields a time interval.

System_CAPS_puboperatorSystem_CAPS_staticSubtraction(DateTimeOffset, TimeSpan)

Subtracts a specified time interval from a specified date and time, and yields a new date and time.

Return to top
Show: