\HeaderA{Ops.Date}{Operators on the Date Class}{Ops.Date}
\aliasA{+.Date}{Ops.Date}{+.Date}
\aliasA{-.Date}{Ops.Date}{.Rdash..Date}
\keyword{utilities}{Ops.Date}
\keyword{chron}{Ops.Date}
\begin{Description}\relax
Operators for the \code{"\LinkA{Date}{Date}"} class.

There is an \code{\LinkA{Ops}{Ops}} method and specific
methods for \code{+} and \code{-} for the \code{\LinkA{Date}{Date}} class.
\end{Description}
\begin{Usage}
\begin{verbatim}
date + x
date - x
date1 lop date2
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{date}] date objects
\item[\code{date1, date2}] date objects or character vectors.  (Character
vectors are converted by \code{\LinkA{as.Date}{as.Date}}.
\item[\code{x}] a numeric vector (in days) \emph{or} an object of class
\code{"\LinkA{difftime}{difftime}"}.
\item[\code{lop}] One of \code{==}, \code{!=}, \code{<}, \code{<=}, \code{>}
or \code{>=}.
\end{ldescription}
\end{Arguments}
\begin{Examples}
\begin{ExampleCode}
(z <- Sys.Date())
z + 10
z < c("2006-06-01", "2007-01-01", "2010-01-01")
\end{ExampleCode}
\end{Examples}

