Show / Hide Table of Contents

Class DateTimeRange

Represents a period of time between two DateTime values.

Inheritance
Object
Range<DateTime>
DateTimeRange
Implements
IEqualityComparer<Range<DateTime>>
Inherited Members
Range<DateTime>.Start
Range<DateTime>.End
Range<DateTime>.Duration
Range<DateTime>.ToString(String, IFormatProvider)
Range<DateTime>.Equals(Range<DateTime>, Range<DateTime>)
Range<DateTime>.GetHashCode(Range<DateTime>)
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class DateTimeRange : Range<DateTime>, IEqualityComparer<Range<DateTime>>

Constructors

| Improve this Doc View Source

DateTimeRange(DateTime, DateTime)

Initializes a new instance of the DateTimeRange struct.

Declaration
public DateTimeRange(DateTime start, DateTime end)
Parameters
Type Name Description
DateTime start

The start date of a time range.

DateTime end

The end date of a time range.

Methods

| Improve this Doc View Source

ToString()

Returns a String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
Object.ToString()

Implements

System.Collections.Generic.IEqualityComparer<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX