ExKcal.Recipe.Time (ExKcal v0.0.8)

Amount of time to be included in ExKcal.Recipe instructions. As hinted already, module provides structure and primitives to handle amount of time, and not the current time etc. That fact dictates names of the struct fields: hours, minutes and finally seconds.

Link to this section Summary

Types

t()

Amount of time is sum of all of the fields.

Link to this section Types

Specs

t() :: %ExKcal.Recipe.Time{
  hours: Calendar.hour(),
  minutes: Calendar.minute(),
  seconds: Calendar.second()
}

Amount of time is sum of all of the fields.