View Source Ash.Type.DurationName (ash v3.4.36)

An interval of time, primarily meant to be used in expression functions

Valid intervals are (as strings or atoms): [:year, :month, :week, :day, :hour, :minute, :second, :millisecond, :microsecond]

Summary

Types

@type t() ::
  :microsecond
  | :millisecond
  | :second
  | :minute
  | :hour
  | :day
  | :week
  | :month
  | :year

Functions