Trims the date range of a pat object to local time date boundaries which are within the range of data. This has the effect of removing partial-day data records at the start and end of the timeseries and is useful when calculating full-day statistics.
Day boundaries are calculated using the specified timezone or, if
NULL, using pat$meta$timezone.
pat_trimDate(pat = NULL, timezone = NULL)pat object.
Olson timezone used to interpret dates.
A subset of the incoming pat time series object.
(A list with meta and data dataframes.)