fsprojects/FSharpx.Collections


Timeseries<'T>

Namespace: FSharpx.Collections.Experimental

Constructors

ConstructorDescription
new(startDate, granularity, size)
Signature: (startDate:DateTimeOffset * granularity:TimeSpan * size:int) -> Timeseries<'T>

CompiledName: .ctor

new(startDate, granularity, values)
Signature: (startDate:DateTimeOffset * granularity:TimeSpan * values:seq<'T>) -> Timeseries<'T>

CompiledName: .ctor

new(...)
Signature: (startDate:DateTimeOffset * granularity:TimeSpan * position:int * values:seq<'T>) -> Timeseries<'T>

CompiledName: .ctor

Instance members

Instance memberDescription
Advance(toDate)
Signature: toDate:DateTimeOffset -> DateTimeOffset

Advances the start date of the Timeseries to toDate. Throws an ArgumentException if toDate is before the Timeseries start date.

AsTimeseries(startDate)
Signature: (startDate:DateTimeOffset option) -> (DateTimeOffset * 'T) []
Buffer
Signature: RingBuffer<'T>

CompiledName: get_Buffer

Clone()
Signature: unit -> Timeseries<'T>
Granularity
Signature: TimeSpan

CompiledName: get_Granularity

Insert(...)
Signature: (op:('T -> 'T -> 'T) * startDate:DateTimeOffset * gran:TimeSpan * dataToInsert:seq<'T>) -> unit
Merge(f, ts)
Signature: (f:('T -> 'T -> 'T) * ts:Timeseries<'T>) -> unit
Series
Signature: (DateTimeOffset * 'T) []

CompiledName: get_Series

StartDate()
Signature: unit -> DateTimeOffset

CompiledName: set_StartDate

StartDate()
Signature: unit -> unit

CompiledName: get_StartDate

ToGranularity(granularity)
Signature: granularity:TimeSpan -> Timeseries<'T>
TryAdvance(toDate)
Signature: toDate:DateTimeOffset -> DateTimeOffset option

Tries to advance the start date of the Timeseries to toDate. Returns None if toDate is before the start date of the Timeseries, otherwise Some containing the start date of the Timeseries.

Static members

Static memberDescription
Empty(startDate, granularity, size)
Signature: (startDate:DateTimeOffset * granularity:TimeSpan * size:int) -> Timeseries<'?10336>
Fork me on GitHub