equals
Returns true if two PlainDateTime objects represent the same date and time.
Parameters
- self:PlainDateTime
- PlainDateTime
- other:PlainDateTime
- PlainDateTime
Source
Implementation
pub fn equals(self: PlainDateTime, other: PlainDateTime) bool {
return compare(self, other) == 0;
}