==,CFtime,CFtime-method {CFtime}R Documentation

Equivalence of CFtime objects

Description

This operator can be used to test if two CFtime objects represent the same CF-convention time coordinates. Two CFtime objects are considered equivalent if they have an equivalent datum and the same offsets.

Usage

## S4 method for signature 'CFtime,CFtime'
e1 == e2

Arguments

e1, e2

CFtime. Instances of the CFtime class.

Value

TRUE if the CFtime objects are equivalent, FALSE otherwise.

Examples

e1 <- CFtime("days since 1850-01-01", "gregorian", 0:364)
e2 <- CFtime("days since 1850-01-01 00:00:00", "standard", 0:364)
e1 == e2

[Package CFtime version 1.4.0 Index]