Table of Contents

Class FromToTSHDC<T>

Namespace
SunamoDevCode._public.SunamoData.Data
Assembly
SunamoDevCode.dll

Represents a from-to range using long-backed values, supporting DateTime or integer range semantics.

public class FromToTSHDC<T>

Type Parameters

T

Type of the range values (typically int or long).

Inheritance
FromToTSHDC<T>
Derived
Inherited Members
Extension Methods

Constructors

FromToTSHDC()

Initializes a new FromToTSHDC, setting ftUse based on the generic type T.

public FromToTSHDC()

FromToTSHDC(T, T, FromToUseDC)

A3 true = DateTime A3 False = None

public FromToTSHDC(T from, T to, FromToUseDC ftUse = FromToUseDC.DateTime)

Parameters

from T

Start of the range.

to T

End of the range.

ftUse FromToUseDC

How to interpret the range (DateTime or None).

Fields

empty

Whether this range is empty (no values set).

public bool empty

Field Value

bool

fromL

Internal long representation of the "from" value.

protected long fromL

Field Value

long

ftUse

Determines how this from-to range should be interpreted (DateTime or None).

public FromToUseDC ftUse

Field Value

FromToUseDC

toL

Internal long representation of the "to" value.

protected long toL

Field Value

long

Properties

FromL

Gets the raw long value of the "from" boundary.

public long FromL { get; }

Property Value

long

ToL

Gets the raw long value of the "to" boundary.

public long ToL { get; }

Property Value

long

from

Gets or sets the start of the range, stored internally as a long.

public T from { get; set; }

Property Value

T

to

Gets or sets the end of the range, stored internally as a long.

public T to { get; set; }

Property Value

T