File: examples.r

package info (click to toggle)
its 1.1.8-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 200 kB
  • sloc: makefile: 1
file content (7 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
#a cautionary tale
newIts(start="2003-10-28",end="2004-10-05",by="month") #OK
newIts(start="2003-10-30",end="2004-10-05",by="month") #unexpected
newIts(start="2003-10-31",end="2004-10-05",by="month") #unexpected
newIts(start="2003-09-31",end="2004-10-05",by="month") #unexpected
newIts(start="2003-09-31",end="2005-05-05",by="day",period="month",find="last",extract=TRUE) #unexpected
newIts(start="2003-09-31",end="2005-05-05",by="DSTday",period="month",find="last",extract=TRUE) #OK