stein v0.4.1 Stein.Time View Source
Helpers for dealing with time
Link to this section Summary
Functions
Determine if a time is after another time
Check if a time is before another time
Get the current time
Link to this section Functions
Link to this function
after?(time, other_time)
View Source
after?(time, other_time)
View Source
after?(DateTime.t(), DateTime.t()) :: boolean()
after?(DateTime.t(), DateTime.t()) :: boolean()
Determine if a time is after another time
Link to this function
before?(time, other_time) View Source
Check if a time is before another time
Link to this function
now()
View Source
now()
View Source
now() :: DateTime.t()
now() :: DateTime.t()
Get the current time