Skip to content

datatypes::timeseries::TimeWindow

An object that represents a time window, defining subset/trim operations on time series. More...

#include <time_series.hpp>

Public Functions

Name
TimeWindow(const ptime & startDate, const ptime & endDate)
Tts * Trim(const Tts & timeSeries) const

Detailed Description

template <typename Tts  =TimeSeries>
class datatypes::timeseries::TimeWindow;

An object that represents a time window, defining subset/trim operations on time series.

Template Parameters:

  • T Generic type parameter, element type of the time series

Public Functions Documentation

function TimeWindow

inline TimeWindow(
    const ptime & startDate,
    const ptime & endDate
)

function Trim

inline Tts * Trim(
    const Tts & timeSeries
) const

Updated on 2022-08-21 at 18:10:33 +1000