DateSpan Class

Definition

A date range. For example, between '2022-12-23' and '2023-01-05'.

public class DateSpan
type DateSpan = class
Public Class DateSpan
Inheritance
DateSpan

Constructors

Name Description
DateSpan()

Initializes a new instance of the DateSpan class.

DateSpan(DateTime, DateTime)

Initializes a new instance of the DateSpan class.

Properties

Name Description
End

Gets or sets the end date of the date span.

Start

Gets or sets the start date of the date span.

Methods

Name Description
Validate()

Validate the object.

Applies to