boolean before (DateTime d1, DateTime d2)
boolean before (DateTime d1, DateTime d2)
Name | Type | Description |
---|---|---|
d1 | DateTime | A DateTime (date/time) that will be compared with the second argument. |
d2 | DateTime | A DateTime (date/time) that will be compared with the first argument. |
Type | Description |
---|---|
boolean | true if d1 comes before d2 , otherwise return false. |