citHeader("To cite in publications use:")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("chron")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s.", meta$Version)

citEntry(entry = "Manual",
	 title = {
             paste("chron: Chronological Objects which Can Handle",
                   "Dates and Times")
         },
	 author = c(
           person("David", "James",
                  email = "dj@research.bell-labs.com"),
           person("Kurt", "Hornik",
                  email = "Kurt.Hornik@R-project.org")),
         year = year,
	 note = {
             paste(note,
                   "S original by David James, R port by Kurt Hornik.")
         },
	 url = "https://CRAN.R-project.org/package=chron",
	 textVersion = {
             paste("David James and Kurt Hornik",
	           sprintf("(%s).", year),
                   "chron: Chronological Objects which Can Handle",
                   "Dates and Times.",
		   note)
         })
