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
TType 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
fromTStart of the range.
toTEnd of the range.
ftUseFromToUseDCHow to interpret the range (DateTime or None).
Fields
empty
Whether this range is empty (no values set).
public bool empty
Field Value
fromL
Internal long representation of the "from" value.
protected long fromL
Field Value
ftUse
Determines how this from-to range should be interpreted (DateTime or None).
public FromToUseDC ftUse
Field Value
toL
Internal long representation of the "to" value.
protected long toL
Field Value
Properties
FromL
Gets the raw long value of the "from" boundary.
public long FromL { get; }
Property Value
ToL
Gets the raw long value of the "to" boundary.
public long ToL { get; }
Property Value
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