timesAroundClockChange: Times Around Clock Change in Central Europe

Description Usage Arguments Value Examples

View source: R/timesAroundClockChange.R

Description

Sequence of Times Around Clock Change in Central Europe

Usage

1
2
3
4
5
6
timesAroundClockChange(
  year = 2000,
  normalToSummer = TRUE,
  step_s = 1800,
  length.out = 5
)

Arguments

year

year for which to demonstrate the switch between Central European Time (CET) and Central European Summer Time (CEST)

normalToSummer

TRUE: CET to CEST, FALSE: CEST to CET

step_s

time step in seconds

length.out

number of time objects in returned vector

Value

vector of POSIXct objects with length length.out

Examples

1
2
3
4
timesAroundClockChange(2019, normalToSummer = TRUE)
timesAroundClockChange(2019, normalToSummer = FALSE)
timesAroundClockChange(2019, TRUE, step_s = 1, length.out = 3)
timesAroundClockChange(2019, FALSE, step_s = 1, length.out = 3)

KWB-R/kwb.datetime documentation built on July 9, 2021, 10:28 p.m.