print.datetimes {ssBase}R Documentation

Method for Generic Function

Description

This function provides a method for the generic function print to use on objects of class "datetimes".

Usage

## S3 method for class 'datetimes':
print(x, ... )

Arguments

x a datetimes object.
... other options for printing "datetimes" objects.

Value

Writes out the vector in the format DDMMMYYYY hh:mm:ss.s, where the number of decimal places for seconds is specified by the attribute "dp.second" in the "datetimes" object.

See Also

datetimes, format.datetimes, years1, months1, days1, hrs.mins.secs

Examples

x <- datetimes(1998, 8, 3, 12, 55, 33, dp.second=0)
print(x)

[Package ssBase version 2.2-1 Index]