View Source
Tempus
Easy handling of time periods aka slots, like business days, holidays, etc.
installation
Installation
def deps do
[
{:tempus, "~> 0.1"}
]
end
changelog
Changelog
0.7.2
—Slots.merge/1
0.7.1
— treat infinite slot as special not-covering anything0.7.0
—merge/2
is 6× faster,Slot.neighbour?/2
,Tempus.slice/4
,Tempus.drop_while/2
,Tempus.take_while/2
0.6.0
— compatibility with Elixir v1.14 (no greek in variables names) meh0.5.0
— stricter:telemetria
support0.4.2
— make:telemetria
dependency fully optional0.4.0
—~I
sigil to ease slots creation, wrap date/times, fancy inspect0.3.0
— drastical performance improvements, benchmarks0.2.4
— fixed bug when finding next free/busy for empty slots0.2.3
— correctly handle empty slots innext_busy/2
/next_free/2
0.2.2
—Slot.shift_tz/3
0.2.1
— accept function as well as stream inSlots.merge/2
0.2.0
— many improvements,Tempus.add/2
similar toDateTime.add/4
but considering slots