int_end {lubridate} | R Documentation |
Note that changing the end date of an interval will change the length of the interval, since the start date will remain the same.
int_end(int)
int |
An interval object |
A POSIXct date object when used as an accessor. Nothing when used as a settor
int_start
, int_shift
, int_flip
,
int_length
int <- interval(ymd("2001-01-01"), ymd("2002-01-01")) # 2001-01-01 UTC--2002-01-01 UTC int_end(int) # "2002-01-01 UTC" int_end(int) <- ymd("2002-06-01") int # 2001-01-01 UTC--2002-06-01 UTC