is_this_a_dst_night: Check whether the night starting on a calendar date has DST.

Description Usage Arguments Value Examples

View source: R/is_this_a_dst_night.R

Description

Tests whether the night that follows the input calendar date is a night with day saving time (DST) and on what hour the time moved.

Usage

1
  is_this_a_dst_night(calendardate=c(),tz="Europe/London")

Arguments

calendardate

Character in the format dd/mm/yyyy

tz

Time zone in "Europe/London" format.

Value

dst_night_or_not

If value=0 no DST, if value=1 time moved forward, if value=-1 time moved forward

dsthour

Either the double hour or the hour that was skipped, this differs between countries

Examples

1
  test4dst = is_this_a_dst_night("23/03/2014",tz="Europe/London")

PeteJWatson/ggircal documentation built on Nov. 24, 2021, 11:14 a.m.