ShellBrowser .Net Edition
DateTimeInterval Class
NamespacesJam.ShellDateTimeInterval
A class representing datetime intervals. The implementation supports closed intervals with an upper and lower a bound, as well as open intervals describing a point in time to search after or before it.
Declaration Syntax
C#Visual BasicVisual C++
public class DateTimeInterval
Public Class DateTimeInterval
public ref class DateTimeInterval
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DateTimeInterval(DateTime, DateTime)
Instantiates a new DateInterval with both bounds specified.

DateTimeInterval(DateTime, Boolean)
Instantiates an open DateInterval. If 'after' is true, returns true for all all time points after the specified p_Time. If 'after' is false, returns true for all all time points that are before the p_Time specified.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsInInterval(DateTime)
Checks whether the time given as a parameter is within the interval specified by this DateInterval instance.

Max
The right bound of the DateInterval. To keep the bounds consistent if Max is set to a time point before Min, the bounds are switched.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Min
The left bound of the DateInterval To keep the bounds consistent if Min is set to a time point after Max, the bounds are switched.

SetInterval(Nullable<(Of <(DateTime>)>), Nullable<(Of <(DateTime>)>))
p_MinTime and p_MaxTime cannot be set both to null. p_MinTime must be a time point before p_MaxTime.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
DateTimeInterval

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)