% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/01_time_unit.R
\name{time_unit_full}
\alias{time_unit_full}
\alias{time_unit_abbr}
\title{Time units as a string}
\usage{
time_unit_full(x, ...)

time_unit_abbr(x, ...)
}
\arguments{
\item{x}{A time granule object (e.g., \code{cal_gregorian$month(1L)})}

\item{...}{Additional arguments for methods.}
}
\value{
A string representing the time unit
}
\description{
These S7 generic functions provide the full and abbreviated names for time
units. \code{time_unit_full()} is used in messages and durations (e.g., "2 months").
\code{time_unit_abbr()} is used for tsibble index interval displays (e.g., "1M").
}
\examples{
time_unit_full(cal_gregorian$year(1L))
time_unit_abbr(cal_gregorian$year(1L))

}
