ICal.Duration
(iCal v1.0.0)
View Source
An iCalendar duration, representing the numbers days, weeks, and/or a measure time over which something occurs or lasts.
See: https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.2.5
Summary
Types
@type duration_time() :: {hours :: non_neg_integer(), minutes :: non_neg_integer(), seconds :: non_neg_integer()}
@type t() :: %ICal.Duration{ days: non_neg_integer(), positive: bool(), time: duration_time(), weeks: non_neg_integer() }