View source: R/class_partial_time_ops.R
Ops.partial_time | R Documentation |
Handler for Ops generics for partial_time objects
## S3 method for class 'partial_time'
Ops(e1, e2)
e1 |
objects |
e2 |
objects |
partial_time
objects only implement binary operators ==
and !=
. For
other operators, partial_time
s are first converted to partial_timespan
s
for operator evaluation.
the binary operator result of partial_time
e1
with e2
. See
Details for more information on operator behaviors.
possibly definitely
# when assume_tz "GMT" when assume_tz NA
# --------------------------- ---------------------------
# raw possibly definitely raw possibly definitely
# ----- --------- ---------- ----- --------- -----------
# 1998 < 1999 TRUE TRUE TRUE NA TRUE FALSE
# 1998 < 1997 FALSE FALSE FALSE NA TRUE FALSE
# 1999 < 1999 NA TRUE FALSE NA TRUE FALSE
# 1998 < 1999/1/3 TRUE TRUE TRUE TRUE TRUE TRUE
parttime(1998) < parttime(1999)
parttime(1998) < parttime(1997)
parttime(1999) < parttime(1999)
parttime(1998) < parttime(1999, 1, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.