We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcc27c2 commit 13baeb5Copy full SHA for 13baeb5
lib/elixir/lib/calendar/datetime.ex
@@ -13,8 +13,8 @@ defmodule DateTime do
13
14
Remember, comparisons in Elixir using `==/2`, `>/2`, `</2` and friends
15
are structural and based on the DateTime struct fields. For proper
16
- comparison between datetimes, use the `compare/2` function. The
17
- existence of the `compare/2` function in this module also allows
+ comparison between datetimes, use the `compare/2`, `after?/2` and `before?/2` functions.
+ The existence of the `compare/2` function in this module also allows
18
using `Enum.min/2` and `Enum.max/2` functions to get the minimum and
19
maximum datetime of an `Enum`. For example:
20
0 commit comments