Ops.date_xx {dint} | R Documentation |
Comparison Operators for date_xx
## S3 method for class 'date_xx'
Ops(e1, e2)
e1, e2 |
Objects with the same |
a logical
scalar
date_yq(2015, 1) < date_yq(2015, 2)
# comparison with integers is ok
date_yq(2015, 1) < 20152
# but two different date_xx cannot be compared
try(date_yq(2015, 1) < date_ym(2015, 2))