trendminer.time_period module

This module only contains the utility class TimePeriod

class trendminer.time_period.TimePeriod(start_date: datetime.datetime, end_date: datetime.datetime)

Bases: object

TimePeriod is used to present a period in time with a designated start and end datetime.datetime

end_date()

Retrieve the end_date provided at initialisation time

Returns

The end datetime.datetime

start_date()

Retrieve the start_date provided at initialisation time

Returns

The start datetime.datetime