Click or drag to resize

TimeSpanEx Methods

The DateTimeTickSpacingTimeSpanEx type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd Adds the specified span to the specified date-time value.
Public methodStatic memberDivide Divides one time span expression by another.
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(DateTimeTickSpacingTimeSpanEx) Determines whether this instance is equal to the specified value.
Public methodStatic memberFromDays Creates an instance representing a number of whole days.
Public methodStatic memberFromHours Creates an instance representing a number of whole hours.
Public methodStatic memberFromMicroSeconds Creates an instance representing a number of whole microseconds.
Public methodStatic memberFromMilliSeconds Creates an instance representing a number of whole milliseconds.
Public methodStatic memberFromMinutes Creates an instance representing a number of whole minutes.
Public methodStatic memberFromMonths Creates an instance representing a number of whole months.
Public methodStatic memberFromSeconds Creates an instance representing a number of whole seconds.
Public methodStatic memberFromTicks Creates an instance from ticks.
Public methodStatic memberFromTimeSpan Creates an instance from a TimeSpan.
Public methodStatic memberFromYears Creates an instance representing a number of whole years.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRoundDown Rounds the specified date-time down to the previous matching boundary.
Public methodRoundUp Rounds the specified date-time up to the next matching boundary.
Public methodStatic memberSubtract Subtracts the specified span from the specified date-time value.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
See Also