is an option to TimeSeriesWindow that specifies whether the endpoints in the time window should be included.
IncludeWindowTimes
is an option to TimeSeriesWindow that specifies whether the endpoints in the time window should be included.
Details
- IncludeWindowTimes is typically used to determine whether the time window bounds are included or not.
- Possible settings include:
-
Automatic automatically determine whether to include window times True|False include or exclude window endpoints {True|False,True|False} specify inclusion separately for beginning and end times
Examples
open all close allBasic Examples (2)
Take a list of time-value pairs to be interpreted as data for a time series:
ts = {{1, 10}, {2, 20}, {3, 30}, {4, 40}};Specify that both endpoints of the time window should be included:
TimeSeriesWindow[ts, {1.5, 3.5}, IncludeWindowTimes -> True]TimeSeriesWindow[ts, {1.5, 3.5}, IncludeWindowTimes -> False]Include only the right endpoint:
TimeSeriesWindow[ts, {1.5, 3.5}, IncludeWindowTimes -> {False, True}]Construct an event series from a list of time-value pairs:
es = EventSeries[{{1, 10}, {2, 20}, {3, 30}, {4, 40}}]Include the endpoints of the window, returning missing values because they are not events of the series:
TimeSeriesWindow[es, {1.5, 3.5}, IncludeWindowTimes -> True]//NormalProperties & Relations (1)
If the endpoints of the time window are explicit timestamps of the series, they will be always included:
ts = TimeSeries[{{1, 10}, {2, 20}, {3, 30}, {4, 40}}]TimeSeriesWindow[ts, {2, 4}]//NormalNone of the possible values of the IncludeWindowTimes option will change the result:
TimeSeriesWindow[ts, {2, 4}, IncludeWindowTimes -> False]//NormalHistory
Text
Wolfram Research (2014), IncludeWindowTimes, Wolfram Language function, https://reference.wolfram.com/language/ref/IncludeWindowTimes.html.
CMS
Wolfram Language. 2014. "IncludeWindowTimes." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IncludeWindowTimes.html.
APA
Wolfram Language. (2014). IncludeWindowTimes. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IncludeWindowTimes.html
BibTeX
@misc{reference.wolfram_2026_includewindowtimes, author="Wolfram Research", title="{IncludeWindowTimes}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/IncludeWindowTimes.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_includewindowtimes, organization={Wolfram Research}, title={IncludeWindowTimes}, year={2014}, url={https://reference.wolfram.com/language/ref/IncludeWindowTimes.html}, note=[Accessed: 13-June-2026]}