struct

TCal::Period(T)

Inherits Struct < Value < Object

An interval between two points of the same type.

Constructors

new(start : T, end __arg0 : T)
Source

Class methods

merge(periods : Array(U)) : Array(U) forall U

Returns a copy of the given array where consecutive periods of the same type that are contiguous or overlapping are merged together.

Source

Instance methods

start
Source

Nested types