abstract struct TCal::Period(T)
- TCal::Period(T)
- Struct
- Value
- Object
Overview
An interval between two points of the same type.
Direct Known Subclasses
Defined in:
t_cal/period.crConstructors
Class Method Summary
-
.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.
Instance Method Summary
Constructor Detail
Class Method Detail
def self.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.