Table of Contents

Class DateTimeList

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

A list of Date/Time values

public class DateTimeList
Inheritance
object
DateTimeList

Properties

Count

public int Count { get; }

Property Value

int

this[int]

public DateTime this[int index] { get; }

Parameters

NameTypeDescription
index int

Property Value

DateTime

Methods

Add(DateTime)

Adds a value to the list only if it is not already in the list.

public bool Add(DateTime value)

Parameters

NameTypeDescription
value DateTime

Returns

bool

True if the value was added, or False if it was already in the list.

Clear()

public void Clear()

Contains(DateTime)

public bool Contains(DateTime value)

Parameters

NameTypeDescription
value DateTime

Returns

bool

CopyFrom(DateTimeList)

public void CopyFrom(DateTimeList source)

Parameters

NameTypeDescription
source DateTimeList

Remove(DateTime)

public void Remove(DateTime value)

Parameters

NameTypeDescription
value DateTime

RemoveAt(int)

public void RemoveAt(int index)

Parameters

NameTypeDescription
index int

Sort()

public void Sort()