Skip to content
This repository
tree: 91bd4ee969
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 28 lines (26 sloc) 0.549 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
\name{int_length}
\alias{int_length}
\title{Get the length of an interval in seconds}
\usage{
  int_length(int)
}
\arguments{
  \item{int}{An interval object}
}
\value{
  numeric The length of the interval in seconds. A negative
  number connotes a negative interval
}
\description{
  Get the length of an interval in seconds
}
\examples{
int <- new_interval(ymd("2001-01-01"), ymd("2002-01-01"))
# 2001-01-01 UTC--2002-01-01 UTC
int_length(int)
# 31536000
}
\seealso{
  \code{\link{int_start}}, \code{\link{int_shift}},
  \code{\link{int_flip}}
}

Something went wrong with that request. Please try again.