ESpec v1.7.0 ESpec.DatesTimes.DateTimeProtocol protocol View Source
This protocol defines the API for functions which take a Date
,
NaiveDateTime
, or DateTime
as input.
Link to this section Summary
Functions
Convert a date/time value to gregorian microseconds (microseconds since the start of year zero)
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
to_comparison_units(datetime) View Source
Convert a date/time value to gregorian microseconds (microseconds since the start of year zero)