Table of Contents

Class FromToTSHGoogleSheets<T>

Namespace
SunamoGoogleSheets._public.SunamoData.Data
Assembly
SunamoGoogleSheets.dll

Base class for representing a range (from-to) of values with type conversion support

public class FromToTSHGoogleSheets<T>

Type Parameters

T

The type of values in the range

Inheritance
FromToTSHGoogleSheets<T>
Derived
Inherited Members
Extension Methods

Constructors

FromToTSHGoogleSheets()

Initializes a new instance of the FromToTSHGoogleSheets class

public FromToTSHGoogleSheets()

FromToTSHGoogleSheets(T, T, FromToUseGoogleSheets)

Initializes a new instance with from and to values

public FromToTSHGoogleSheets(T fromValue, T toValue, FromToUseGoogleSheets timestampFormat = FromToUseGoogleSheets.DateTime)

Parameters

fromValue T

The from value

toValue T

The to value

timestampFormat FromToUseGoogleSheets

The format to use when converting timestamps

Properties

Empty

Gets or sets a value indicating whether this range is empty

public bool Empty { get; set; }

Property Value

bool

From

Gets or sets the from value

public T From { get; set; }

Property Value

T

FromL

Gets the from value as a long

public long FromL { get; }

Property Value

long

TimestampFormat

Gets or sets the format to use when converting to/from timestamps

public FromToUseGoogleSheets TimestampFormat { get; set; }

Property Value

FromToUseGoogleSheets

To

Gets or sets the to value

public T To { get; set; }

Property Value

T

ToL

Gets the to value as a long

public long ToL { get; }

Property Value

long