ESpec v1.6.0 ESpec.DatesTimes.Delegator View Source
The ESpec.DateTimes.Delegator module. Used to delegate methods to the correct protocol implementation.
Link to this section Summary
Functions
Convert a date/time value to (gregorian) microseconds (microseconds since start of year zero if gregorian)
Link to this section Functions
Link to this function
to_comparison_units(calendar_type)
View Source
to_comparison_units(ESpec.DatesTimes.Types.calendar_types()) :: non_neg_integer() | {:error, term()}
Convert a date/time value to (gregorian) microseconds (microseconds since start of year zero if gregorian)