get_calendar: Get or Set the Default Calendar

get_calendarR Documentation

Get or Set the Default Calendar

Description

Get or Set the Default Calendar

Usage

get_calendar(...)

set_calendar(object)

## S4 method for signature 'ANY'
get_calendar(...)

## S4 method for signature 'character'
set_calendar(object)

## S4 method for signature 'missing'
set_calendar()

Arguments

...

Currently not used.

object

A character string specifying the abbreviated label of the time scale (see calendar()) or an object from which to extract the time scale.

Value

A TimeScale object.

Author(s)

N. Frerebeau

See Also

Other calendar tools: calendar(), calendar_get, convert(), gregorian, is_calendar(), julian()

Examples

## Define time scales
calendar("BP")
calendar("AD")
calendar("julian")

## Shortcuts
BP()
AD()
J()

aion documentation built on April 4, 2025, 1:53 a.m.