date.functions: Functions to manage dates

Description Usage Arguments Details See Also

Description

Functions to manage dates, useful to read GrADS ctl+bin files.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

date

date string in the format used in GrADS ctl files ('1jan2001')

Date

object of class Date

from

first day, in the format used in GrADS ctl files ('1jan2001')

to

last day, in the format used in GrADS ctl files ('1jan2001')

by

time step

dates

character vector of dates in the format 'yyyymmdd'

years

numerical vector of years

Details

The functions it2en.date and en2it.date translate a date, formatted as in GrADS ctl files, from Italian to English and vice versa, respectively, while date.lang checks if the system language is Italian or English.

The functions date2Date and Date2date convert a string in the format used in GrADS ctl files ('1jan2001') to an object of class Date and vice versa, respectively.

seq.date builds a sequence of dates in the format used in GrADS ctl files ('1jan2001').

format.dates prepares dates in a way which can be useful for an axis.

ITholidays returns Italian holidays for given years.

See Also

holiday, seq.dates, Date,


jobonaf/pesco documentation built on May 19, 2019, 2:58 p.m.