zcollection.merging.period.Period.from_duration#
- classmethod Period.from_duration(begin, duration)[source]#
Create a Period as [begin, begin + duration[
- Parameters:
begin (datetime64) – The beginning of the period.
duration (timedelta64) – The duration of the period.
- Returns:
The created period.
- Return type: