# NOT RUN {
# the start and end of 2000
.parseISO8601('2000')
# the start of 2000 and end of 2001
.parseISO8601('2000/2001')
# May 1, 2000 to Dec 31, 2001
.parseISO8601('2000-05/2001')
# May 1, 2000 to end of Feb 2001
.parseISO8601('2000-05/2001-02')
# Jan 1, 2000 to Feb 29, 2000; note the truncated time on the LHS
.parseISO8601('2000-01/02')
# 8:30 to 15:00 (used in xts subsetting to extract recurring times)
.parseISO8601('T08:30/T15:00')
# }
Run the code above in your browser using DataLab