% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dm_sea.R
\name{dmea_time_filter_index}
\alias{dmea_time_filter_index}
\title{Filter timestamps by calendar year and day-of-year}
\usage{
dmea_time_filter_index(times, Year = NULL, DOY = NULL)
}
\arguments{
\item{times}{A vector of date-time values.}

\item{Year}{Optional numeric vector of calendar years to retain.}

\item{DOY}{Optional numeric vector of length one or two. If length one, only
that day-of-year is retained. If length two, the inclusive DOY range is
retained. If the first value is larger than the second, the range is treated
as a cross-year DOY window, for example \code{DOY = c(300, 60)} keeps
\code{DOY >= 300} or \code{DOY <= 60}.}
}
\value{
A logical vector with the same length as \code{times}.
}
\description{
Internal helper used by the SEA functions to select timestamps by calendar
year and day-of-year.
}
\keyword{internal}
