Click or drag to resize
DateSpan Methods

The DateSpan type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from ViewModelBase.)
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodContains(DateTime)Overloaded.
Determines whether DateSpan contains DateTime.
(Defined by DateSpanExtensions.)
Public Extension MethodContains(IDateSpan)Overloaded.
Determines whether DateSpan contains another DateSpan.
(Defined by DateSpanExtensions.)
Public Extension MethodDuration
Gets the duration of the specified date span.
(Defined by DateSpanExtensions.)
Public Extension MethodIntersectsWith
Checks whether do two spans intersect with each other or not.
(Defined by DateSpanExtensions.)
Public Extension MethodTranslate
Translates a DateSpan with a specified TimeSpan.
(Defined by DateSpanExtensions.)
Public Extension MethodValidate
Validates the specified date span.
(Defined by DateSpanExtensions.)
Top
See Also