Learn R Programming

SunCalcMeeus (version 0.1.2)

format.tod_time: Encode in a Common Format

Description

Format a tod_time object into a character string for pretty printing.

Usage

# S3 method for tod_time
format(x, ..., sep = ":")

Value

A character string with the time formatted as "HH:MM:SS", where ":" is the argument passed to sep.

Arguments

x

an R object

...

ignored

sep

character used as separator

See Also

Other Time of day functions: as_tod(), print.tod_time()