ESpec.DatesTimes.Delegator (ESpec v1.10.0)

View Source

The ESpec.DateTimes.Delegator module. Used to delegate methods to the correct protocol implementation.

Summary

Functions

Convert a date/time value to (gregorian) microseconds (microseconds since start of year zero if gregorian)

Functions

to_comparison_units(calendar_type)

@spec 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)