Class DateTimeRange
Inheritance
System.Object
DateTimeRange
Implements
System.IEquatable<
Range<
System.DateTime>>
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class DateTimeRange : Range<DateTime>, IEquatable<Range<DateTime>>, IEquatable<DateTimeRange>, IDeepCloneable<DateTimeRange>, IDeepCloneable
Constructors
DateTimeRange()
Declaration
DateTimeRange(Nullable<DateTime>, Nullable<DateTime>)
Declaration
public DateTimeRange(Nullable<DateTime> from, Nullable<DateTime> to)
Parameters
Type |
Name |
Description |
System.Nullable<System.DateTime> |
from |
|
System.Nullable<System.DateTime> |
to |
|
Methods
DeepClone()
Declaration
public DateTimeRange DeepClone()
Returns
Equals(DateTimeRange)
Declaration
public bool Equals(DateTimeRange other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(DateTimeRange, DateTimeRange)
Declaration
public static bool Equals(DateTimeRange left, DateTimeRange right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
NineDigit.eKasa.Range<System.DateTime>.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
NineDigit.eKasa.Range<System.DateTime>.GetHashCode()
Operators
Equality(DateTimeRange, DateTimeRange)
Declaration
public static bool operator ==(DateTimeRange left, DateTimeRange right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(DateTimeRange, DateTimeRange)
Declaration
public static bool operator !=(DateTimeRange left, DateTimeRange right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IDeepCloneable.DeepClone()
Declaration
object IDeepCloneable.DeepClone()
Returns
Type |
Description |
System.Object |
|
Implements
System.IEquatable<>
System.IEquatable<>