DateTime.equals()

Signature

boolean equals (DateTime d1, DateTime d2)

Domain

action, condition

Description

Test if the first DateTime is the same as the second DateTime.

Parameters

NameTypeDescription
d1DateTimeA DateTime (date/time) that will be compared with the second argument.
d2DateTimeA DateTime (date/time) that will be compared with the first argument.

Returns

TypeDescription
booleantrue if d1 is the same as d2, otherwise return false.

Cautions

none