stein v0.5.0 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?(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

Get the current time