timedef: Time Class Internal Functions

timeDefaultsR Documentation

Time Class Internal Functions

Description

Creates a list of defaults for reading/printing times and dates.

Usage

timeDefaults()

Details

The list components are read from their corresponding options, which are the component names with "time." prepended. For example, the weekday names come from timeDateOptions("time.day.name").

Value

returns a list containing the following components:

month.name

the names of the calendar months.

month.abb

the abbreviations for the calendar months.

day.name

the names of the weekdays.

day.abb

the abbreviations for the weekdays.

am.pm

strings for printing/reading AM and PM.

century

the first year of 100-year stretch to use for the current century in reading/printing dates, e.g. 1900.

zone

the time zone.

See Also

timeDateOptions, timeDate class.

Examples

timeDefaults() 

splusTimeDate documentation built on Sept. 13, 2024, 1:10 a.m.